From 5a0453aabdffc7d31e306e5a81ebab8abb183e55 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Fri, 19 Jan 2024 11:12:59 +0100 Subject: [PATCH] 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 --- aai-resources/pom.xml | 18 +++++++++++++----- .../main/java/org/onap/aai/rest/util/EchoResponse.java | 2 +- pom.xml | 6 +++--- version.properties | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml index 631e7e84..8bc71c79 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -28,7 +28,7 @@ org.onap.aai.resources resources - 1.13.0-SNAPSHOT + 1.13.1-SNAPSHOT 1.8 @@ -49,7 +49,7 @@ ${project.build.directory}/${project.artifactId}-${project.version}-build/ @@ -312,9 +312,9 @@ spring-boot-starter-hateoas - org.springframework.cloud - spring-cloud-starter-sleuth - + org.springframework.cloud + spring-cloud-starter-sleuth + org.springframework.cloud spring-cloud-sleuth-zipkin @@ -728,6 +728,14 @@ pom import + + + com.google.guava + guava + 19.0 + 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 8a668090..745fb00d 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> 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(); } diff --git a/pom.xml b/pom.xml index f0c1b25d..7f21bc97 100644 --- a/pom.xml +++ b/pom.xml @@ -26,11 +26,11 @@ org.onap.aai.aai-common aai-parent - 1.11.0 + 1.13.0 org.onap.aai.resources resources - 1.13.0-SNAPSHOT + 1.13.1-SNAPSHOT aai-resources pom @@ -48,7 +48,7 @@ /content/repositories/staging/ ${project.version} - 1.11.0 + 1.13.1 1.12.3 diff --git a/version.properties b/version.properties index 39cb3bf4..0c0fa8e9 100644 --- a/version.properties +++ b/version.properties @@ -5,7 +5,7 @@ major_version=1 minor_version=13 -patch_version=0 +patch_version=1 base_version=${major_version}.${minor_version}.${patch_version} -- 2.16.6