Replace the old application.properties with application.yml

This commit is contained in:
George Kalampokis 2022-03-21 15:55:44 +02:00
parent 4373d6db61
commit dea57b1cf8
8 changed files with 353 additions and 409 deletions

View File

@ -1,96 +0,0 @@
dmp.domain = http://localhost:4200
####################PERSISTENCE OVERRIDES CONFIGURATIONS##########
database.url=
database.username=
database.password=
spring.datasource.maxIdle=10
spring.datasource.minIdle=5
spring.datasource.maxActive=10
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch.host = localhost
elasticsearch.port = 9200
elasticsearch.username=elastic
elasticsearch.password=
elasticsearch.index=dmps
####################ELK OVERRIDES CONFIGURATIONS##########
http-logger.server-address = http://localhost:31311
####################PDF OVERRIDES CONFIGURATIONS##########
pdf.converter.url=http://localhost:3000/
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
configuration.externalUrls=externalUrls/ExternalUrls.xml
configuration.rda=RDACommonStandards.txt
configuration.h2020template=documents/h2020.docx
configuration.configurable_login_providers=configurableLoginProviders.json
configuration.doi_funder=DOI_Funder.json
####################EMAIL FILE TEMPLATES OVERRIDES CONFIGURATIONS##########
email.invite=classpath:templates/email/email.html
email.confirmation=classpath:templates/email/emailConfirmation.html
email.merge=classpath:templates/email/emailMergeConfirmation.html
#############FACEBOOK LOGIN CONFIGURATIONS#########
facebook.login.clientId=
facebook.login.clientSecret=
facebook.login.namespace=
#############GOOGLE LOGIN CONFIGURATIONS#########
google.login.clientId=
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin.login.clientId=
linkedin.login.clientSecret=
linkedin.login.redirect_uri=http://localhost:4200/login/linkedin
linkedin.login.user_info_url=https://api.linkedin.com/v2/me
linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
linkedin.login.access_token_url=https://www.linkedin.com/uas/oauth2/accessToken
#############TWITTER LOGIN CONFIGURATIONS#########
twitter.login.redirect_uri=http://localhost:4200/login/twitter
#############B2 ACCESS CONFIGURATIONS#########
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token
b2access.externallogin.redirect_uri=http://opendmp.eu/api/oauth/authorized/b2access
b2access.externallogin.clientid=
b2access.externallogin.clientSecret=
#############ORCID CONFIGURATIONS#########
orcid.login.client_id=APP-766DI5LP8T75FC4R
orcid.login.client_secret=f6ddc717-f49e-4bce-b302-2e479b226a24
orcid.login.access_token_url=https://orcid.org/oauth/token
orcid.login.redirect_uri=http://localhost:4200/login/external/orcid
#############OPENAIRE CONFIGURATIONS#########
openaire.login.client_id=
openaire.login.client_secret=
openaire.login.access_token_url=
openaire.login.redirect_uri=
openaire.login.user_info_url=
#############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=
zenodo.login.access_token_url=https://sandbox.zenodo.org/oauth/token
zenodo.login.client_id=
zenodo.login.client_secret=
zenodo.login.redirect_uri=http://localhost:4200/login/external/zenodo
#############CONTACT EMAIL CONFIGURATIONS#########
contact_email.mail=
language.path=dmp-frontend/src/assets/i18n/
#############LOGGING#########
logging.config=classpath:logging/logback-${spring.profiles.active}.xml
#############PROMETHEUS#########
endpoints.prometheus.sensitive: false

View File

@ -0,0 +1,59 @@
dmp:
domain: http://localhost:4200
####################PERSISTENCE OVERRIDES CONFIGURATIONS##########
spring:
datasource:
maxIdle: 10
minIdle: 5
maxActive: 10
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch:
host: localhost
port: 9200
####################ELK OVERRIDES CONFIGURATIONS##########
http-logger:
server-address: http://localhost:31311
####################PDF OVERRIDES CONFIGURATIONS##########
pdf:
converter:
url: http://localhost:3000/
####################EMAIL FILE TEMPLATES OVERRIDES CONFIGURATIONS##########
email:
invite: classpath:templates/email/email.html
confirmation: classpath:templates/email/emailConfirmation.html
merge: classpath:templates/email/emailMergeConfirmation.html
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin:
login:
redirect_uri: http://localhost:4200/login/linkedin
#############TWITTER LOGIN CONFIGURATIONS#########
twitter:
login:
redirect_uri: http://localhost:4200/login/twitter
#############ORCID CONFIGURATIONS#########
orcid:
login:
redirect_uri: http://localhost:4200/login/external/orcid
#############ZENODO CONFIGURATIONS#########
zenodo:
login:
access_token_url: https://sandbox.zenodo.org/oauth/token
redirect_uri: http://localhost:4200/login/external/zenodo
#############LANGUAGE CONFIGURATION#########
language:
path: dmp-frontend/src/assets/i18n/
#############PROMETHEUS#########
endpoints:
prometheus:
sensitive: false

View File

@ -1,100 +0,0 @@
dmp.domain = https://opendmp.eu
####################PERSISTENCE OVERRIDES CONFIGURATIONS##########
database.url=jdbc:postgresql://dmp-db:5432/dmptool
database.username=dmptool
database.password=CHANGEME
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch.host = tags-elastic-search
elasticsearch.port = 9200
elasticsearch.username=elastic
elasticsearch.password=
elasticsearch.index=dmps
####################PDF OVERRIDES CONFIGURATIONS##########
pdf.converter.url=http://docsbox-web/
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
configuration.externalUrls=externalUrls/ExternalUrls.xml
configuration.rda=RDACommonStandards.txt
configuration.h2020template=documents/h2020.docx
configuration.configurable_login_providers=ConfigurableLoginProviders.json
configuration.doi_funder=DOI_Funder.json
####################SPRING MAIL CONFIGURATIONS#################
spring.mail.default-encoding=UTF-8
spring.mail.host=
spring.mail.username=
spring.mail.password=
spring.mail.port=25
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=true
#############FACEBOOK LOGIN CONFIGURATIONS#########
facebook.login.clientId=
facebook.login.clientSecret=
facebook.login.namespace=opendmp
#############GOOGLE LOGIN CONFIGURATIONS#########
google.login.clientId=
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin.login.clientId=
linkedin.login.clientSecret=
linkedin.login.redirect_uri=https://opendmp.eu/login/linkedin
linkedin.login.user_info_url=https://api.linkedin.com/v2/me
linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
linkedin.login.access_token_url=https://www.linkedin.com/uas/oauth2/accessToken
#############TWITTER LOGIN CONFIGURATIONS#########
twitter.login.clientId=
twitter.login.clientSecret=
twitter.login.redirect_uri=https://opendmp.eu/login/twitter
#############B2 ACCESS CONFIGURATIONS#########
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token
b2access.externallogin.redirect_uri=https://opendmp.eu/api/oauth/authorized/b2access
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
#############OPENAIRE CONFIGURATIONS#########
openaire.login.client_id=
openaire.login.client_secret=
openaire.login.access_token_url=
openaire.login.redirect_uri=
openaire.login.user_info_url=
#############SPRING DATASOURCE CONFIGURATIONS#########
spring.datasource.maxIdle: 10
spring.datasource.max-active: 70
spring.datasource.max-wait: 10000
spring.datasource.validationQuery: select 1
spring.datasource.removeAbandoned: true
spring.datasource.removeAbandonedTimeout: 1
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://zenodo.org/api/
zenodo.access_token=
#############CONTACT EMAIL CONFIGURATIONS#########
contact_email.mail=
language.path=i18n/

View File

@ -0,0 +1,33 @@
dmp:
domain: https://opendmp.eu
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch:
host: tags-elastic-search
port: 9200
####################PDF OVERRIDES CONFIGURATIONS##########
pdf:
converter:
url: http://docsbox-web/
#############SPRING DATASOURCE CONFIGURATIONS#########
spring:
datasource:
maxIdle: 10
max-active: 70
max-wait: 10000
validationQuery: select 1
removeAbandoned: true
removeAbandonedTimeout: 1
logAbandoned: true
testOnBorrow: true
testOnConnect: false
testWhileIdle: false
#############CONTACT EMAIL CONFIGURATIONS#########
contact_email.mail=
#############LANGUAGE CONFIGURATION#########
language:
path: i18n/

View File

@ -1,90 +0,0 @@
dmp.domain = https://devel.opendmp.eu
####################PERSISTENCE OVERRIDES CONFIGURATIONS##########
database.url=jdbc:postgresql://dmp-db:5432/dmptool
database.username=dmptool
database.password=CHANGEME
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch.host = tags-elastic-search
elasticsearch.port = 9200
elasticsearch.username=elastic
elasticsearch.password=
elasticsearch.index=dmps
####################PDF OVERRIDES CONFIGURATIONS##########
pdf.converter.url=http://docsbox-web/
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
configuration.externalUrls=externalUrls/ExternalUrls.xml
configuration.rda=RDACommonStandards.txt
configuration.h2020template=documents/h2020.docx
configuration.configurable_login_providers=ConfigurableLoginProviders.json
configuration.doi_funder=DOI_Funder.json
####################INVITATION MAIL CONFIGURATIONS##############
####################GENERIC MAIL CONFIGURATIONS#################
mail.subject=Invitation to DMP Plan {dmpname}
mail.from=opendmp-dev@cite.gr
####################SPRING MAIL CONFIGURATIONS#################
spring.mail.default-encoding=UTF-8
spring.mail.host=hermes.local.cite.gr
spring.mail.port=25
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.properties.mail.smtp.auth=false
#############FACEBOOK LOGIN CONFIGURATIONS#########
facebook.login.clientId=
facebook.login.clientSecret=
facebook.login.namespace=opendmp
#############GOOGLE LOGIN CONFIGURATIONS#########
google.login.clientId=
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin.login.clientId=
linkedin.login.clientSecret=
linkedin.login.redirect_uri=https://devel.opendmp.eu/login/linkedin
linkedin.login.user_info_url=https://api.linkedin.com/v2/me
linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
linkedin.login.access_token_url=https://www.linkedin.com/uas/oauth2/accessToken
#############TWITTER LOGIN CONFIGURATIONS#########
twitter.login.clientId=
twitter.login.clientSecret=
twitter.login.redirect_uri=https://devel.opendmp.eu/login/twitter
#############CONFIRMATION EMAIL CONFIGURATIONS#########
conf_email.expiration_time_seconds=14400
conf_email.subject=OpenDMP email confirmation
#############B2 ACCESS CONFIGURATIONS#########
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
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=
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
#############OPENAIRE CONFIGURATIONS#########
openaire.login.client_id=
openaire.login.client_secret=
openaire.login.access_token_url=
openaire.login.redirect_uri=
openaire.login.user_info_url=
#############ZENODO CONFIGURATIONS#########
zenodo.url=https://sandbox.zenodo.org/api/
zenodo.access_token=
#############CONTACT EMAIL CONFIGURATIONS#########
contact_email.mail=
language.path=i18n/

View File

@ -0,0 +1,34 @@
dmp:
domain: https://devel.opendmp.eu
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
elasticsearch:
host: tags-elastic-search
port: 9200
####################PDF OVERRIDES CONFIGURATIONS##########
pdf:
converter:
url: http://docsbox-web/
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin:
login:
redirect_uri: https://devel.opendmp.eu/login/linkedin
#############TWITTER LOGIN CONFIGURATIONS#########
twitter:
login:
redirect_uri: https://devel.opendmp.eu/login/twitter
#############B2 ACCESS CONFIGURATIONS#########
b2access:
externallogin:
redirect_uri: https://devel.opendmp.eu/api/oauth/authorized/b2access
#############ZENODO CONFIGURATIONS#########
zenodo:
url: https://sandbox.zenodo.org/api/
language:
path: i18n/

View File

@ -1,123 +0,0 @@
server.port=8081
server.tomcat.max-threads = 20
server.tomcat.max-connections = 10000
logging.file=/logs/spring-boot-logging.log
spring.profiles.active=devel
eu.eudat.logic.proxy.allowed.host=https://eestore.paas2.uninett.no
####################Metrics##############
management.endpoint.metrics.enabled=false
management.metrics.enable.http=false
management.metrics.enable.jvm=false
management.metrics.enable.jdbc=false
management.metrics.enable.tomcat=false
management.metrics.enable.logback=false
management.metrics.enable.hikaricp=false
management.metrics.enable.cache=false
management.endpoints.web.base-path=/
management.endpoints.web.exposure.include=prometheus
management.endpoint.prometheus.enabled=true
management.metrics.export.prometheus.enabled=true
####################INVITATION MAIL CONFIGURATIONS##############
####################GENERIC MAIL CONFIGURATIONS#################
mail.subject=Invitation to DMP Plan {dmpname}
mail.from=opendmp-dev@cite.gr
####################DATASET TEMPLATE MAIL CONFIGURATIONS#################
admin.mail.subject=You have been invited to the Dataset Template {templateName}
####################SPRING MAIL CONFIGURATIONS#################
spring.mail.default-encoding=UTF-8
spring.mail.host=hermes.local.cite.gr
spring.mail.port=25
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
configuration.externalUrls=externalUrls/ExternalUrls.xml
configuration.rda=RDACommonStandards.txt
configuration.h2020template=documents/h2020.docx
configuration.configurable_login_providers=ConfigurableLoginProviders.json
configuration.doi_funder=DOI_Funder.json
####################EMAIL FILE TEMPLATES OVERRIDES CONFIGURATIONS##########
email.invite=file:templates/email/email.html
email.confirmation=file:templates/email/emailConfirmation.html
email.merge=file:templates/email/emailMergeConfirmation.html
email.dataset.template=file:templates/email/emailAdmin.html
#############LOGIN CONFIGURATIONS#########
#############GENERIC LOGIN CONFIGURATIONS#########
autouser.root.email=
autouser.root.password=
autouser.root.username=
#############FACEBOOK LOGIN CONFIGURATIONS#########
facebook.login.clientId=
facebook.login.clientSecret=
facebook.login.namespace=
#############GOOGLE LOGIN CONFIGURATIONS#########
google.login.clientId=
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin.login.clientId=
linkedin.login.clientSecret=
linkedin.login.redirect_uri=http://opendmp.eu/login/linkedin
linkedin.login.user_info_url=https://api.linkedin.com/v2/me
linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
linkedin.login.access_token_url=https://www.linkedin.com/uas/oauth2/accessToken
#############TWITTER LOGIN CONFIGURATIONS#########
twitter.login.clientId=
twitter.login.clientSecret=
twitter.login.redirect_uri=http://opendmp.eu/login/twitter
#############B2 ACCESS CONFIGURATIONS#########
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token
b2access.externallogin.redirect_uri=http://opendmp.eu/api/oauth/authorized/b2access
b2access.externallogin.clientid=
b2access.externallogin.clientSecret=
#############DYNAMIC PROJECT CONFIGURATIONS#########
project.configuration.project.name = Project
project.configuration.funder.name = Funder
project.configuration.grant.name = Grant
#############HTTP LOGGER DELAY CONFIGURATIONS#########
http-logger.initial-delay = 0
http-logger.delay = 10
##########################PERISTENCE##########################################
#############GENERIC DATASOURCE CONFIGURATIONS#########
database.driver-class-name=org.postgresql.Driver
database.lock-fail-interval=120000
##########################MISC##########################################
#############USER GUIDE#########
userguide.path=user-guide/
#############NOTIFICATION#########
notification.rateInterval=30000
notification.maxRetries=10
notification.modified.subject=[OpenDMP] The {name} has been modified
notification.publish.subject=[OpenDMP] The {name} has been published
notification.finalised.subject=[OpenDMP] The {name} has been finalised
notification.modifiedFinalised.subject=[OpenDMP] The {name} has been modified and finalised
#############LOGGING#########
logging.config=classpath:logging/logback-${spring.profiles.active}.xml
#############TEMP#########
temp.temp=tmp/
file.storage=uploads/
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
#############ZENODO#########
zenodo.affiliation=ARGOS
zenodo.community=argos

View File

@ -0,0 +1,227 @@
server:
port: 8081
tomcat:
max-threads: 20
max-connections: 10000
eu:
eudat:
logic:
proxy:
allowed:
host: https://eestore.paas2.uninett.no
####################Metrics##############
management:
endpoint:
metrics:
enabled: false
prometheus:
enabled: true
metrics:
enable:
http: false
jvm: false
jdbc: false
tomcat: false
logback: false
hikaricp: false
cache: false
export:
prometheus:
enabled: true
endpoints:
web:
base-path: /
exposure:
include: prometheus
####################INVITATION MAIL CONFIGURATIONS##############
####################GENERIC MAIL CONFIGURATIONS#################
mail:
subject: "Invitation to DMP Plan {dmpname}"
from: opendmp-dev@cite.gr
####################DATASET TEMPLATE MAIL CONFIGURATIONS#################
admin:
mail:
subject: "You have been invited to the Dataset Template {templateName}"
####################SPRING MAIL CONFIGURATIONS#################
spring:
mail:
default-encoding: UTF-8
host: hermes.local.cite.gr
username: ${SPRING_MAIL_USER:}
password: ${SPRING_MAIL_PASS:}
port: 25
protocol: smtp
test-connection: false
properties:
mail:
smtp:
auth: false
starttls:
enable: false
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
configuration:
externalUrls: externalUrls/ExternalUrls.xml
rda: RDACommonStandards.txt
h2020template: documents/h2020.docx
configurable_login_providers: ConfigurableLoginProviders.json
doi_funder: DOI_Funder.json
####################EMAIL FILE TEMPLATES OVERRIDES CONFIGURATIONS##########
email:
invite: file:templates/email/email.html
confirmation: file:templates/email/emailConfirmation.html
merge: file:templates/email/emailMergeConfirmation.html
dataset:
template: file:templates/email/emailAdmin.html
#############LOGIN CONFIGURATIONS#########
#############GENERIC LOGIN CONFIGURATIONS#########
autouser:
root:
email: ${AUTOUSER_EMAIL:}
password: ${AUTOUSER_PASS:}
username: ${AUTOUSER_NAME:}
#############FACEBOOK LOGIN CONFIGURATIONS#########
facebook:
login:
clientId: ${FACEBOOK_CLIENT_ID:}
clientSecret: ${FACEBOOK_CLIENT_SECRET:}
namespace: ${FACEBOOK_NAMESPACE:}
#############GOOGLE LOGIN CONFIGURATIONS#########
google:
login:
clientId: ${GOOGLE_CLIENT_ID:}
#############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin:
login:
clientId: ${LINKEDIN_CLIENT_ID:}
clientSecret: ${LINKEDIN_CLIENT_SECRET:}
redirect_uri: http://opendmp.eu/login/linkedin
user_info_url: https://api.linkedin.com/v2/me
user_email: https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
access_token_url: https://www.linkedin.com/uas/oauth2/accessToken
#############TWITTER LOGIN CONFIGURATIONS#########
twitter:
login:
clientId: ${TWITTER_CLIENT_ID:}
clientSecret: ${TWITTER_CLIENT_SECRET:}
redirect_uri: http://opendmp.eu/login/twitter
#############B2 ACCESS CONFIGURATIONS#########
b2access:
externallogin:
user_info_url: https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
access_token_url: https://b2access-integration.fz-juelich.de:443/oauth2/token
redirect_uri: http://opendmp.eu/api/oauth/authorized/b2access
clientid: ${B2ACCESS_CLIENT_ID:}
clientSecret: ${B2ACCESS_CLIENT_SECRET:}
#############ORCID CONFIGURATIONS#########
orcid:
login:
client_id: ${ORCID_CLIENT_ID:}
client_secret: ${ORCID_CLIENT_SECRET:}
access_token_url: https://orcid.org/oauth/token
redirect_uri: https://opendmp.eu/login/external/orcid
#############OPENAIRE CONFIGURATIONS#########
openaire:
login:
client_id: ${OPENAIRE_CLIENT_ID:}
client_secret: ${OPENAIRE_CLIENT_SECRET:}
access_token_url: ${OPENAIRE_TOKEN_URL:}
redirect_uri: ${OPENAIRE_REFRESH_URL:}
user_info_url: ${OPENAIRE_INFO_URL:}
#############ZENODO CONFIGURATIONS#########
zenodo:
url: https://sandbox.zenodo.org/api/
access_token: ${ZENODO_ACCESS_TOKEN:}
login:
access_token_url: https://zenodo.org/oauth/token
client_id: ${ZENODO_CLIENT_ID:}
client_secret: ${ZENODO_CLIENT_SECRET:}
redirect_uri: https://opendmp.eu/login/external/zenodo
affiliation: ARGOS
community: argos
#############DYNAMIC PROJECT CONFIGURATIONS#########
project:
configuration:
project:
name: Project
funder:
name: Funder
grant:
name: Grant
#############HTTP LOGGER DELAY CONFIGURATIONS#########
http-logger:
initial-delay: 0
delay: 10
##########################PERISTENCE##########################################
#############GENERIC DATASOURCE CONFIGURATIONS#########
database:
driver-class-name: org.postgresql.Driver
lock-fail-interval: 120000
url: ${DB_URL:}
username: ${DB_USER:}
password: ${DB_PASS:}
##########################MISC##########################################
#############USER GUIDE#########
userguide:
path: user-guide/
#############NOTIFICATION#########
notification:
rateInterval: 30000
maxRetries: 10
modified:
subject: "[OpenDMP] The {name} has been modified"
publish:
subject: "[OpenDMP] The {name} has been published"
finalised:
subject: "[OpenDMP] The {name} has been finalised"
modifiedFinalised:
subject: "[OpenDMP] The {name} has been modified and finalised"
#############LOGGING#########
logging:
config: classpath:logging/logback-${spring.profiles.active}.xml
#############TEMP#########
temp:
temp: tmp/
file:
storage: uploads/
####################ELASTIIC SEARCH TAGS CONFIGURATIONS##########
elasticsearch:
username: elastic
password: ${ELASTIC_PASS:}
index: dmps
#############CONTACT EMAIL CONFIGURATIONS#########
contact_email:
mail: ${CONTACT_EMAIL:}
#############CONFIRMATION EMAIL CONFIGURATIONS#########
conf_email:
expiration_time_seconds: 14400
subject: "OpenDMP email confirmation"