From 65e717349bc4ca134a50822b3baa2f9473eaf1e1 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 25 Jun 2024 10:47:38 +0200 Subject: [PATCH] SEBSERV-553 fixed show quit link and improved logging --- src/main/java/ch/ethz/seb/sebserver/gbl/api/API.java | 2 +- .../webservice/weblayer/api/LmsIntegrationController.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/api/API.java b/src/main/java/ch/ethz/seb/sebserver/gbl/api/API.java index 67c28a85..733ae229 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/api/API.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/api/API.java @@ -178,7 +178,7 @@ public final class API { public static final String LMS_FULL_INTEGRATION_EXAM_TEMPLATE_ID = "exam_template_id"; public static final String LMS_FULL_INTEGRATION_EXAM_DATA = "exam_data"; public static final String LMS_FULL_INTEGRATION_QUIT_PASSWORD = "quit_password"; - public static final String LMS_FULL_INTEGRATION_QUIT_LINK = "show_quit_link"; + public static final String LMS_FULL_INTEGRATION_QUIT_LINK = "quit_link"; public static final String LMS_FULL_INTEGRATION_USER_ID = "user_id"; public static final String LMS_FULL_INTEGRATION_USER_NAME = "user_username"; public static final String LMS_FULL_INTEGRATION_USER_EMAIL = "user_email"; diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java index 4ed5d21e..2b139138 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/LmsIntegrationController.java @@ -129,6 +129,12 @@ public class LmsIntegrationController { @RequestParam(name = API.LMS_FULL_INTEGRATION_QUIZ_ID) final String quizId, final HttpServletResponse response) throws IOException { + log.info( + "LMS called get SEB Connection Configuration for: lmsUUId: {} courseId: {} quizId: {}", + lmsUUId, + courseId, + quizId); + final ServletOutputStream outputStream = response.getOutputStream(); final PipedOutputStream pout; final PipedInputStream pin;