Fix SDK Vulnerabilities 77/130077/11
authorKasperki <pawel.kasperkiewicz@nokia.com>
Fri, 29 Jul 2022 16:28:01 +0000 (18:28 +0200)
committerKasperki <pawel.kasperkiewicz@nokia.com>
Mon, 8 Aug 2022 08:53:04 +0000 (10:53 +0200)
Issue-ID: DCAEGEN2-3220
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Ic7df50fd22900bc680f7fff01871625ce809b4b5

28 files changed:
Changelog.md
pom.xml
rest-services/cbs-client/pom.xml
rest-services/dmaap-client/pom.xml
rest-services/http-client/pom.xml
rest-services/model/pom.xml
rest-services/pom.xml
security/crypt-password/pom.xml
security/pom.xml
security/ssl/pom.xml
services/common/pom.xml
services/external-schema-manager/pom.xml
services/hv-ves-client/pom.xml
services/hv-ves-client/producer/api/pom.xml
services/hv-ves-client/producer/ct/pom.xml
services/hv-ves-client/producer/impl/pom.xml
services/hv-ves-client/producer/pom.xml
services/hv-ves-client/protobuf/pom.xml
services/pom.xml
standardization/api-custom-header/pom.xml
standardization/moher-api/healthstate/pom.xml
standardization/moher-api/metrics/pom.xml
standardization/moher-api/pom.xml
standardization/moher-api/server-adapters/pom.xml
standardization/moher-api/server-adapters/reactor-netty/pom.xml
standardization/moher-api/server-adapters/spring-webflux/pom.xml
standardization/pom.xml
version.properties

index 3df29f3..31994d1 100644 (file)
@@ -4,6 +4,10 @@ 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.10] - 2022/07/29
+### Added
+    - [DCAEGEN2-3220] (https://jira.onap.org/browse/DCAEGEN2-3220) - Fix SDK Vulnerability. Top up Spring-Boot version to 2.7.2
+
 ## [1.8.9] - 2022/07/15
 ### Added
     - [DCAEGEN2-3223] (https://jira.onap.org/browse/DCAEGEN2-3223) - Fix CBS client environment variable substitution fails for complex cases
diff --git a/pom.xml b/pom.xml
index 76a0fec..68b3720 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@ language governing permissions and limitations under the License.
 
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
 
     <name>dcaegen2-services-sdk</name>
     <description>Common SDK repo for all DCAE Services</description>
@@ -73,28 +73,29 @@ language governing permissions and limitations under the License.
 
     <properties>
         <java.version>11</java.version>
-        <junit-jupiter.version>5.7.0</junit-jupiter.version>
+        <junit-jupiter.version>5.9.0</junit-jupiter.version>
         <junit-vintage.version>5.7.0</junit-vintage.version>
         <junit-platform.version>1.3.1</junit-platform.version>
-        <immutables.version>2.7.5</immutables.version>
+        <immutables.version>2.9.0</immutables.version>
         <assertj-core.version>3.12.2</assertj-core.version>
         <reactor.bom.version>2020.0.1</reactor.bom.version>
         <slf4j.version>1.7.25</slf4j.version>
-        <logback.version>1.2.3</logback.version>
+        <logback.version>1.2.11</logback.version>
         <mockito.version>2.28.2</mockito.version>
-        <protobuf.version>3.6.1</protobuf.version>
+        <protobuf.version>3.21.1</protobuf.version>
         <vavr.version>0.10.2</vavr.version>
         <commons-text.version>1.6</commons-text.version>
         <jetbrains-annotations.version>16.0.3</jetbrains-annotations.version>
         <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version>
         <testcontainers.version>1.15.1</testcontainers.version>
-        <spring.boot.version>2.5.9</spring.boot.version>
+        <spring.boot.version>2.7.2</spring.boot.version>
         <system.rules.version>1.17.2</system.rules.version>
         <openapi4j.version>1.0.3</openapi4j.version>
         <mockserver-client.version>5.11.2</mockserver-client.version>
         <sonar.coverage.jacoco.xmlReportPaths>
             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
         </sonar.coverage.jacoco.xmlReportPaths>
+        <revision>1.8.10-SNAPSHOT</revision>
     </properties>
 
     <modules>
index e99fc44..d7c0753 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>dcaegen2-services-sdk-rest-services</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
index b439098..8123af3 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk</groupId>
     <artifactId>dcaegen2-services-sdk-rest-services</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
index f182d63..4223de0 100644 (file)
@@ -28,7 +28,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>dcaegen2-services-sdk-rest-services</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
             <artifactId>junit-jupiter-params</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.junit.jupiter</groupId>
+            <artifactId>junit-jupiter-api</artifactId>
+            <scope>test</scope>
+        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
index 4a6dbe1..0b47431 100644 (file)
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>dcaegen2-services-sdk-rest-services</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
index 5d3be93..cf79b9b 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.sdk</groupId>
@@ -36,4 +36,8 @@ language governing permissions and limitations under the License.
     <module>cbs-client</module>
     <module>dmaap-client</module>
   </modules>
+
+  <properties>
+    <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
+  </properties>
 </project>
index 5a8795e..4b47939 100644 (file)
@@ -19,7 +19,7 @@ language governing permissions and limitations under the License.
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
         <artifactId>dcaegen2-services-sdk-security</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
index 37a3f02..cfc2da9 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
@@ -35,4 +35,8 @@ language governing permissions and limitations under the License.
     <module>ssl</module>
   </modules>
 
+  <properties>
+    <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
+  </properties>
+
 </project>
index 389c1aa..bb2c71e 100644 (file)
@@ -19,7 +19,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
     <artifactId>dcaegen2-services-sdk-security</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>ssl</artifactId>
index bb97d64..bee6427 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>dcaegen2-services-sdk-services</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcaegen2-services-sdk-services-common</artifactId>
index b8ad818..c958791 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>dcaegen2-services-sdk-services</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcaegen2-services-sdk-services-external-schema-manager</artifactId>
index 5ade0cb..cfe89c2 100644 (file)
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk</groupId>
     <artifactId>dcaegen2-services-sdk-services</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>dcaegen2-services-sdk-services-hvvesclient</artifactId>
index 0c88b3f..cf39094 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>hvvesclient-producer</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>hvvesclient-producer-api</artifactId>
index 6e46045..edf1805 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
         <artifactId>hvvesclient-producer</artifactId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>hvvesclient-producer-ct</artifactId>
index 21bd7fa..46ff06d 100644 (file)
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk</groupId>
     <artifactId>hvvesclient-producer</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>hvvesclient-producer-impl</artifactId>
index 4b06d68..b3c2841 100644 (file)
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk</groupId>
     <artifactId>dcaegen2-services-sdk-services-hvvesclient</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <artifactId>hvvesclient-producer</artifactId>
index 36f4838..b3d535a 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <artifactId>dcaegen2-services-sdk-services-hvvesclient</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>High Volume VES Collector Client :: Protobuf</name>
         </protobuf-generated-files.directory>
     </properties>
 
+    <dependencies>
+        <dependency>
+            <groupId>com.google.protobuf</groupId>
+            <artifactId>protobuf-java</artifactId>
+        </dependency>
+    </dependencies>
+
     <build>
         <plugins>
             <plugin>
@@ -63,6 +70,7 @@
                 <artifactId>protoc-jar-maven-plugin</artifactId>
                 <executions>
                     <execution>
+                        <id>generate-sources</id>
                         <phase>generate-sources</phase>
                         <goals>
                             <goal>run</goal>
         </plugins>
     </build>
 
-    <dependencies>
-        <dependency>
-            <groupId>com.google.protobuf</groupId>
-            <artifactId>protobuf-java</artifactId>
-        </dependency>
-    </dependencies>
-
 </project>
index 3aaf196..7ddb0cc 100644 (file)
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
   </parent>
 
   <groupId>org.onap.dcaegen2.services.sdk</groupId>
@@ -40,4 +40,8 @@
     <module>hv-ves-client</module>
     <module>external-schema-manager</module>
   </modules>
+
+  <properties>
+    <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
+  </properties>
 </project>
index a2cf661..4f58163 100644 (file)
@@ -20,7 +20,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services.sdk</groupId>
     <artifactId>dcaegen2-services-sdk-standardization</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
     <relativePath>..</relativePath>
   </parent>
   
@@ -42,7 +42,6 @@ language governing permissions and limitations under the License.
     <dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
-       <version>2.8.5</version>
     </dependency>
     <dependency>
       <groupId>org.jetbrains</groupId>
index 19ae0a6..8525218 100644 (file)
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>dcaegen2-sdk-moher-api</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck :: Health state</name>
index 53d7547..c930860 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <artifactId>dcaegen2-sdk-moher-api</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck :: Metrics</name>
index 22abb5b..fd360c4 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <artifactId>dcaegen2-services-sdk-standardization</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck</name>
index d396a77..72ffa37 100644 (file)
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>dcaegen2-sdk-moher-api</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck :: Server Adapters</name>
index 72db4ab..f238b95 100644 (file)
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>dcaegen2-sdk-moher-server-adapters</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck :: Server Adapters :: Reactor Netty</name>
index b71aa43..4fea8db 100644 (file)
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>dcaegen2-sdk-moher-server-adapters</artifactId>
         <groupId>org.onap.dcaegen2.services.sdk</groupId>
-        <version>1.8.9-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <name>Monitoring and Healthcheck :: Server Adapters :: Spring Webflux</name>
@@ -45,6 +45,7 @@
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-webflux</artifactId>
+<!--            <version>5.3.20</version>-->
         </dependency>
         <dependency>
             <groupId>org.onap.dcaegen2.services.sdk</groupId>
index 193c080..af0ec53 100644 (file)
@@ -21,7 +21,7 @@ language governing permissions and limitations under the License.
   <parent>
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.8.9-SNAPSHOT</version>
+    <version>${revision}</version>
     <relativePath>..</relativePath>
   </parent>
 
@@ -37,4 +37,8 @@ language governing permissions and limitations under the License.
     <module>moher-api</module>
   </modules>
 
+  <properties>
+    <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
+  </properties>
+
 </project>
index 4ae65b7..51dd6a7 100644 (file)
@@ -1,6 +1,6 @@
 major=1
 minor=8
-patch=9
+patch=10
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT