https://github.com/databiosphere/terra-policy-service
https://github.com/databiosphere/terra-policy-service
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/databiosphere/terra-policy-service
- Owner: DataBiosphere
- License: bsd-3-clause
- Created: 2022-05-23T11:29:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-27T15:38:26.000Z (about 2 months ago)
- Last Synced: 2026-01-28T02:16:21.117Z (about 2 months ago)
- Language: Java
- Size: 616 KB
- Stars: 3
- Watchers: 16
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terra Policy Service
[](https://sonarcloud.io/summary/new_code?id=terra-policy-service)
## Local Development
## Prod Deployment
* [Swagger UI](https://tps.dsde-prod.broadinstitute.org/)
### Setup
Run `./gradlew generateSwaggerCode` to generate the Swagger code for models and the Swagger UI.
Run `docker compose up -d` to start the postgres db locally in the background.
Run `./gradlew test` to run the unit tests.
Run `./gradlew bootRun` to run the Policy Service locally (Swagger UI at localhost:8080).
Run `./gradlew service:dependencies --write-locks ` to rewrite the gradle dependency lock for the spring boot service.
Run `docker compose down` to stop the postgres db.