aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-11-08 14:23:49 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-11-11 08:39:18 +0100
commitfd112727637454135c8ec80a8455ed0b6db3e948 (patch)
tree6ecae4ab279318aa79e3631eedcc321319f414dc /aai-resources/src
parentab84e3fe9597710a18249d40c07ed5ecdc5e93f1 (diff)
Upgrade spring boot to 2.6
- upgrade spring-boot (2.5.15 -> 2.6.15) - upgrade vulnerable guava (25 -> 33.3.1), janino (3.1.9 -> 3.1.12) and commons-configuration2 (2.0 -> 2.11.0) dependencies Issue-ID: AAI-4048 Change-Id: I88fb4b9752bc05bdada5a8e4944b6cd0489383ce Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/src')
-rw-r--r--aai-resources/src/main/resources/application.properties2
-rw-r--r--aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/aai-resources/src/main/resources/application.properties b/aai-resources/src/main/resources/application.properties
index 204197c..b79af16 100644
--- a/aai-resources/src/main/resources/application.properties
+++ b/aai-resources/src/main/resources/application.properties
@@ -65,6 +65,8 @@ spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.Str
spring.kafka.producer.properties.sasl.jaas.config = ${JAAS_CONFIG}
spring.kafka.producer.retries=3
+management.info.env.enabled=true
+
# Schema related attributes for the oxm and edges
# Any additional schema related attributes should start with prefix schema
schema.configuration.location=N/A
diff --git a/aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java b/aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java
index b780d90..15c03cf 100644
--- a/aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java
+++ b/aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java
@@ -185,7 +185,6 @@ public class ConfigurationTest extends AbstractSpringRestTest {
responseBody = (String) responseEntity.getBody();
assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
assertTrue(responseBody.contains("group_id"));
- assertTrue(responseBody.contains("aai_uri"));
// Set Accept as MediaType.APPLICATION_JSON in order to get access of endpoint
// "/actuator/info" and