diff --git a/README.md b/README.md index 6fcea93a..edd094ca 100644 --- a/README.md +++ b/README.md @@ -45,22 +45,22 @@ To create a local distribution run the following command: ```sbt dist``` -Create locally the app adding a specific version name -otherwise if you do not specify a version, one will be generated for you. -Eg. hpo-1-0 +Create locally the app adding a specific version name otherwise if you do not specify a version, one will be generated +for you. Eg. hpo-1-0 ``` gcloud --project=open-targets-eu-dev app deploy \ --no-promote \ -v hpo-1-0 - ``` +Update the environment variables in the `app.yaml` file to point towards the deployed Clickhouse and Elasticsearch +images. + ## Sangria caches -This application uses Sangria as a GraphQL wrapper and uses deferred resolver -caches to improve query times. In cases where the data is updated in Elasticsearch -it will not be available on the front-end if it has previously been cached. +This application uses Sangria as a GraphQL wrapper and uses deferred resolver caches to improve query times. In cases +where the data is updated in Elasticsearch it will not be available on the front-end if it has previously been cached. To reset the cache following a data update use the following request: diff --git a/app.yaml b/app.yaml index 915c5000..f27840e7 100644 --- a/app.yaml +++ b/app.yaml @@ -28,4 +28,8 @@ readiness_check: failure_threshold: 10 success_threshold: 1 app_start_timeout_sec: 120 +env_variables: + SLICK_CLICKHOUSE_URL: 'jdbc:clickhouse://platform22-02-3-220222-144622-ch-vm.europe-west1-d.c.open-targets-genetics-dev.internal:8123/ot' + ELASTICSEARCH_HOST: 'platform22-02-3-220222-144622-es-vm.europe-west1-d.c.open-targets-genetics-dev.internal' + diff --git a/conf/application.conf b/conf/application.conf index 73438d14..c7450db0 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -180,7 +180,7 @@ ot { dataVersion { year = 22 month = 02 - iteration = 1 + iteration = 3 } } apiKeyHash = "-1467626332"