From 67d1e3fba1afde37441db32cad53e73db9f5eb21 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 17 Mar 2021 14:17:32 +0100 Subject: [PATCH] Prepare LMS Setup --- .../seb/sebserver/gbl/async/MemoizingCircuitBreaker.java | 2 +- .../webservice/servicelayer/lms/LmsAPITemplate.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/async/MemoizingCircuitBreaker.java b/src/main/java/ch/ethz/seb/sebserver/gbl/async/MemoizingCircuitBreaker.java index 1d826aaf..3c78c65c 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/async/MemoizingCircuitBreaker.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/async/MemoizingCircuitBreaker.java @@ -90,7 +90,7 @@ public final class MemoizingCircuitBreaker implements Supplier> { return this.lastMemoizingTime; } - /** Create new CircuitBreakerSupplier. + /** Create new MemoizingCircuitBreaker. * * @param asyncRunner the AsyncRunner used to create asynchronous calls on the given supplier function * @param supplier The Supplier function that can fail or block for a long time diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/LmsAPITemplate.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/LmsAPITemplate.java index 42d8df8c..b78c5124 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/LmsAPITemplate.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/LmsAPITemplate.java @@ -104,9 +104,9 @@ public interface LmsAPITemplate { /** Convert a an anonymous or temporary user session identifier from SEB Client into a user * account details. * - * @param examineeSessionId the user session identifier from SEB Client + * @param examineeUserId the user-account identifier derived from SEB Client * @return a Result refer to the ExamineeAccountDetails instance or to an error when happened or not supported */ - Result getExamineeAccountDetails(String examineeSessionId); + Result getExamineeAccountDetails(String examineeUserId); /** Used to convert an anonymous or temporary user session identifier from SEB Client into a user * account name for displaying on monitoring page. @@ -114,9 +114,9 @@ public interface LmsAPITemplate { * If the underling concrete template implementation does not support this user name conversion, * the given examineeSessionId shall be returned. * - * @param examineeSessionId the user session identifier from SEB Client + * @param examineeUserId the user-account identifier derived from SEB Client * @return a user account display name if supported or the given examineeSessionId if not. */ - String getExamineeName(String examineeSessionId); + String getExamineeName(String examineeUserId); /** Used to get a list of chapters (display name and chapter-identifier) that can be used to * apply chapter-based SEB restriction for a specified course.