From 3fc94dd71339db72d60220add95b6b72c932abdb Mon Sep 17 00:00:00 2001 From: "Eran (ev672n), Vosk" Date: Tue, 16 Oct 2018 17:33:49 +0300 Subject: security check issues recheck eun-clm updating spring version, using security check issues Change-Id: Ic9eb249b70d4e32669fc6f1f4262b0fb91c0cd70 Issue-ID: SDC-1829 Signed-off-by: Eran (ev672n), Vosk --- dcaedt_catalog/api/pom.xml | 15 +++++++++-- dcaedt_catalog/asdc/pom.xml | 29 ++++++++++++++++------ .../dcae/utils/SDCResponseErrorHandlerTest.java | 5 ++-- dcaedt_catalog/service/pom.xml | 8 +++--- 4 files changed, 40 insertions(+), 17 deletions(-) (limited to 'dcaedt_catalog') diff --git a/dcaedt_catalog/api/pom.xml b/dcaedt_catalog/api/pom.xml index f6925db..950ced8 100644 --- a/dcaedt_catalog/api/pom.xml +++ b/dcaedt_catalog/api/pom.xml @@ -177,8 +177,19 @@ org.mockito - mockito-core - 1.10.19 + mockito-all + 2.0.2-beta + test + + + net.bytebuddy + byte-buddy + 1.8.16 + + + net.bytebuddy + byte-buddy-agent + 1.8.16 test diff --git a/dcaedt_catalog/asdc/pom.xml b/dcaedt_catalog/asdc/pom.xml index 1414a91..2ecf3ff 100644 --- a/dcaedt_catalog/asdc/pom.xml +++ b/dcaedt_catalog/asdc/pom.xml @@ -44,9 +44,10 @@ org.springframework.boot spring-boot-maven-plugin - 1.3.3.RELEASE + 2.0.5.RELEASE org.onap.sdc.dcae.catalog.asdc.ASDCEngine + exec @@ -78,7 +79,7 @@ org.springframework.boot spring-boot-starter-web - 1.4.1.RELEASE + 2.0.5.RELEASE org.springframework @@ -88,7 +89,7 @@ org.springframework.boot spring-boot-autoconfigure - 1.4.1.RELEASE + 2.0.5.RELEASE org.apache.commons @@ -125,10 +126,22 @@ assertj-core test - - org.mockito - mockito-core - test - + + org.mockito + mockito-all + 2.0.2-beta + test + + + net.bytebuddy + byte-buddy + 1.8.16 + + + net.bytebuddy + byte-buddy-agent + 1.8.16 + test + 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 15c4a8a..82eec21 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 @@ -3,9 +3,8 @@ package org.onap.sdc.dcae.utils; import org.junit.Assert; import org.junit.Before; import org.junit.Test; -import org.junit.runner.RunWith; import org.mockito.InjectMocks; -import org.mockito.runners.MockitoJUnitRunner; +import org.mockito.MockitoAnnotations; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.client.ClientHttpResponse; @@ -15,7 +14,6 @@ import org.springframework.web.client.HttpServerErrorException; import java.io.IOException; import java.io.InputStream; -@RunWith(MockitoJUnitRunner.class) public class SDCResponseErrorHandlerTest { @InjectMocks private SDCResponseErrorHandler classUnderTest; @@ -24,6 +22,7 @@ public class SDCResponseErrorHandlerTest { @Before public void setup() { + MockitoAnnotations.initMocks(this); clientHttpResponse = new ClientHttpResponse() { @Override public HttpStatus getStatusCode() throws IOException { diff --git a/dcaedt_catalog/service/pom.xml b/dcaedt_catalog/service/pom.xml index b4f20d2..85a3019 100644 --- a/dcaedt_catalog/service/pom.xml +++ b/dcaedt_catalog/service/pom.xml @@ -26,9 +26,9 @@ org.springframework.boot spring-boot-maven-plugin - 1.3.3.RELEASE + 2.0.5.RELEASE - org.onap.sdc.dcae.catalog.engine.CatalogEngine + exec @@ -60,7 +60,7 @@ org.springframework.boot spring-boot-starter-web - 1.4.1.RELEASE + 2.0.5.RELEASE org.springframework @@ -70,7 +70,7 @@ org.springframework.boot spring-boot-autoconfigure - 1.4.1.RELEASE + 2.0.5.RELEASE org.onap.sdc.dcae-d.dt-be-main -- cgit 1.2.3-korg