Skip to content

Commit

Permalink
Update versions for 22.02.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrodBaker committed Feb 22, 2022
1 parent fa8bb69 commit 9e1150f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 4 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'


2 changes: 1 addition & 1 deletion conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ ot {
dataVersion {
year = 22
month = 02
iteration = 1
iteration = 3
}
}
apiKeyHash = "-1467626332"
Expand Down

0 comments on commit 9e1150f

Please sign in to comment.