You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
argos/dmp-backend/web/src/main/resources/config/application.yml

227 lines
6.0 KiB
YAML

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"