Avram is a metadata manager that allows analysts to create and manage [meta]data entries that follow flexible, user-defined models.
From avram root:
$ docker/run-postgres.sh start
$ APPENGINE_SDK_HOME=/Applications/appengine-java-sdk-1.9.65/ sbt clean compile test
$ docker/run-postgres.sh stop
To run tests from IntelliJ, add the APPENGINE_SDK_HOME environment variable to your test configuration.
- Setup git-secrets. See hooks/README.md
- Download the appengine java sdk and follow the instructions for setting your path.
- Setup the path to the appengine sdk by doing one of the following:
- set the environment variable:
APPENGINE_SDK_HOME - create the file appengine.properties in the avram directory and set the variable
sdkHome
- set the environment variable:
- run
docker run -v $PWD:/app -e GOOGLE_PROJ=broad-avram-dev -eSERVICE_VERSION=br1 -e INPUT_PATH=/app -e OUT_PATH=/app/src/main/resources -e VAULT_TOKEN=$(cat ~/.vault-token) -e ENVIRONMENT=dev broadinstitute/dsde-toolbox render-templates.sh - run
sbt, then in sbt runappengineDevServer - test an endpoint locally
Avram is in its own google project: broad-avram-dev.
To deploy to dev run the deploy.sh script
To execute one of the endpoints on the dev environment use openapi