diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-01-19 11:12:59 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-01-19 11:27:09 +0100 |
commit | 5a0453aabdffc7d31e306e5a81ebab8abb183e55 (patch) | |
tree | 7f93961616dd209fe758d0e51b9b0af20671e94c /aai-resources | |
parent | 57d9169e0cb1dc0dd91a661f7e4180d3dd747514 (diff) |
Upgrade aai-common dependency to 1.13.1 in resources
- upgrade aai-common dependency from 1.13.0 to 1.13.1
- bump version to 1.13.1
Issue-ID: AAI-3733
Change-Id: Ifddadaf916da63f2dada25c71d01618f2bf10e8b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources')
-rw-r--r-- | aai-resources/pom.xml | 18 | ||||
-rw-r--r-- | aai-resources/src/main/java/org/onap/aai/rest/util/EchoResponse.java | 2 |
2 files changed, 14 insertions, 6 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 631e7e8..8bc71c7 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.aai.resources</groupId> <artifactId>resources</artifactId> - <version>1.13.0-SNAPSHOT</version> + <version>1.13.1-SNAPSHOT</version> </parent> <properties> <java.version>1.8</java.version> @@ -49,7 +49,7 @@ <!-- Location where assembly of our scripts, resources and main jar will be held - Check the ${project.artifactId}/src/main/assembly/descriptor.xml for more info + Check the ${project.artifactId}/src/main/assembly/descriptor.xml for more info --> <aai.build.directory>${project.build.directory}/${project.artifactId}-${project.version}-build/ </aai.build.directory> @@ -312,9 +312,9 @@ <artifactId>spring-boot-starter-hateoas</artifactId> </dependency> <dependency> - <groupId>org.springframework.cloud</groupId> - <artifactId>spring-cloud-starter-sleuth</artifactId> - </dependency> + <groupId>org.springframework.cloud</groupId> + <artifactId>spring-cloud-starter-sleuth</artifactId> + </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-zipkin</artifactId> @@ -728,6 +728,14 @@ <type>pom</type> <scope>import</scope> </dependency> + <!-- Keeping guava at 19 is necessary here, since the janusgraph-cql driver in version + 2.3 has a dependency on it. Remove this override, once we are using janusgraph > 0.2.3/tinkerpop > 3.2.3 + --> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>19.0</version> + </dependency> </dependencies> </dependencyManagement> <build> diff --git a/aai-resources/src/main/java/org/onap/aai/rest/util/EchoResponse.java b/aai-resources/src/main/java/org/onap/aai/rest/util/EchoResponse.java index 8a66809..745fb00 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/util/EchoResponse.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/util/EchoResponse.java @@ -140,7 +140,7 @@ public class EchoResponse extends RESTAPI { HashMap<AAIException, ArrayList<String>> exceptionList = new HashMap<>(); exceptionList.put(new AAIException("AAI_0002", "OK"), templateVariables); return Response.status(Status.OK) - .entity(ErrorLogHelper.getRESTAPIInfoResponse(headers.getAcceptableMediaTypes(), exceptionList)) + .entity(ErrorLogHelper.getRESTAPIInfoResponse(new ArrayList<>(headers.getAcceptableMediaTypes()), exceptionList)) .build(); } |