From aef7e9f3c979c9e5023c970fbb6b0bd8f8defe7c Mon Sep 17 00:00:00 2001 From: bbortt Date: Tue, 26 Nov 2024 10:39:39 +0100 Subject: [PATCH] feat(deps): update spring-boot to v3.4.1 note the breaking change in the simulator _configuration_. the below error may occur, you must rename the properties in that case: ```shell Caused by: org.springframework.boot.context.properties.source.MutuallyExclusiveConfigurationPropertiesException: The configuration properties 'management.endpoint.health.access, management.endpoint.health.enabled' are mutually exclusive and 'management.endpoint.health.access, management.endpoint.health.enabled' have been configured together ``` --- pom.xml | 11 +++++------ .../src/main/resources/application.properties | 4 ++-- simulator-spring-boot/pom.xml | 2 +- .../resources/META-INF/citrus-simulator.properties | 4 ++-- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index b202c033b..59f9df22c 100644 --- a/pom.xml +++ b/pom.xml @@ -24,14 +24,13 @@ 1.6.13 1.18.34 - 4.4.0 + 4.5.0 - 3.3.5 - 6.3.5 + 3.4.1 7.10.2 1.6.3 2.12.2 - 1.4.20 + 1.4.21 2.23.1 @@ -188,7 +187,7 @@ jakarta.interceptor jakarta.interceptor-api - 2.1.0 + 2.2.0 jakarta.transaction @@ -222,7 +221,7 @@ io.swagger.parser.v3 swagger-parser - 2.1.20 + 2.1.24 diff --git a/simulator-samples/sample-swagger/src/main/resources/application.properties b/simulator-samples/sample-swagger/src/main/resources/application.properties index 5355fd394..3e7d562c5 100644 --- a/simulator-samples/sample-swagger/src/main/resources/application.properties +++ b/simulator-samples/sample-swagger/src/main/resources/application.properties @@ -22,8 +22,8 @@ citrus.simulator.default-scenario=Default citrus.simulator.template-validation=true # actuator properties -management.endpoint.health.enabled=true -management.endpoint.info.enabled=true +management.endpoint.health.access=read_only +management.endpoint.info.access=read_only management.endpoints.web.base-path=/api/manage management.endpoints.web.exposure.include=health,info management.info.env.enabled=true diff --git a/simulator-spring-boot/pom.xml b/simulator-spring-boot/pom.xml index aa94c2c5b..f514917cb 100644 --- a/simulator-spring-boot/pom.xml +++ b/simulator-spring-boot/pom.xml @@ -82,7 +82,7 @@ org.springdoc springdoc-openapi-starter-webmvc-api - 2.3.0 + 2.7.0 diff --git a/simulator-spring-boot/src/main/resources/META-INF/citrus-simulator.properties b/simulator-spring-boot/src/main/resources/META-INF/citrus-simulator.properties index 81456a21d..dc2eb9509 100644 --- a/simulator-spring-boot/src/main/resources/META-INF/citrus-simulator.properties +++ b/simulator-spring-boot/src/main/resources/META-INF/citrus-simulator.properties @@ -28,8 +28,8 @@ spring.resources.chain.enabled=true spring.web.resources.static-locations=classpath:/static/simulator-ui/, classpath:/META-INF/resources/, classpath:/resources/, classpath:/static/, classpath:/public/ # Actuator properties -management.endpoint.health.enabled=true -management.endpoint.info.enabled=true +management.endpoint.health.access=read_only +management.endpoint.info.access=read_only management.endpoints.web.base-path=/api/manage management.endpoints.web.exposure.include=health,info management.info.env.enabled=true