diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-05-27 14:02:57 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-05-27 16:28:36 +0300 |
commit | 33273e74ebe19bf959db0583d1d9de5ad9fa8666 (patch) | |
tree | c8b81cc9f10a7ff0f4a54e0244bafd36e26fb229 /dcaedt_catalog/asdc | |
parent | 6ada8ec44fad55cec2321231cb3b2eec48ccc1d1 (diff) |
Fix policy violations2.0.0-ONAPbeijing2.0.0-ONAP
Update pom dependencies to different versions and fix failed test
Change-Id: Ib945753f1f06c815359cacb1510463d12bd13a96
Issue-ID: SDC-1372
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'dcaedt_catalog/asdc')
-rw-r--r-- | dcaedt_catalog/asdc/pom.xml | 6 | ||||
-rw-r--r-- | dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java | 4 |
2 files changed, 5 insertions, 5 deletions
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 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> - <version>4.3.5.RELEASE</version> + <version>4.3.17.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> - <version>4.3.5.RELEASE</version> + <version>4.3.17.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -83,7 +83,7 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> - <version>4.3.5.RELEASE</version> + <version>4.3.17.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> 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 +} |