From 5eb740dbac0cf09d87de50c02ba6d9e9df308305 Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 20 May 2026 12:18:42 +0200 Subject: [PATCH 1/3] sprintg boot 4 support --- pom.xml | 10 +++++----- srv/pom.xml | 18 ++++++++++++------ .../it/TravelServiceIntegrationTest.java | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 6293f0b..9dd5bbd 100644 --- a/pom.xml +++ b/pom.xml @@ -19,11 +19,11 @@ 21 - 4.9.0 - 3.5.12 - 5.27.0 - 3.6.8 - 3.8.0 + 5.0.0-SNAPSHOT + 4.0.3 + 5.29.0 + 4.0.5 + 4.1.2 https://nodejs.org/dist/ UTF-8 diff --git a/srv/pom.xml b/srv/pom.xml index 1d5c99c..9904157 100644 --- a/srv/pom.xml +++ b/srv/pom.xml @@ -46,14 +46,14 @@ - com.sap.cloud.security.ams.client - jakarta-ams + com.sap.cloud.security.ams + spring-boot-starter-cap-ams ${sap.cloud.security.ams.version} - com.sap.cloud.security.ams.client - cap-ams-support + com.sap.cloud.security.ams + spring-boot-starter-cap-ams-test ${sap.cloud.security.ams.version} @@ -85,6 +85,12 @@ test + + org.springframework.boot + spring-boot-starter-webmvc-test + test + + org.springframework.security spring-security-test @@ -183,9 +189,9 @@ - com.sap.cloud.security.ams.client + com.sap.cloud.security.ams.dcl dcl-compiler-plugin - ${sap.cloud.security.ams.version} + 1.3.0 dcl.compile diff --git a/srv/src/test/java/sap/capire/xtravels/it/TravelServiceIntegrationTest.java b/srv/src/test/java/sap/capire/xtravels/it/TravelServiceIntegrationTest.java index 853cc77..9b2fbc2 100644 --- a/srv/src/test/java/sap/capire/xtravels/it/TravelServiceIntegrationTest.java +++ b/srv/src/test/java/sap/capire/xtravels/it/TravelServiceIntegrationTest.java @@ -23,8 +23,8 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc; import org.springframework.security.test.context.support.WithMockUser; import org.springframework.test.web.servlet.MockMvc; From abce7edc15eb225a1c6e463b8167c3e0a89fb7f7 Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 20 May 2026 13:08:38 +0200 Subject: [PATCH 2/3] fix failing test --- srv/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srv/pom.xml b/srv/pom.xml index 9904157..428719e 100644 --- a/srv/pom.xml +++ b/srv/pom.xml @@ -92,8 +92,8 @@ - org.springframework.security - spring-security-test + org.springframework.boot + spring-boot-starter-security-test test From 71af747a9ff344660cc42bb8ecd701e8bb1584bb Mon Sep 17 00:00:00 2001 From: Stefan Henke Date: Wed, 20 May 2026 13:53:10 +0200 Subject: [PATCH 3/3] fixes --- pom.xml | 2 +- srv/pom.xml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 338abb6..b935872 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 1.0.0-SNAPSHOT - 21 + 25 5.0.0-SNAPSHOT 4.0.3 5.30.0 diff --git a/srv/pom.xml b/srv/pom.xml index 428719e..386709f 100644 --- a/srv/pom.xml +++ b/srv/pom.xml @@ -188,21 +188,18 @@ + com.sap.cloud.security.ams.dcl dcl-compiler-plugin 1.3.0 - dcl.compile compile ${project.basedir}/src/main/resources/ams - true - pretty - true