[DCAEGEN2] Vulnerability addressal for TCAgen2 28/127028/8 1.3.2-tca-gen2
authordenilson.l65 <denilson.l65@wipro.com>
Wed, 9 Feb 2022 05:23:54 +0000 (05:23 +0000)
committerdenilson.l65 <denilson.l65@wipro.com>
Mon, 21 Feb 2022 05:11:13 +0000 (05:11 +0000)
Issue-ID: DCAEGEN2-3042
Signed-off-by: denilson.l65 <denilson.l65@wipro.com>
Change-Id: I19dbbca5b985f582b1c4201fc2abf55295a56c59

17 files changed:
ChangeLog.md [new file with mode: 0644]
dcae-analytics/dcae-analytics-model/pom.xml
dcae-analytics/dcae-analytics-tca-core/pom.xml
dcae-analytics/dcae-analytics-tca-model/pom.xml
dcae-analytics/dcae-analytics-tca-web/pom.xml
dcae-analytics/dcae-analytics-test/pom.xml
dcae-analytics/dcae-analytics-web/pom.xml
dcae-analytics/dpo/tcagen2-componentspec-v3-policy.json
dcae-analytics/dpo/tcagen2-componentspec-v3.json
dcae-analytics/pom.xml
dcae-analytics/version.properties
eelf-logger/eelf-logger-api/pom.xml
eelf-logger/eelf-logger-logback-impl/pom.xml
eelf-logger/eelf-logger-model/pom.xml
eelf-logger/pom.xml
pom.xml
version.properties

diff --git a/ChangeLog.md b/ChangeLog.md
new file mode 100644 (file)
index 0000000..16c0b71
--- /dev/null
@@ -0,0 +1,8 @@
+# Change Log
+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.3.2] - 2022/02/21
+         - [DCAEGEN2-3042](https://jira.onap.org/browse/DCAEGEN2-3042) - Remove security vulnerabilities
index 69f21d3..4a0b64a 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -28,7 +31,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-model</artifactId>
index cdc75d1..d21a86c 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -28,7 +31,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-tca-core</artifactId>
index 92bd50f..488d1c8 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -28,7 +31,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-tca-model</artifactId>
index 0a1b994..fc7ccaa 100644 (file)
@@ -1,12 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
+  ~ Copyright (c) 2019 IBM.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
   ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
-  ~ Copyright (c) 2021 Wipro Limited.
-  ~ ================================================================================
-  ~ Modifications Copyright (C) 2019 IBM
+  ~ Copyright (c) 2021-2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -32,7 +33,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-tca-web</artifactId>
@@ -43,9 +44,9 @@
     <description>Contains Web related code for TCA</description>
 
     <properties>
-           <main.basedir>${project.parent.basedir}</main.basedir>
-           <undertow-core.version>2.2.7.Final</undertow-core.version>
-           <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
+            <main.basedir>${project.parent.basedir}</main.basedir>
+            <undertow-core.version>2.2.14.Final</undertow-core.version>
+            <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
     <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
     </properties>
 
@@ -69,7 +70,7 @@
             <exclusions>
                 <exclusion>
                     <groupId>io.undertow</groupId>
-                   <artifactId>undertow-core</artifactId>
+                    <artifactId>undertow-core</artifactId>
               </exclusion>
             </exclusions>
         </dependency>
         <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
         <dependency>
             <groupId>io.undertow</groupId>
-           <artifactId>undertow-core</artifactId>
-           <version>${undertow-core.version}</version>
+            <artifactId>undertow-core</artifactId>
+            <version>${undertow-core.version}</version>
         </dependency>
 
     </dependencies>
                    <id>tag-version</id>
                    <phase>install</phase>
                    <goals>
-                      <goal>tag</goal>
-                      <goal>push</goal>
+                        <goal>tag</goal>
+                        <goal>push</goal>
                    </goals>
                         <configuration>
                               <tag>${project.version}</tag>
                                <id>tag-version-ts</id>
                                <phase>install</phase>
                                <goals>
-                                      <goal>tag</goal>
-                                      <goal>push</goal>
+                                   <goal>tag</goal>
+                                   <goal>push</goal>
                                </goals>
                                 <configuration>
                               <tag>${project.version}-${maven.build.timestamp}Z</tag>
index d61f9be..ea2ca88 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~  TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -28,7 +31,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-test</artifactId>
                     <groupId>org.junit.vintage</groupId>
                     <artifactId>junit-vintage-engine</artifactId>
                 </exclusion>
-                           <exclusion>
-                             <groupId>org.mockito</groupId>
-                             <artifactId>mockito-core</artifactId>
-                           </exclusion>
-                </exclusions>
+                <exclusion>
+                    <groupId>org.mockito</groupId>
+                    <artifactId>mockito-core</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!-- JSON SERIALIZATION/DESERIALIZATION LIBRARY -->
index 5d79faf..6244dea 100644 (file)
@@ -1,10 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
   ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
-  ~ Copyright (c) 2021 Wipro Limited.
+  ~ Copyright (c) 2021-2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -30,7 +32,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>dcae-analytics</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics-web</artifactId>
     <description>Contains common web code for all DCAE Analytics Modules</description>
 
     <properties>
-           <main.basedir>${project.parent.basedir}</main.basedir>
-           <undertow-core.version>2.2.7.Final</undertow-core.version>
-           <httpclient.version>4.5.13</httpclient.version>
+            <main.basedir>${project.parent.basedir}</main.basedir>
+            <undertow-core.version>2.2.14.Final</undertow-core.version>
+            <httpclient.version>4.5.13</httpclient.version>
     </properties>
 
-
     <dependencies>
 
         <!-- PROJECT DEPENDENCIES -->
             <exclusions>
                 <exclusion>
                     <groupId>org.springframework.boot</groupId>
-                   <artifactId>spring-boot-starter-tomcat</artifactId>
+                    <artifactId>spring-boot-starter-tomcat</artifactId>
                 </exclusion>
                 <exclusion>
                     <groupId>io.undertow</groupId>
-                   <artifactId>undertow-core</artifactId>
+                    <artifactId>undertow-core</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -89,7 +90,7 @@
             <exclusions>
                 <exclusion>
                     <groupId>io.undertow</groupId>
-                   <artifactId>undertow-websockets-jsr</artifactId>
+                    <artifactId>undertow-websockets-jsr</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
         <!-- APACHE HTTP CLIENT -->
         <dependency>
             <groupId>org.apache.httpcomponents</groupId>
-           <artifactId>httpclient</artifactId>
-           <version>${httpclient.version}</version>
+            <artifactId>httpclient</artifactId>
+            <version>${httpclient.version}</version>
         </dependency>
 
         <!-- UTILITIES -->
          <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
         <dependency>
             <groupId>io.undertow</groupId>
-           <artifactId>undertow-core</artifactId>
-           <version>${undertow-core.version}</version>
+            <artifactId>undertow-core</artifactId>
+            <version>${undertow-core.version}</version>
         </dependency>
 
     </dependencies>
index a0bd636..6861123 100644 (file)
@@ -1,7 +1,7 @@
 {
   "self": {
     "name": "dcae-tcagen2",
-    "version": "1.3.1",
+    "version": "1.3.2",
     "description": "TCAGen2 Docker Application",
     "component_type": "docker"
   },
@@ -73,7 +73,7 @@
   },
   "artifacts": [
     {
-      "uri": "onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.3.1",
+      "uri": "onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.3.2",
       "type": "docker image"
     }
   ],
index 0f2853e..8220466 100644 (file)
@@ -1,7 +1,7 @@
 {
   "self": {
     "name": "dcae-tcagen2",
-    "version": "1.3.1",
+    "version": "1.3.2",
     "description": "TCAGen2 Docker Application",
     "component_type": "docker"
   },
@@ -73,7 +73,7 @@
   },
   "artifacts": [
     {
-      "uri": "onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.3.1",
+      "uri": "onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.3.2",
       "type": "docker image"
     }
   ],
index 01f3c3d..ce7521e 100644 (file)
@@ -1,9 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
   ~ Copyright (c) 2021 China Mobile Property. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -29,7 +32,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>tca-gen2-parent</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>dcae-analytics</artifactId>
index 33359df..168bd06 100644 (file)
@@ -1,7 +1,9 @@
-#
+# ============LICENSE_START=======================================================
+# TCAgen2
 # ================================================================================
 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
 # Copyright (c) 2021 Samsung Electronics. All rights reserved.
+# Copyright (c) 2022 Wipro Limited.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +21,7 @@
 #
 major=1
 minor=3
-patch=1
+patch=2
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT
index 6ed8ddd..db34c78 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -28,7 +31,7 @@
     <parent>
         <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>eelf-logger</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>eelf-logger-api</artifactId>
index e427e9f..1dbc83f 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -26,9 +29,9 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-               <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
+        <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>eelf-logger</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>eelf-logger-logback-impl</artifactId>
index 5eaff67..493f10d 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
@@ -26,9 +29,9 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-               <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
+        <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
         <artifactId>eelf-logger</artifactId>
-        <version>1.3.1-SNAPSHOT</version>
+        <version>${revision}</version>
     </parent>
 
     <artifactId>eelf-logger-model</artifactId>
index 11ed323..a6c7f64 100644 (file)
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~ TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
 
     <modelVersion>4.0.0</modelVersion>
 
-       <parent>
-               <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
-               <artifactId>tca-gen2-parent</artifactId>
-               <version>1.3.1-SNAPSHOT</version>
-       </parent>
+        <parent>
+                <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
+                <artifactId>tca-gen2-parent</artifactId>
+                <version>${revision}</version>
+        </parent>
 
     <artifactId>eelf-logger</artifactId>
     <name>EELF Logger Parent</name>
diff --git a/pom.xml b/pom.xml
index 60f6655..083127b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0"?>
 <!--
+  ~ ============LICENSE_START=======================================================
+  ~  TCAgen2
   ~ ================================================================================
   ~ Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
   ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
+  ~ Copyright (c) 2022 Wipro Limited.
   ~ ================================================================================
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
 
     <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
     <artifactId>tca-gen2-parent</artifactId>
-    <version>1.3.1-SNAPSHOT</version>
+    <version>${revision}</version>
+
+    <properties>
+        <revision>1.3.2-SNAPSHOT</revision>
+    </properties>
 
     <name>dcaegen2-analytics-tca-gen2</name>
     <packaging>pom</packaging>
index fee4928..e185183 100644 (file)
@@ -1,6 +1,25 @@
+##################################################################################
+# ============LICENSE_START=======================================================
+# TCAgen2
+# ================================================================================
+# Copyright (c) 2022 Wipro Limited.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=========================================================
+##################################################################################
 major=1
 minor=3
-patch=1
+patch=2
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT