diff --git a/pom.xml b/pom.xml index 111a4aef59..b8d4f8fde8 100644 --- a/pom.xml +++ b/pom.xml @@ -32,9 +32,12 @@ 29.0-jre - 3.2.12 + 3.4.1 3.1.1 + 1.5.15 + 2.0.5 + 2.0.0 2.27.2 1.2.3 @@ -53,7 +56,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.12 + 3.4.1 diff --git a/service/pom.xml b/service/pom.xml index 8981e40833..16cce419b2 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -182,8 +182,14 @@ - ch.qos.logback - logback-access + ch.qos.logback.access + logback-access-common + ${logback-access.version} + + + ch.qos.logback.access + logback-access-tomcat + ${logback-access.version} @@ -613,10 +619,12 @@ The Apache Software License, Version 2.0|Apache License, version 2.0 The Apache Software License, Version 2.0|Apache License 2.0 The Apache Software License, Version 2.0|The Apache Software License, version 2.0 + The Apache Software License, Version 2.0|Apache License Version 2.0 The MIT License|The MIT License (MIT) The MIT License|MIT License The MIT License|MIT license The MIT License|MIT-0 + The MIT License|MIT The GNU General Public License (GPL) Version 2 with the Classpath Exception|GPL2 w/ CPE Eclipse Public License - Version 1.0|Eclipse Public License - v 1.0|EPL 1.0 Eclipse Public License - Version 2.0|Eclipse Public License - v 2.0 diff --git a/service/src/main/java/skills/TomcatConfig.groovy b/service/src/main/java/skills/TomcatConfig.groovy index 64412a04c7..8f73ff63a6 100644 --- a/service/src/main/java/skills/TomcatConfig.groovy +++ b/service/src/main/java/skills/TomcatConfig.groovy @@ -15,8 +15,8 @@ */ package skills -import ch.qos.logback.access.pattern.AccessConverter -import ch.qos.logback.access.spi.IAccessEvent +import ch.qos.logback.access.common.pattern.AccessConverter +import ch.qos.logback.access.common.spi.IAccessEvent import ch.qos.logback.access.tomcat.LogbackValve import org.apache.catalina.connector.Connector import org.apache.coyote.http2.Http2Protocol @@ -97,7 +97,7 @@ class TomcatConfig implements WebServerFactoryCustomizer handleAsyncRequestNotUsableException(AsyncRequestNotUsableException ex, WebRequest request) { if (log.isTraceEnabled()) { log.trace("Received AsyncRequestNotUsableException", ex) diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml index f686e16110..8dbffef1e0 100644 --- a/service/src/main/resources/application.yml +++ b/service/src/main/resources/application.yml @@ -63,6 +63,9 @@ spring: location: ${java.io.tmpdir} max-file-size: ${skills.config.maxAttachmentSize} max-request-size: ${skills.config.maxAttachmentSize} +# http: +# client: +# factory: simple management: server: port: 8808 diff --git a/service/src/test/java/skills/intTests/utils/RestTemplateWrapper.groovy b/service/src/test/java/skills/intTests/utils/RestTemplateWrapper.groovy index 4919ae7482..da7bb81741 100644 --- a/service/src/test/java/skills/intTests/utils/RestTemplateWrapper.groovy +++ b/service/src/test/java/skills/intTests/utils/RestTemplateWrapper.groovy @@ -88,8 +88,11 @@ class RestTemplateWrapper extends RestTemplate { HttpHeaders headers = response.getHeaders(); List returnedCookies = headers.getOrEmpty(HttpHeaders.SET_COOKIE) - if (returnedCookies && cookies == null) { - cookies = returnedCookies + if (returnedCookies /*&& cookies == null*/) { + if (cookies == null) { + cookies = [] + } + cookies.addAll(returnedCookies) log.info("Setting cookies to {}", returnedCookies) } if (returnedCookies && !xsrfToken) {