From 33273e74ebe19bf959db0583d1d9de5ad9fa8666 Mon Sep 17 00:00:00 2001 From: "Stone, Avi (as206k)" Date: Sun, 27 May 2018 14:02:57 +0300 Subject: Fix policy violations Update pom dependencies to different versions and fix failed test Change-Id: Ib945753f1f06c815359cacb1510463d12bd13a96 Issue-ID: SDC-1372 Signed-off-by: Stone, Avi (as206k) --- dcaedt_catalog/asdc/pom.xml | 6 +++--- .../java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'dcaedt_catalog/asdc') diff --git a/dcaedt_catalog/asdc/pom.xml b/dcaedt_catalog/asdc/pom.xml index 635868e..5d9a4f5 100644 --- a/dcaedt_catalog/asdc/pom.xml +++ b/dcaedt_catalog/asdc/pom.xml @@ -68,12 +68,12 @@ org.springframework spring-core - 4.3.5.RELEASE + 4.3.17.RELEASE org.springframework spring-web - 4.3.5.RELEASE + 4.3.17.RELEASE org.springframework.boot @@ -83,7 +83,7 @@ org.springframework spring-webmvc - 4.3.5.RELEASE + 4.3.17.RELEASE org.springframework.boot diff --git a/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java b/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java index f17e18f..05eb4b1 100644 --- a/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java +++ b/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java @@ -32,7 +32,7 @@ public class SDCResponseErrorHandlerTest { @Override public int getRawStatusCode() throws IOException { - return 0; + return httpStatus.value(); } @Override @@ -90,4 +90,4 @@ public class SDCResponseErrorHandlerTest { Assert.assertFalse(result); } -} \ No newline at end of file +} -- cgit 1.2.3-korg