Prepare LMS Setup

This commit is contained in:
anhefti 2021-03-17 14:17:32 +01:00
parent 75b4c0e782
commit 67d1e3fba1
2 changed files with 5 additions and 5 deletions

View file

@ -90,7 +90,7 @@ public final class MemoizingCircuitBreaker<T> implements Supplier<Result<T>> {
return this.lastMemoizingTime; return this.lastMemoizingTime;
} }
/** Create new CircuitBreakerSupplier. /** Create new MemoizingCircuitBreaker.
* *
* @param asyncRunner the AsyncRunner used to create asynchronous calls on the given supplier function * @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 * @param supplier The Supplier function that can fail or block for a long time

View file

@ -104,9 +104,9 @@ public interface LmsAPITemplate {
/** Convert a an anonymous or temporary user session identifier from SEB Client into a user /** Convert a an anonymous or temporary user session identifier from SEB Client into a user
* account details. * 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 */ * @return a Result refer to the ExamineeAccountDetails instance or to an error when happened or not supported */
Result<ExamineeAccountDetails> getExamineeAccountDetails(String examineeSessionId); Result<ExamineeAccountDetails> getExamineeAccountDetails(String examineeUserId);
/** Used to convert an anonymous or temporary user session identifier from SEB Client into a user /** Used to convert an anonymous or temporary user session identifier from SEB Client into a user
* account name for displaying on monitoring page. * 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, * If the underling concrete template implementation does not support this user name conversion,
* the given examineeSessionId shall be returned. * 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. */ * @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 /** 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. * apply chapter-based SEB restriction for a specified course.