105 lines
5.2 KiB
Properties
105 lines
5.2 KiB
Properties
##########################################################
|
|
### SEB Server Webservice configuration
|
|
|
|
sebserver.test.property=This is the default/root configuration
|
|
|
|
### webservice initialization
|
|
sebserver.init.adminaccount.gen-on-init=true
|
|
sebserver.init.organisation.name=SEB Server
|
|
sebserver.init.adminaccount.username=sebserver-admin
|
|
sebserver.init.database.integrity.checks=true
|
|
sebserver.init.database.integrity.try-fix=true
|
|
sebserver.init.database.integrity.check.schema=SEBServer
|
|
|
|
### webservice caching
|
|
spring.cache.jcache.provider=org.ehcache.jsr107.EhcacheCachingProvider
|
|
spring.cache.jcache.config=classpath:config/ehcache.xml
|
|
|
|
### webservice 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.flyway.enabled=true
|
|
spring.flyway.locations=classpath:config/sql/base
|
|
spring.flyway.cleanDisabled=true
|
|
spring.flyway.ignoreIgnoredMigrations=true
|
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
|
spring.datasource.hikari.initializationFailTimeout=3000
|
|
spring.datasource.hikari.connectionTimeout=30000
|
|
spring.datasource.hikari.idleTimeout=600000
|
|
spring.datasource.hikari.maxLifetime=1800000
|
|
spring.datasource.hikari.maximumPoolSize=100
|
|
spring.datasource.hikari.leakDetectionThreshold=10000
|
|
|
|
### webservice security
|
|
spring.datasource.password=${sebserver.mariadb.password}
|
|
sebserver.webservice.api.admin.clientSecret=${sebserver.password}
|
|
sebserver.webservice.internalSecret=${sebserver.password}
|
|
|
|
### webservice setup configuration
|
|
sebserver.webservice.forceMaster=false
|
|
sebserver.webservice.distributed=false
|
|
sebserver.webservice.distributed.updateInterval=2000
|
|
sebserver.webservice.http.external.scheme=https
|
|
sebserver.webservice.http.external.servername=
|
|
sebserver.webservice.http.external.port=
|
|
sebserver.webservice.http.redirect.gui=/gui
|
|
sebserver.webservice.ping.service.strategy=BLOCKING
|
|
|
|
### Open API Documentation
|
|
springdoc.api-docs.enabled=false
|
|
springdoc.swagger-ui.enabled=false
|
|
springdoc.swagger-ui.oauth.clientId=guiClient
|
|
springdoc.swagger-ui.oauth.clientSecret=${sebserver.password}
|
|
#springdoc.consumes-to-match=application/json,application/x-www-form-urlencoded
|
|
#springdoc.default-consumes-media-type=application/x-www-form-urlencoded
|
|
springdoc.paths-to-exclude=/exam-api,/exam-api/discovery,/sebserver/error,/sebserver/check,/oauth,/exam-api/v1/*
|
|
|
|
|
|
|
|
### webservice API
|
|
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=25200
|
|
sebserver.webservice.api.admin.request.limit=10
|
|
sebserver.webservice.api.admin.request.limit.interval.min=10
|
|
sebserver.webservice.api.admin.request.limit.refill=2
|
|
sebserver.webservice.api.admin.create.limit=10
|
|
sebserver.webservice.api.admin.create.limit.interval.min=3600
|
|
sebserver.webservice.api.admin.create.limit.refill=10
|
|
sebserver.webservice.api.admin.exam.app.signature.key.enabled=false
|
|
sebserver.webservice.api.exam.config.init.permittedProcesses=config/initialPermittedProcesses.xml
|
|
sebserver.webservice.api.exam.config.init.prohibitedProcesses=config/initialProhibitedProcesses.xml
|
|
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=43200
|
|
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=/login/token.php
|
|
sebserver.webservice.lms.moodle.prependShortCourseName=true
|
|
sebserver.webservice.lms.moodle.fetch.cutoffdate.yearsBeforeNow=2
|
|
sebserver.webservice.lms.moodle.fetch.applyNameCriteria=true
|
|
sebserver.webservice.lms.olat.sendAdditionalAttributesWithRestriction=false
|
|
sebserver.webservice.lms.address.alias=
|
|
sebserver.webservice.lms.datafetch.validity.seconds=600
|
|
|
|
sebserver.webservice.proctoring.resetBroadcastOnLeav=true
|
|
sebserver.webservice.proctoring.zoom.enableWaitingRoom=false
|
|
sebserver.webservice.proctoring.zoom.sendRejoinForCollectingRoom=false
|
|
|
|
# Default Ping indicator:
|
|
sebserver.webservice.api.exam.indicator.name=Ping
|
|
sebserver.webservice.api.exam.indicator.type=LAST_PING
|
|
sebserver.webservice.api.exam.indicator.color=ffffff
|
|
sebserver.webservice.api.exam.indicator.thresholds=[{"value":5000.0,"color":"ffc20e"},{"value":10000.0,"color":"ff7e00"},{"value":15000.0,"color":"ed1c24"}]
|
|
|
|
# Default name and description template for auto-generated exam configuration
|
|
sebserver.webservice.configtemplate.examconfig.default.name=__startDate__ __examName__
|
|
sebserver.webservice.configtemplate.examconfig.default.description=This has automatically been created from the exam template: __examTemplateName__ at: __currentDate__
|
|
|
|
|