217 lines
5.2 KiB
YAML
217 lines
5.2 KiB
YAML
|
server:
|
||
|
port: 8081
|
||
|
tomcat:
|
||
|
threads:
|
||
|
max: 20
|
||
|
max-connections: 10000
|
||
|
|
||
|
management:
|
||
|
endpoint:
|
||
|
metrics:
|
||
|
enabled: true
|
||
|
prometheus:
|
||
|
enabled: true
|
||
|
health:
|
||
|
show-details: always
|
||
|
metrics:
|
||
|
enable:
|
||
|
http: true
|
||
|
jvm: true
|
||
|
jdbc: true
|
||
|
tomcat: true
|
||
|
logback: true
|
||
|
hikaricp: true
|
||
|
cache: true
|
||
|
export:
|
||
|
prometheus:
|
||
|
enabled: true
|
||
|
endpoints:
|
||
|
web:
|
||
|
base-path: /
|
||
|
exposure:
|
||
|
include: prometheus,health,metrics
|
||
|
|
||
|
mail:
|
||
|
subject: "Invitation to DMP Plan {dmpname}"
|
||
|
from: opendmp-dev@cite.gr
|
||
|
|
||
|
admin:
|
||
|
mail:
|
||
|
subject: "You have been invited to the Dataset Template {templateName}"
|
||
|
|
||
|
spring:
|
||
|
servlet:
|
||
|
multipart:
|
||
|
max-file-size: 10MB
|
||
|
max-request-size: 10MB
|
||
|
mail:
|
||
|
default-encoding: UTF-8
|
||
|
host: hermes.local.cite.gr
|
||
|
port: 25
|
||
|
protocol: smtp
|
||
|
test-connection: false
|
||
|
properties:
|
||
|
mail:
|
||
|
smtp:
|
||
|
auth: false
|
||
|
starttls:
|
||
|
enable: false
|
||
|
|
||
|
elasticsearch:
|
||
|
host: localhost
|
||
|
port: 9200
|
||
|
username: elastic
|
||
|
password: ${ELASTIC_PASS:}
|
||
|
index: ${ELASTIC_INDEX:}
|
||
|
usingssl: false
|
||
|
certPath: ${ELASTIC_CERT_PATH:}
|
||
|
certKey: ${ELASTIC_CERT_KEY:}
|
||
|
innerHitsSize: 100
|
||
|
|
||
|
configuration:
|
||
|
externalUrls: externalUrls/ExternalUrls.xml
|
||
|
semantics: Semantics.json
|
||
|
h2020template: documents/h2020.docx
|
||
|
h2020datasettemplate: documents/h2020_dataset.docx
|
||
|
configurable_login_providers: configurableLoginProviders.json
|
||
|
pid_links: pidLinks.json
|
||
|
|
||
|
email:
|
||
|
invite: file:templates/email/email.html
|
||
|
confirmation: file:templates/email/emailConfirmation.html
|
||
|
merge: file:templates/email/emailMergeConfirmation.html
|
||
|
unlink: classpath:templates/email/emailUnlinkConfirmation.html
|
||
|
dataset:
|
||
|
template: file:templates/email/emailAdmin.html
|
||
|
|
||
|
notification:
|
||
|
finalised:
|
||
|
subject: "[OpenDMP] The {name} has been finalised"
|
||
|
template: classpath:templates/notifications/finalisedNotification.html
|
||
|
modified_finalised:
|
||
|
template: classpath:templates/notifications/modifiedFinalisedNotification.html
|
||
|
modified:
|
||
|
subject: "[OpenDMP] The {name} has been modified"
|
||
|
template: classpath:templates/notifications/modifiedNotification.html
|
||
|
publish:
|
||
|
subject: "[OpenDMP] The {name} has been published"
|
||
|
template: classpath:templates/notifications/publishNotification.html
|
||
|
rateInterval: 30000
|
||
|
maxRetries: 10
|
||
|
modifiedFinalised:
|
||
|
subject: "[OpenDMP] The {name} has been modified and finalised"
|
||
|
|
||
|
|
||
|
autouser:
|
||
|
root:
|
||
|
email: ${AUTOUSER_EMAIL:}
|
||
|
username: ${AUTOUSER_USER:}
|
||
|
password: ${AUTOUSER_PASS:}
|
||
|
|
||
|
facebook:
|
||
|
login:
|
||
|
clientId: ${FACEBOOK_CLIENT_ID:}
|
||
|
clientSecret: ${FACEBOOK_CLIENT_SECRET:}
|
||
|
namespace: ${FACEBOOK_NAMESPACE:}
|
||
|
|
||
|
google:
|
||
|
login:
|
||
|
clientId: ${GOOGLE_CLIENT_ID:}
|
||
|
|
||
|
linkedin:
|
||
|
login:
|
||
|
clientId: ${LINKEDIN_CLIENT_ID:}
|
||
|
clientSecret: ${LINKEDIN_CLIENT_SECRET:}
|
||
|
redirect_uri: http://localhost:4200/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:
|
||
|
clientId: ${TWITTER_CLIENT_ID:}
|
||
|
clientSecret: ${TWITTER_CLIENT_SECRET:}
|
||
|
redirect_uri: http://localhost:4200/login/twitter
|
||
|
|
||
|
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:}
|
||
|
|
||
|
database:
|
||
|
driver-class-name: org.postgresql.Driver
|
||
|
lock-fail-interval: 120000
|
||
|
url: ${DB_URL:}
|
||
|
username: ${DB_USER:}
|
||
|
password: ${DB_PASS:}
|
||
|
|
||
|
userguide:
|
||
|
path: dmp-backend/web/src/main/resources/material/user-guide
|
||
|
|
||
|
about:
|
||
|
path: dmp-backend/web/src/main/resources/material/about
|
||
|
|
||
|
termsofservice:
|
||
|
path: dmp-backend/web/src/main/resources/material/terms-of-service
|
||
|
|
||
|
glossary:
|
||
|
path: dmp-backend/web/src/main/resources/material/glossary
|
||
|
|
||
|
faq:
|
||
|
path: dmp-backend/web/src/main/resources/material/faq
|
||
|
|
||
|
logging:
|
||
|
config: classpath:logging/logback-${spring.profiles.active}.xml
|
||
|
|
||
|
temp:
|
||
|
temp: ${TEMP_STORAGE:}
|
||
|
|
||
|
file:
|
||
|
storage: ${FILE_STORAGE:}
|
||
|
|
||
|
|
||
|
zenodo:
|
||
|
affiliation: ARGOS
|
||
|
community: argos
|
||
|
login:
|
||
|
access_token_url: ${ZENODO_ACCESS_TOKEN_URL:}
|
||
|
client_id: ${ZENODO_CLIENT_ID:}
|
||
|
client_secret: ${ZENODO_CLIENT_SECRET:}
|
||
|
redirect_uri: http://localhost:4200/login/external/zenodo
|
||
|
|
||
|
pdf:
|
||
|
converter:
|
||
|
url: ${PDF_CONVERTER_URL:}
|
||
|
|
||
|
orcid:
|
||
|
login:
|
||
|
client_id: ${ORCID_CLIENT_ID:}
|
||
|
client_secret: ${ORCID_CLIENT_SECRET:}
|
||
|
access_token_url: https://orcid.org/oauth/token
|
||
|
redirect_uri: http://localhost:4200/login/external/orcid
|
||
|
|
||
|
openaire:
|
||
|
login:
|
||
|
client_id: ${OPENAIRE_CLIENT_ID:}
|
||
|
client_secret: ${OPENAIRE_CLIENT_SECRET:}
|
||
|
access_token_url: ${OPENAIRE_ACCESS_TOKEN_URL:}
|
||
|
redirect_uri: ${OPENAIRE_REDIRECT_URI:}
|
||
|
user_info_url: ${OPENAIRE_USER_INFO_URI:}
|
||
|
|
||
|
conf_email:
|
||
|
expiration_time_seconds: 14400
|
||
|
subject: "OpenDMP email confirmation"
|
||
|
|
||
|
publicapi:
|
||
|
host: devel.opendmp.eu
|
||
|
basePath: /srv
|
||
|
schema: https
|
||
|
|
||
|
contact_email:
|
||
|
mail: ${CONTACT_EMAIL:}
|
||
|
|
||
|
language:
|
||
|
path: dmp-frontend/src/assets/i18n/
|