Remove vulnerability 81/127081/5 1.8.0
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>
Fri, 11 Feb 2022 12:48:25 +0000 (13:48 +0100)
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>
Mon, 14 Feb 2022 09:31:56 +0000 (10:31 +0100)
- Update DCAE SDK version from 1.8.7 to 1.8.8
- Update Spring Boot version from 2.4.8 to 2.5.9
- Update Spring Cloud version from 2020.0.1 to 2020.0.5

Change-Id: I0de15135572521feb399d75cd617f007394c6e4e
Issue-ID: DCAEGEN2-3050
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Changelog.md
pom.xml
prh-app-server/pom.xml
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshSchedulerTest.java
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java
prh-commons/pom.xml

index b624e91..78d659c 100644 (file)
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
+## [1.8.0] - 2022/02/14
+### Changed
+- Update DCAE SDK version from 1.8.7 to 1.8.8
+- [DCAEGEN2-3050] Update Spring Boot version from 2.4.8 to 2.5.9
+
 ## [1.7.1] - 2021/08/24
 ### Changed
 - Update DCAE SDK version from 1.6.0 to 1.8.7
diff --git a/pom.xml b/pom.xml
index 8d6c49e..409197e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
   ~ ============LICENSE_START=======================================================
   ~ PNF-REGISTRATION-HANDLER
   ~ ================================================================================
-  ~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
+  ~ Copyright (C) 2018-2022 NOKIA Intellectual Property. All rights reserved.
   ~ Copyright (C) 2021 Samsung Electronics. All rights reserved.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -33,7 +33,7 @@
 
   <groupId>org.onap.dcaegen2.services</groupId>
   <artifactId>prh</artifactId>
-  <version>1.7.1-SNAPSHOT</version>
+  <version>1.8.0-SNAPSHOT</version>
 
   <name>dcaegen2-services-prh</name>
   <description>PNF Registration Handler</description>
 
   <properties>
     <java.version>11</java.version>
-    <spring-boot.version>2.4.8</spring-boot.version>
-    <spring-cloud.version>2020.0.1</spring-cloud.version>
+    <spring-boot.version>2.5.9</spring-boot.version>
+    <spring-cloud.version>2020.0.5</spring-cloud.version>
     <springfox.version>3.0.0</springfox.version>
     <immutables.version>2.7.5</immutables.version>
-    <sdk.version>1.8.7</sdk.version>
+    <sdk.version>1.8.8</sdk.version>
     <guava.version>29.0-jre</guava.version>
     <sonar.coverage.jacoco.xmlReportPaths>
       ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
index 1d0f6b0..e92515b 100644 (file)
@@ -3,7 +3,7 @@
   ~ ============LICENSE_START=======================================================
   ~ PNF-REGISTRATION-HANDLER
   ~ ================================================================================
-  ~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
+  ~ Copyright (C) 2018-2022 NOKIA Intellectual Property. All rights reserved.
   ~ Copyright (C) 2021 Samsung Electronics. All rights reserved.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -27,7 +27,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>prh</artifactId>
-    <version>1.7.1-SNAPSHOT</version>
+    <version>1.8.0-SNAPSHOT</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.prh</groupId>
index 7ea08ae..71fc498 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * PNF-REGISTRATION-HANDLER
  * ================================================================================
- * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2022 NOKIA Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -89,7 +89,7 @@ class CbsConfigRefreshSchedulerTest {
 
         virtualTimeScheduler.advanceTimeBy(Duration.ofHours(10));
 
-        verifyZeroInteractions(contextRefresher);
+        verifyNoInteractions(contextRefresher);
     }
 
     @Test
@@ -135,4 +135,4 @@ class CbsConfigRefreshSchedulerTest {
 
         verify(contextRefresher).refresh();
     }
-}
\ No newline at end of file
+}
index 801f6c1..8d115ff 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * PNF-REGISTRATION-HANDLER
  * ================================================================================
- * Copyright (C) 2019-2021 NOKIA Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2022 NOKIA Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ import static org.mockito.BDDMockito.given;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.verifyZeroInteractions;
+import static org.mockito.Mockito.verifyNoInteractions;
 import static org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpMethod.DELETE;
 import static org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpMethod.GET;
 import static org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpMethod.PUT;
@@ -86,7 +86,7 @@ class BbsActionsTaskTest {
         ConsumerDmaapModel result = new BbsActionsTaskImpl(cbsConfiguration, httpClient).execute(consumerDmaapModel).block();
 
         // then
-        verifyZeroInteractions(httpClient);
+        verifyNoInteractions(httpClient);
         assertThat(result).isEqualTo(consumerDmaapModel);
     }
 
@@ -104,7 +104,7 @@ class BbsActionsTaskTest {
             .block();
 
         // then
-        verifyZeroInteractions(httpClient);
+        verifyNoInteractions(httpClient);
         assertThat(result).isEqualTo(consumerDmaapModel);
     }
 
@@ -246,4 +246,4 @@ class BbsActionsTaskTest {
     private String getBodyJson(String filename) {
         return new Scanner(loader.getResourceAsStream(filename)).useDelimiter("\\A").next();
     }
-}
\ No newline at end of file
+}
index 5a17c66..e5ac281 100644 (file)
@@ -3,7 +3,7 @@
   ~ ============LICENSE_START=======================================================
   ~ PNF-REGISTRATION-HANDLER
   ~ ================================================================================
-  ~ Copyright (C) 2018-2021 NOKIA Intellectual Property. All rights reserved.
+  ~ Copyright (C) 2018-2022 NOKIA Intellectual Property. All rights reserved.
   ~ Copyright (C) 2021 Samsung electronics. All rights reserved.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -27,7 +27,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>prh</artifactId>
-    <version>1.7.1-SNAPSHOT</version>
+    <version>1.8.0-SNAPSHOT</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.prh</groupId>