2018-11-14 15:14:40 +01:00
|
|
|
server.address=localhost
|
|
|
|
server.port=8090
|
|
|
|
|
2019-07-02 15:30:24 +02:00
|
|
|
logging.file=log/sebserver.log
|
|
|
|
|
2019-08-12 12:05:29 +02:00
|
|
|
# data source configuration
|
2018-11-14 13:58:27 +01:00
|
|
|
spring.datasource.initialize=true
|
|
|
|
spring.datasource.initialization-mode=always
|
2019-08-21 12:06:23 +02:00
|
|
|
spring.datasource.url=jdbc:mariadb://localhost:3306/SEBServer?createDatabaseIfNotExist=true&verifyServerCertificate=false&useSSL=false&requireSSL=false
|
2018-11-14 13:58:27 +01:00
|
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
2020-02-25 11:56:33 +01:00
|
|
|
spring.flyway.enabled=true
|
|
|
|
spring.flyway.locations=classpath:config/sql/base,classpath:config/sql/dev
|
|
|
|
spring.flyway.baselineOnMigrate=true
|
2019-08-26 16:54:23 +02:00
|
|
|
spring.datasource.hikari.initializationFailTimeout=30000
|
|
|
|
spring.datasource.hikari.connectionTimeout=30000
|
|
|
|
spring.datasource.hikari.idleTimeout=600000
|
|
|
|
spring.datasource.hikari.maxLifetime=1800000
|
2018-11-15 11:24:18 +01:00
|
|
|
|
2019-11-27 12:08:48 +01:00
|
|
|
sebserver.http.client.connect-timeout=15000
|
2019-11-27 10:38:04 +01:00
|
|
|
sebserver.http.client.connection-request-timeout=10000
|
2020-01-21 16:27:04 +01:00
|
|
|
sebserver.http.client.read-timeout=20000
|
2019-11-27 10:38:04 +01:00
|
|
|
|
2019-07-02 15:30:24 +02:00
|
|
|
# webservice configuration
|
2019-12-09 12:06:14 +01:00
|
|
|
sebserver.init.adminaccount.gen-on-init=false
|
2019-08-22 09:26:46 +02:00
|
|
|
sebserver.webservice.distributed=false
|
2019-03-11 16:59:28 +01:00
|
|
|
sebserver.webservice.http.scheme=http
|
2020-02-05 13:18:22 +01:00
|
|
|
sebserver.webservice.http.external.servername=
|
|
|
|
sebserver.webservice.http.external.port=
|
2019-07-18 12:35:36 +02:00
|
|
|
sebserver.webservice.http.redirect.gui=/gui
|
2020-02-05 13:18:22 +01:00
|
|
|
|
|
|
|
|
2019-01-28 16:58:06 +01:00
|
|
|
sebserver.webservice.api.admin.endpoint=/admin-api/v1
|
2019-07-17 08:03:19 +02:00
|
|
|
sebserver.webservice.api.admin.accessTokenValiditySeconds=3600
|
2018-11-26 12:05:33 +01:00
|
|
|
sebserver.webservice.api.admin.refreshTokenValiditySeconds=-1
|
2019-11-20 15:08:59 +01:00
|
|
|
sebserver.webservice.api.exam.config.init.permittedProcesses=config/initialPermittedProcesses.xml
|
|
|
|
sebserver.webservice.api.exam.config.init.prohibitedProcesses=config/initialProhibitedProcesses.xml
|
2019-10-30 14:14:58 +01:00
|
|
|
sebserver.webservice.api.exam.update-interval=1 * * * * *
|
|
|
|
sebserver.webservice.api.exam.time-prefix=0
|
|
|
|
sebserver.webservice.api.exam.time-suffix=0
|
2019-06-03 11:44:55 +02:00
|
|
|
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
|
2019-07-17 08:03:19 +02:00
|
|
|
sebserver.webservice.api.exam.accessTokenValiditySeconds=3600
|
2019-06-26 15:31:18 +02:00
|
|
|
sebserver.webservice.api.exam.event-handling-strategy=ASYNC_BATCH_STORE_STRATEGY
|
2019-07-02 15:30:24 +02:00
|
|
|
sebserver.webservice.api.exam.enable-indicator-cache=true
|
2019-06-05 16:22:04 +02:00
|
|
|
sebserver.webservice.api.pagination.maxPageSize=500
|
2019-07-02 15:30:24 +02:00
|
|
|
# comma separated list of known possible OpenEdX API access token request endpoints
|
|
|
|
sebserver.webservice.lms.openedx.api.token.request.paths=/oauth2/access_token
|
2020-01-21 16:27:04 +01:00
|
|
|
sebserver.webservice.lms.moodle.api.token.request.paths=
|
2019-09-09 10:05:34 +02:00
|
|
|
sebserver.webservice.lms.address.alias=lms.mockup.com=lms.address.alias
|
2019-01-08 16:53:38 +01:00
|
|
|
|
2019-11-25 11:22:21 +01:00
|
|
|
# NOTE: This is a temporary work-around for SEB Restriction API within Open edX SEB integration plugin to
|
|
|
|
# apply on load-balanced infrastructure or infrastructure that has several layers of cache.
|
|
|
|
# The reason for this is that the API (Open edX system) internally don't apply a resource-change that is
|
|
|
|
# done within HTTP API call immediately from an outside perspective.
|
|
|
|
# After a resource-change on the API is done, the system toggles between the old and the new resource
|
|
|
|
# while constantly calling GET. This usually happens for about a minute or two then it stabilizes on the new resource
|
|
|
|
#
|
|
|
|
# This may source on load-balancing or internally caching on Open edX side.
|
|
|
|
# To mitigate this effect the SEB Server can be configured to apply a resource-change on the
|
|
|
|
# API several times in a row to flush as match caches and reach as match as possible server instances.
|
|
|
|
#
|
|
|
|
# Since this is a brute-force method to mitigate the problem, this should only be a temporary
|
|
|
|
# work-around until a better solution on Open edX SEB integration side has been found and applied.
|
2020-01-09 16:53:45 +01:00
|
|
|
#sebserver.webservice.lms.openedx.seb.restriction.push-count=10
|
2019-11-25 11:22:21 +01:00
|
|
|
|
2019-07-02 15:30:24 +02:00
|
|
|
# actuator configuration
|
2019-12-04 16:47:28 +01:00
|
|
|
management.server.port=${server.port}
|
|
|
|
management.endpoints.web.base-path=/management
|
|
|
|
management.endpoints.web.exposure.include=logfile,loggers,jolokia
|
|
|
|
management.endpoints.web.path-mapping.jolokia=jmx
|