fixed sps bundle and feature keys
This commit is contained in:
parent
684da72060
commit
d100a50e1e
4 changed files with 22 additions and 22 deletions
|
@ -156,21 +156,21 @@ public class WebserviceInfo {
|
|||
}
|
||||
|
||||
final boolean spsEnabled = BooleanUtils.toBoolean(environment.getProperty(
|
||||
"sebserver.feature.seb.screenProctoring.enabled",
|
||||
"sebserver.feature.exam.seb.screenProctoring.enabled",
|
||||
Constants.FALSE_STRING));
|
||||
final boolean spsBundled = BooleanUtils.toBoolean(environment.getProperty(
|
||||
"sebserver.feature.seb.screenProctoring.bundled",
|
||||
"sebserver.feature.exam.seb.screenProctoring.bundled",
|
||||
Constants.FALSE_STRING));
|
||||
if (spsEnabled && spsBundled) {
|
||||
this.screenProctoringServiceBundle = new ScreenProctoringServiceBundle(
|
||||
environment.getProperty("sebserver.feature.seb.screenProctoring.bundled.url"),
|
||||
environment.getProperty("sebserver.feature.seb.screenProctoring.bundled.clientId"),
|
||||
environment.getProperty("sebserver.feature.exam.seb.screenProctoring.bundled.url"),
|
||||
environment.getProperty("sebserver.feature.exam.seb.screenProctoring.bundled.clientId"),
|
||||
cryptor.encrypt(
|
||||
environment.getProperty("sebserver.feature.seb.screenProctoring.bundled.clientPassword"))
|
||||
environment.getProperty("sebserver.feature.exam.seb.screenProctoring.bundled.clientPassword"))
|
||||
.getOrThrow(),
|
||||
environment.getProperty("sebserver.feature.seb.screenProctoring.bundled.sebserveraccount.username"),
|
||||
environment.getProperty("sebserver.feature.exam.seb.screenProctoring.bundled.sebserveraccount.username"),
|
||||
cryptor.encrypt(environment
|
||||
.getProperty("sebserver.feature.seb.screenProctoring.bundled.sebserveraccount.password"))
|
||||
.getProperty("sebserver.feature.exam.seb.screenProctoring.bundled.sebserveraccount.password"))
|
||||
.getOrThrow());
|
||||
} else {
|
||||
this.screenProctoringServiceBundle = new ScreenProctoringServiceBundle();
|
||||
|
|
|
@ -72,11 +72,11 @@ springdoc.swagger-ui.oauth.clientSecret=${sebserver.password}
|
|||
springdoc.paths-to-exclude=/exam-api,/exam-api/discovery,/sebserver/error,/sebserver/check,/oauth,/exam-api/v1/*
|
||||
|
||||
# features
|
||||
sebserver.feature.seb.screenProctoring.enabled=true
|
||||
sebserver.feature.seb.screenProctoring.bundled=true
|
||||
sebserver.feature.seb.screenProctoring.bundled.url=http://localhost:8090
|
||||
sebserver.feature.seb.screenProctoring.bundled.clientId=sebserverClient
|
||||
sebserver.feature.seb.screenProctoring.bundled.sebserveraccount.username=SEBServerAPIAccount
|
||||
sebserver.feature.exam.seb.screenProctoring.enabled=true
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled=true
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.url=http://localhost:8090
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.clientId=sebserverClient
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.sebserveraccount.username=SEBServerAPIAccount
|
||||
|
||||
#sebserver.feature.admin.user.administration.enabled=false
|
||||
#sebserver.feature.admin.user.account.enabled=false
|
||||
|
|
|
@ -102,11 +102,11 @@ sebserver.feature.seb.liveProctoring.enabled=true
|
|||
sebserver.feature.lms.type.MOCKUP.enabled=true
|
||||
sebserver.feature.exam.noLMS.enabled=true
|
||||
|
||||
sebserver.feature.seb.screenProctoring.enabled=false
|
||||
sebserver.feature.seb.screenProctoring.bundled=true
|
||||
sebserver.feature.seb.screenProctoring.bundled.url=sps-service:8090
|
||||
sebserver.feature.seb.screenProctoring.bundled.clientId=sebserverClient
|
||||
sebserver.feature.seb.screenProctoring.bundled.clientPassword=${sps.sebserver.client.secret}
|
||||
sebserver.feature.seb.screenProctoring.bundled.sebserveraccount.username=SEBServerAPIAccount
|
||||
sebserver.feature.seb.screenProctoring.bundled.sebserveraccount.password=${sps.sebserver.password}
|
||||
sebserver.feature.exam.seb.screenProctoring.enabled=false
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled=true
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.url=sps-service:8090
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.clientId=sebserverClient
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.clientPassword=${sps.sebserver.client.secret}
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.sebserveraccount.username=SEBServerAPIAccount
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled.sebserveraccount.password=${sps.sebserver.password}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ management.endpoints.web.base-path=/actuator
|
|||
sebserver.webservice.api.exam.indicator.name=Ping
|
||||
sebserver.webservice.api.exam.indicator.type=LAST_PING
|
||||
sebserver.webservice.api.exam.indicator.color=b4b4b4
|
||||
sebserver.webservice.api.exam.indicator.thresholds=[{"value":5000.0,"color":"22b14c"},{"value":10000.0,"color":"ff7e00"},{"value":15000.0,"color":"ed1c24"}]
|
||||
sebserver.webservice.api.exam.indicator.thresholds=[{"value":5000.0,"color":"22b14c"},{"value":10000.0,"color":"ff7e00"},{"value":15000.0,"color":"ed1c24"}]
|
||||
sebserver.webservice.master.delay.threshold=1000
|
||||
|
||||
sebserver.feature.seb.screenProctoring.bundled=false
|
||||
|
||||
sebserver.feature.exam.seb.screenProctoring.bundled=false
|
Loading…
Reference in a new issue