From 876f3f6ffe31c51a29c153c4e14d64e08fccb450 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 11 Dec 2019 12:30:32 +0100 Subject: [PATCH] fix --- .../servicelayer/session/impl/ExamSessionControlTask.java | 2 ++ src/main/resources/config/application.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/ExamSessionControlTask.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/ExamSessionControlTask.java index de61685c..bb24d012 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/ExamSessionControlTask.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/ExamSessionControlTask.java @@ -21,10 +21,12 @@ import org.springframework.stereotype.Service; import ch.ethz.seb.sebserver.gbl.Constants; import ch.ethz.seb.sebserver.gbl.model.exam.Exam; +import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile; import ch.ethz.seb.sebserver.webservice.servicelayer.dao.ExamDAO; import ch.ethz.seb.sebserver.webservice.servicelayer.session.SebClientConnectionService; @Service +@WebServiceProfile class ExamSessionControlTask { private static final Logger log = LoggerFactory.getLogger(ExamSessionControlTask.class); diff --git a/src/main/resources/config/application.properties b/src/main/resources/config/application.properties index 2327840b..b95a597f 100644 --- a/src/main/resources/config/application.properties +++ b/src/main/resources/config/application.properties @@ -114,7 +114,7 @@ sebserver.gui.entrypoint=/gui sebserver.gui.webservice.protocol=http sebserver.gui.webservice.address=localhost sebserver.gui.webservice.port=8080 -sebserver.gui.webservice.apipath=/admin-api/v1 +sebserver.gui.webservice.apipath=${sebserver.webservice.api.admin.endpoint} # defines the polling interval that is used to poll the webservice for client connection data on a monitored exam page sebserver.gui.webservice.poll-interval=500 sebserver.gui.webservice.mock-lms-enabled=true