An open API service indexing awesome lists of open source software.

https://github.com/databiosphere/terra-axon-server

Backend-for-frontend server for the Terra Axon UI and other Terra clients
https://github.com/databiosphere/terra-axon-server

Last synced: 10 months ago
JSON representation

Backend-for-frontend server for the Terra Axon UI and other Terra clients

Awesome Lists containing this project

README

          

# terra-axon-server
Backend-for-frontend server for the Terra Axon UI, Terra CLI, and other Terra clients.

## Development

### Writing Configurations

Running TAS and the Test Runner integration tests requires many service accounts and database
coordinates. That information is stored in Broad's Vault server. We do not want the main
code to directly depend on Vault. For example, Verily's Terra deployment will not use
Vault. So the code depends on files that hold the information.

The `scripts/write-config.sh` script is used to collect all of the needed data from vault and
store it in files in the gradle `${rootDir}` in the directory `config/`. Having a Broad Institute
account is the pre-requisite for fetching data from vault.

View current usage information for `write-config.sh` by entering
```sh
./scripts/write-config.sh help
```

### Running
To start the server locally with swagger, run the following. The env var turns
CORS on so a local UI can talk to the server.
```
SPRING_PROFILES_ACTIVE=local ./gradlew bootRun
```

### Updating Dependency Locks
All gradle dependency configurations are in this project. To update the lock files, run:
```sh
./gradlew dependencies --write-locks
```