From dc719682c6763d78d9250811ad88b6496b36ceea Mon Sep 17 00:00:00 2001 From: Diamantis Tziotzios Date: Mon, 29 Jul 2019 13:33:10 +0300 Subject: [PATCH] config changes --- .../resources/application-production.properties | 14 ++++++++++++++ .../main/resources/application-staging.properties | 8 +++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/dmp-backend/web/src/main/resources/application-production.properties b/dmp-backend/web/src/main/resources/application-production.properties index 69c6f46e0..6951f3df3 100644 --- a/dmp-backend/web/src/main/resources/application-production.properties +++ b/dmp-backend/web/src/main/resources/application-production.properties @@ -56,6 +56,12 @@ b2access.externallogin.redirect_uri=https://opendmp.eu/api/oauth/authorized/b2ac b2access.externallogin.clientid= b2access.externallogin.clientSecret= +#############ORCID CONFIGURATIONS######### +orcid.login.client_id= +orcid.login.client_secret= +orcid.login.access_token_url=https://orcid.org/oauth/token +orcid.login.redirect_uri=https://opendmp.eu/login/external/orcid + #############SPRING DATASOURCE CONFIGURATIONS######### spring.datasource.maxIdle: 10 spring.datasource.max-active: 70 @@ -67,3 +73,11 @@ spring.datasource.logAbandoned: true spring.datasource.testOnBorrow: true spring.datasource.testOnConnect: false spring.datasource.testWhileIdle: false + +#############CONFIRMATION EMAIL CONFIGURATIONS######### +conf_email.expiration_time_seconds=14400 +conf_email.subject=OpenDMP email confirmation + +#############ZENODO CONFIGURATIONS######### +zenodo.url=https://sandbox.zenodo.org/api/ +zenodo.access_token= diff --git a/dmp-backend/web/src/main/resources/application-staging.properties b/dmp-backend/web/src/main/resources/application-staging.properties index c63c84c19..12568fc19 100644 --- a/dmp-backend/web/src/main/resources/application-staging.properties +++ b/dmp-backend/web/src/main/resources/application-staging.properties @@ -51,4 +51,10 @@ b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de: b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token b2access.externallogin.redirect_uri=https://devel.opendmp.eu/api/oauth/authorized/b2access b2access.externallogin.clientid=eudatdmptool -b2access.externallogin.clientSecret=A3b*1*92 \ No newline at end of file +b2access.externallogin.clientSecret= + +#############ORCID CONFIGURATIONS######### +orcid.login.client_id= +orcid.login.client_secret= +orcid.login.access_token_url=https://orcid.org/oauth/token +orcid.login.redirect_uri=https://opendmp.eu/login/external/orcid \ No newline at end of file