62 lines
2.7 KiB
Properties
62 lines
2.7 KiB
Properties
# overall server configuration
|
|
server.address=0.0.0.0
|
|
server.port=8080
|
|
server.servlet.context-path=/
|
|
server.servlet.session.cookie.http-only=true
|
|
server.servlet.session.tracking-modes=cookie
|
|
spring.messages.basename=file:/sebserver/messages
|
|
|
|
# database server
|
|
datastore.mariadb.server.address=seb-server-mariadb
|
|
datastore.mariadb.server.port=3306
|
|
|
|
# data source configuration
|
|
spring.datasource.username=root
|
|
spring.datasource.initialize=true
|
|
spring.datasource.initialization-mode=always
|
|
spring.datasource.url=jdbc:mariadb://${datastore.mariadb.server.address}:${datastore.mariadb.server.port}/SEBServer?useSSL=false&createDatabaseIfNotExist=true
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
|
spring.datasource.platform=demo
|
|
spring.datasource.hikari.initializationFailTimeout=30000
|
|
spring.datasource.hikari.connectionTimeout=30000
|
|
spring.datasource.hikari.idleTimeout=600000
|
|
spring.datasource.hikari.maxLifetime=1800000
|
|
|
|
# webservice configuration
|
|
sebserver.test.property=This is a SEB Server Demo
|
|
sebserver.webservice.distributed=false
|
|
sebserver.webservice.http.scheme=http
|
|
sebserver.webservice.http.server.name=ralph.ethz.ch
|
|
sebserver.webservice.http.redirect.gui=${sebserver.gui.entrypoint}
|
|
sebserver.webservice.api.admin.clientId=guiClient
|
|
sebserver.webservice.api.admin.endpoint=/admin-api/v1
|
|
sebserver.webservice.api.admin.accessTokenValiditySeconds=3600
|
|
sebserver.webservice.api.admin.refreshTokenValiditySeconds=-1
|
|
sebserver.webservice.api.exam.endpoint=/exam-api
|
|
sebserver.webservice.api.exam.endpoint.discovery=${sebserver.webservice.api.exam.endpoint}/discovery
|
|
sebserver.webservice.api.exam.endpoint.v1=${sebserver.webservice.api.exam.endpoint}/v1
|
|
sebserver.webservice.api.exam.accessTokenValiditySeconds=86400
|
|
sebserver.webservice.api.pagination.maxPageSize=500
|
|
# comma separated list of known possible OpenEdX API access token request endpoints
|
|
sebserver.webservice.lms.openedx.api.token.request.paths=/oauth2/access_token
|
|
# write logs to
|
|
logging.file=log/sebserver.log
|
|
|
|
# actuator configuration
|
|
management.endpoints.web.base-path=/actuator
|
|
management.endpoints.web.exposure.include=logfile,loggers
|
|
|
|
# GUI server configuration
|
|
sebserver.gui.entrypoint=/gui
|
|
sebserver.gui.webservice.protocol=http
|
|
sebserver.gui.webservice.address=${server.address}
|
|
sebserver.gui.webservice.port=8080
|
|
sebserver.gui.webservice.apipath=/admin-api/v1
|
|
sebserver.gui.theme=css/sebserver.css
|
|
sebserver.gui.list.page.size=20
|
|
sebserver.gui.date.displayformat=MM/dd/yyyy HH:mm
|
|
sebserver.gui.date.displayformat.timezone=|ZZ
|
|
sebserver.gui.multilingual=false
|
|
sebserver.gui.languages=en
|
|
sebserver.gui.seb.client.config.download.filename=SebClientSettings.seb
|
|
sebserver.gui.seb.exam.config.download.filename=SebClientSettings.seb
|