server.address=localhost server.port=8090 logging.file=log/sebserver.log # data source configuration spring.datasource.initialize=true spring.datasource.initialization-mode=always spring.datasource.url=jdbc:mariadb://localhost:3306/SEBServer?createDatabaseIfNotExist=true&verifyServerCertificate=false&useSSL=false&requireSSL=false spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.flyway.enabled=true spring.flyway.locations=classpath:config/sql/base,classpath:config/sql/dev spring.flyway.cleanDisabled=false spring.datasource.hikari.initializationFailTimeout=30000 spring.datasource.hikari.connectionTimeout=30000 spring.datasource.hikari.idleTimeout=600000 spring.datasource.hikari.maxLifetime=1800000 sebserver.http.client.connect-timeout=15000 sebserver.http.client.connection-request-timeout=10000 sebserver.http.client.read-timeout=20000 sebserver.webservice.clean-db-on-startup=false # webservice configuration sebserver.init.adminaccount.gen-on-init=false sebserver.webservice.distributed=false sebserver.webservice.http.scheme=http sebserver.webservice.http.external.servername= sebserver.webservice.http.external.port=${server.port} sebserver.webservice.http.redirect.gui=/gui sebserver.webservice.api.admin.endpoint=/admin-api/v1 sebserver.webservice.api.admin.accessTokenValiditySeconds=3600 sebserver.webservice.api.admin.refreshTokenValiditySeconds=-1 sebserver.webservice.api.exam.config.init.permittedProcesses=config/initialPermittedProcesses.xml sebserver.webservice.api.exam.config.init.prohibitedProcesses=config/initialProhibitedProcesses.xml sebserver.webservice.api.exam.update-interval=1 * * * * * sebserver.webservice.api.exam.time-prefix=0 sebserver.webservice.api.exam.time-suffix=0 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=3600 sebserver.webservice.api.exam.event-handling-strategy=ASYNC_BATCH_STORE_STRATEGY sebserver.webservice.api.exam.enable-indicator-cache=true 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 sebserver.webservice.lms.moodle.api.token.request.paths= sebserver.webservice.lms.address.alias=lms.mockup.com=lms.address.alias # 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. #sebserver.webservice.lms.openedx.seb.restriction.push-count=10 # actuator configuration 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