Commit 7cfcba83 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

430: Finalize debian package publication

Task-Url: #430
parent f733e3c5
Pipeline #24327 passed with stage
in 52 seconds
server:
port: 8393
paths:
main: /var/lib/dfa/search
log:
dir: /tmp
# pattern: "%-4relative [%thread] %-5level %logger{35}[%line]- %msg%n"
indexing:
baseDir: /tmp/indexing_logs
log_queries: false
localization:
defaultLocale: de
debug: true
theme: dariah-theme
mongo:
host: 127.0.0.1
port: 27017
database: search
contextPath: /search
baseUrl: http://localhost:8393${contextPath:/}
#baseUrl: https://externally.visible.example.com${contextPath:/}
spring:
mvc:
view:
prefix: /WEB-INF/views/
suffix: .jsp
#logging:
# level:
# web: DEBUG
#es:
# hostname: localhost
# port: 9200
# useSSL: false
# username:
# password:
indexing:
index_name_prefix: gs_
index_config_file: index_config.json
search:
log_all_queries: false
datamodels:
integration: 5eb11e106117b10b7b6c7c11
indexing: 5a27ab9b0246440d479c6c46
presentation: 5b9004394c7b0405ccf90b00
metadata: 5cd3f505dd960f585e960f63
crawling: 60812e54667bd50488d2b237
# modelsWithMessageCodes:
# - 598f06e706bffc03a8e44f82
# - 598f06e706bffc03a8e44f83
# modelsMessageCodePrefix: ~de.mww
# many default options missing here...
api:
colreg:
#base_url: https://teaching.clariah.de/colreg-ui/
base_url: http://localhost:8081/
dme:
base_url: https://teaching.clariah.de/dme/
crawling:
max_threads_per_service_type: 6
api_access_politeness_span_ms: 200
auth:
baseUrl: ${baseUrl}
#defaultLoginUrl: ${auth.baseUrl}
#defaultLogoutUrl: ${auth.baseUrl}
salt: Qmwp4CO7LDkOUDouAcCcUqd9ZGNbRG5Jyr5lpntOuB9
permissionHierarchy: ROLE_ADMINISTRATOR > ROLE_CONTRIBUTOR > ROLE_USER
permissionDefinitions:
- permissionSet: ROLE_ADMINISTRATOR
level: 100
roleMappings:
local: ["application_admin"]
saml: ["generic-search-admins"]
- permissionSet: ROLE_CONTRIBUTOR
level: 50
roleMappings:
local: ["application_contributor"]
saml: ["generic-search-contributors"]
- permissionSet: ROLE_USER
level: 10
roleMappings:
local: ["application_user"]
saml: ["application_user"]
local:
enabled: true
authorizerName: local
# Same password for each user: 1234
users:
- username: 'tgradl'
passhash: '$2a$10$EeajSQQUepa7H7.g4xQCaeO.hjUwh0yzYCMrfOkWCZGe1IiWaexa6'
roles: ["application_admin"]
- username: 'admin'
passhash: '$2y$10$nmTcpRxs.RFUstkJJms6U.AW61Jmr64s9VNQLuhpU8gYrgzCapwka'
roles: ["application_admin"]
- username: 'contributor'
passhash: '$2y$10$nmTcpRxs.RFUstkJJms6U.AW61Jmr64s9VNQLuhpU8gYrgzCapwka'
roles: ["application_contributor"]
- username: 'user'
passhash: '$2y$10$nmTcpRxs.RFUstkJJms6U.AW61Jmr64s9VNQLuhpU8gYrgzCapwka'
roles: ["application_user"]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment