diff options
Diffstat (limited to 'aai-resources')
-rw-r--r-- | aai-resources/pom.xml | 16 | ||||
-rw-r--r-- | aai-resources/src/main/resources/application.properties | 2 | ||||
-rw-r--r-- | aai-resources/src/test/java/org/onap/aai/rest/ConfigurationTest.java | 1 |
3 files changed, 10 insertions, 9 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 677f8a7..ddfc848 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -93,7 +93,7 @@ <skipITs>true</skipITs> <swagger.version>1.6.8</swagger.version> - <spring-cloud.version>2020.0.6</spring-cloud.version> + <spring-cloud.version>2021.0.9</spring-cloud.version> <!-- fix the driver version to match the one defined in janusgraph-cql spring-boot (2.4) is otherwise downgrading it to 4.9.0 --> <!-- see https://github.com/spring-projects/spring-boot/blob/d336a96b7f204a398b8237560c5dfa7095c53460/spring-boot-project/spring-boot-dependencies/build.gradle#L163 --> @@ -360,11 +360,6 @@ <version>${swagger.version}</version> </dependency> <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-configuration2</artifactId> - <version>2.0</version> - </dependency> - <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-jersey2-jaxrs</artifactId> <version>${swagger.version}</version> @@ -423,6 +418,7 @@ <dependency> <groupId>org.codehaus.janino</groupId> <artifactId>janino</artifactId> + <version>3.1.12</version> </dependency> <dependency> <groupId>net.logstash.logback</groupId> @@ -500,7 +496,6 @@ <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> - <version>2.7.14</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> @@ -708,7 +703,7 @@ <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> - <version>25.0-jre</version> + <version>33.3.1-jre</version> </dependency> <!-- cassandra driver --> <dependency> @@ -727,6 +722,11 @@ <version>${datastax.native-protocol.version}</version> </dependency> <!-- /cassandra driver --> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-configuration2</artifactId> + <version>2.11.0</version> + </dependency> </dependencies> </dependencyManagement> <build> 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 |