Skip to content

Commit 7238f7f

Browse files
committed
Merge branch 'release/1.16.0'
2 parents cbd5ea3 + 9f35485 commit 7238f7f

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

dockstore_launcher_config/compose.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"DISCOURSE_URL":"foobar",
1818
"DOCKSTORE_DBPASSWORD":"replaceme",
1919
"DOCKSTORE_VERSION":"develop",
20+
"DOCKSTORE_ZENODO_ACCESS_TOKEN":"",
21+
"DOCKSTORE_ZENODO_COMMUNITY_ID":"",
2022
"DOCUMENTATION_URL":"foobar",
2123
"DOMAIN_NAME":"foobar",
2224
"ELASTICSEARCH_DOMAIN":"replaceme",
@@ -52,6 +54,7 @@
5254
"PRODUCTION":false,
5355
"QUAY_CLIENT_ID":"foobared",
5456
"QUAY_CLIENT_SECRET":"foobared",
57+
"READONLY_DBPASSWORD":"replaceme",
5558
"SAM_PATH":"replaceme",
5659
"SLACK_URL":"replaeceme",
5760
"TAG_MANAGER_ID":"foobar",

templates/init_migration.sh.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD
1212
# this particular migration needs to run as postgres because only postgres can surrender ownership
1313
java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.7.0.relinquish
1414
# future migrations will start here and should be run as dockstore
15-
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0,1.15.0
15+
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0,1.15.0,1.16.0

templates/web.yml.template

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ zenodoClientID: {{ ZENODO_CLIENT_ID }}
2525
zenodoClientSecret: {{ ZENODO_CLIENT_SECRET }}
2626
zenodoRedirectURI: https://{{ DOMAIN_NAME }}/auth/zenodo.org
2727
zenodoUrl: {{ ZENODO_URL }}
28+
dockstoreZenodoAccessToken: {{ DOCKSTORE_ZENODO_ACCESS_TOKEN }}
29+
dockstoreZenodoCommunityId: {{ DOCKSTORE_ZENODO_COMMUNITY_ID }}
2830

2931
orcidClientID: {{ ORCID_CLIENT_ID }}
3032
orcidClientSecret: {{ ORCID_CLIENT_SECRET }}
@@ -58,6 +60,10 @@ samconfiguration:
5860
metricsConfig:
5961
s3BucketName: {{ METRICS_BUCKET_NAME }}
6062

63+
diagnosticsConfig:
64+
logRequests: true
65+
logPeriodic: true
66+
6167
# the following values describe where the webservice is being run (and on what port and using what scheme) to configure swagger
6268
externalConfig:
6369
basePath: /api/
@@ -86,14 +92,14 @@ logging:
8692
appenders:
8793
- type: console
8894
logFormat: "%-5p [%d{ISO8601,UTC}] %c\t %replace(%replace(%msg){'[\\n{};]',''}){'([A-Za-z]) ([A-Za-z])','$1_$2'}%n%rEx"
95+
"io.dockstore.webservice.helpers.DiagnosticsHelper": DEBUG
8996
#logging for other dropwizard things
9097
appenders:
9198
- type: console
9299
# this the default dropwizard (logstash) logFormat for reference
93100
#logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m%n%rEx"
94-
# this is a logFormat that replaces new lines in messages with a →
95-
# TODO: should do the same with exceptions, but I couldn't figure it out
96-
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %replace(%msg){'[\\n]','→'}%n%rEx"
101+
# this is a logFormat that replaces new lines with carriage returns
102+
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %replace(%m){'\n','\r'}%n%replace(%rEx){'\n','\r'}"
97103

98104

99105
database:

0 commit comments

Comments
 (0)