minor fixes

This commit is contained in:
anhefti 2021-02-18 12:41:04 +01:00
parent 90e8975269
commit 96313e41a7
3 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,8 @@ public class TableConverter implements AttributeValueConverter {
value.institutionId, value.institutionId,
value.configurationId, value.configurationId,
attribute.id) attribute.id)
.getOrThrow(); .onError(error -> log.error("Failed to get table values for attribute: {}", attribute.name, error))
.getOrElse(() -> Collections.emptyList());
final boolean noValues = CollectionUtils.isEmpty(values); final boolean noValues = CollectionUtils.isEmpty(values);

View file

@ -294,8 +294,6 @@ public class SEBClientConnectionServiceImpl implements SEBClientConnectionServic
// connection integrity check // connection integrity check
if (clientConnection.status == ConnectionStatus.CONNECTION_REQUESTED) { if (clientConnection.status == ConnectionStatus.CONNECTION_REQUESTED) {
// TODO discuss if we need a flag on exam domain level that indicates whether unauthenticated connection
// are allowed or not
log.warn("ClientConnection integrity warning: client connection is not authenticated: {}", log.warn("ClientConnection integrity warning: client connection is not authenticated: {}",
clientConnection); clientConnection);
} else if (clientConnection.status != ConnectionStatus.AUTHENTICATED) { } else if (clientConnection.status != ConnectionStatus.AUTHENTICATED) {

View file

@ -8,6 +8,7 @@ server.tomcat.uri-encoding=UTF-8
logging.level.ch=INFO logging.level.ch=INFO
logging.level.org.springframework.cache=INFO logging.level.org.springframework.cache=INFO
logging.level.ch.ethz.seb.sebserver.webservice.servicelayer.lms.impl=DEBUG logging.level.ch.ethz.seb.sebserver.webservice.servicelayer.lms.impl=DEBUG
logging.level.ch.ethz.seb.sebserver.webservice.servicelayer.session=DEBUG
sebserver.http.client.connect-timeout=150000 sebserver.http.client.connect-timeout=150000
sebserver.http.client.connection-request-timeout=100000 sebserver.http.client.connection-request-timeout=100000