Update some direct dependencies 17/110817/2
authorsebdet <sebastien.determe@intl.att.com>
Fri, 31 Jul 2020 16:25:34 +0000 (18:25 +0200)
committersebdet <sebastien.determe@intl.att.com>
Mon, 3 Aug 2020 12:48:15 +0000 (14:48 +0200)
Update vulnerable dependencies, camel + Spring boot + Mariadb

Issue-ID: CLAMP-850
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I9850a07037d7bab0f303c69d5682b1f9de282425

extra/docker/clamp/docker-compose.yml
pom.xml
src/main/resources/boot-message.txt
src/test/java/org/onap/clamp/clds/it/config/SdcControllersConfigurationItCase.java
src/test/java/org/onap/clamp/clds/it/sdc/controller/SdcSingleControllerItCase.java
src/test/java/org/onap/clamp/clds/tosca/update/ToscaConverterWithDictionarySupportItCase.java
src/test/java/org/onap/clamp/loop/CsarInstallerItCase.java
src/test/java/org/onap/clamp/policy/downloader/PolicyEngineControllerTestItCase.java

index 81cac25..3a06212 100644 (file)
@@ -8,7 +8,7 @@ services:
     ports:
       - "2443:2443"
   db:
-    image: mariadb:10.4.7
+    image: mariadb:10.5.4
     volumes:
       - "/var/lib/mysql"
       - "../mariadb/conf1:/etc/mysql/conf.d:ro"
@@ -26,7 +26,7 @@ services:
     env_file:
       - clamp.env
     ports:
-      - "8443:8443"
+      - "10443:8443"
       
   third-party-proxy:
     image: python:2-slim
diff --git a/pom.xml b/pom.xml
index cf1068c..46d9068 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -76,8 +76,8 @@
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
                <eelf.core.version>1.0.0</eelf.core.version>
-               <camel.version>2.25.0</camel.version>
-               <springboot.version>2.2.6.RELEASE</springboot.version>
+               <camel.version>2.25.2</camel.version>
+               <springboot.version>2.2.9.RELEASE</springboot.version>
 
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                                        <groupId>org.slf4j</groupId>
                                        <artifactId>slf4j-ext</artifactId>
                                </exclusion>
-                               <exclusion>
-                                       <groupId>com.fasterxml.jackson.core</groupId>
-                                       <artifactId>jackson-databind</artifactId>
-                               </exclusion>
                        </exclusions>
                </dependency>
                <dependency>
                        <artifactId>commons-vfs2</artifactId>
                        <version>2.2</version>
                </dependency>
-               <dependency>
-                       <groupId>joda-time</groupId>
-                       <artifactId>joda-time</artifactId>
-               </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                        <groupId>org.onap.sdc.sdc-tosca</groupId>
                        <artifactId>sdc-tosca</artifactId>
                        <version>1.5.1</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>com.fasterxml.jackson.core</groupId>
+                                       <artifactId>jackson-databind</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
                <dependency>
                        <groupId>org.yaml</groupId>
                        <artifactId>docker-java-core</artifactId>
                        <version>3.2.1</version>
                        <scope>test</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>com.fasterxml.jackson.core</groupId>
+                                       <artifactId>jackson-databind</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
                <dependency>
                        <groupId>com.github.docker-java</groupId>
                                        <apiVersion>1.35</apiVersion>
                                        <images>
                                                <image>
-                                                       <name>docker.io/mariadb:10.3.12</name>
+                                                       <name>docker.io/mariadb:10.5.4</name>
                                                        <alias>mariadb</alias>
                                                        <run>
                                                                <env>
                                                                        </bind>
                                                                </volumes>
                                                                <wait>
-                                                                       <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
-                                                                       <time>600000</time>
+                                                                       <log>socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
+                                                                       <time>300000</time>
                                                                        <exec>
                                                                                <preStop>/docker-entrypoint-initdb.d/dump/backup-data-only.sh</preStop>
                                                                        </exec>
index a1c646f..ef1478b 100644 (file)
@@ -1,16 +1,12 @@
 
-  ___   ____    ____  ____       _____  ____    ____  ____   __  _  _____  __ __  ____  ______    
- /   \ |    \  /    T|    \     |     ||    \  /    T|    \ |  l/ ]|     ||  T  T|    \|      T   
-Y     Y|  _  YY  o  ||  o  )    |   __j|  D  )Y  o  ||  _  Y|  ' / |   __j|  |  ||  D  )      |   
-|  O  ||  |  ||     ||   _/     |  l_  |    / |     ||  |  ||    \ |  l_  |  |  ||    /l_j  l_j   
-|     ||  |  ||  _  ||  |       |   _] |    \ |  _  ||  |  ||     Y|   _] |  :  ||    \  |  |     
-l     !|  |  ||  |  ||  |       |  T   |  .  Y|  |  ||  |  ||  .  ||  T   l     ||  .  Y |  |     
- \___/ l__j__jl__j__jl__j       l__j   l__j\_jl__j__jl__j__jl__j\_jl__j    \__,_jl__j\_j l__j     
-                                 __  _       ____  ___ ___  ____  
-                                /  ]| T     /    T|   T   T|    \ 
-                               /  / | |    Y  o  || _   _ ||  o  )
-                              /  /  | l___ |     ||  \_/  ||   _/ 
-                             /   \_ |     T|  _  ||   |   ||  |   
-                             \     ||     ||  |  ||   |   ||  |   
-                              \____jl_____jl__j__jl___j___jl__j   
+ ____ ____ ____ ____ _________ ____ ____ ____ ____ ____ ____
+||O |||N |||A |||P |||       |||G |||u |||i |||l |||i |||n ||
+||__|||__|||__|||__|||_______|||__|||__|||__|||__|||__|||__||
+|/__\|/__\|/__\|/__\|/_______\|/__\|/__\|/__\|/__\|/__\|/__\|
+            _________ ____ ____ ____ ____ ____
+           ||       |||C |||L |||A |||M |||P ||
+           ||_______|||__|||__|||__|||__|||__||
+           |/_______\|/__\|/__\|/__\|/__\|/__\|
+
+
    :: Starting ::                    
\ No newline at end of file
index 7ef7345..0c08a2e 100644 (file)
@@ -45,7 +45,7 @@ import org.springframework.test.util.ReflectionTestUtils;
  */
 @RunWith(SpringRunner.class)
 @SpringBootTest
-@ActiveProfiles(profiles = "clamp-default,clamp-default-user,clamp-sdc-controller")
+@ActiveProfiles({"clamp-default","clamp-default-user","clamp-sdc-controller"})
 public class SdcControllersConfigurationItCase {
 
     @Autowired
index 2cbabbe..a8c3e58 100644 (file)
@@ -58,7 +58,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest
-@ActiveProfiles(profiles = "clamp-default,clamp-default-user,clamp-sdc-controller")
+@ActiveProfiles({"clamp-default","clamp-default-user","clamp-sdc-controller"})
 public class SdcSingleControllerItCase {
 
     private static final String CSAR_ARTIFACT_NAME = "testArtifact.csar";
index ea11f80..7f0e576 100644 (file)
@@ -46,7 +46,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 
 @RunWith(SpringJUnit4ClassRunner.class)
 @SpringBootTest(classes = Application.class)
-@ActiveProfiles(profiles = "clamp-default,clamp-default-user,default-dictionary-elements")
+@ActiveProfiles({"clamp-default","clamp-default-user","default-dictionary-elements"})
 public class ToscaConverterWithDictionarySupportItCase {
 
     @Autowired
index ffb9244..1c33d5e 100644 (file)
@@ -74,7 +74,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = Application.class)
-@ActiveProfiles(profiles = "clamp-default,clamp-default-user,clamp-sdc-controller,legacy-operational-policy")
+@ActiveProfiles({"clamp-default","clamp-default-user","clamp-sdc-controller","legacy-operational-policy"})
 public class CsarInstallerItCase {
 
     private static final String CSAR_ARTIFACT_NAME_CDS = "example/sdc/service_Vloadbalancerms_cds.csar";
index 03b2e50..51b9376 100644 (file)
@@ -45,7 +45,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = Application.class)
-@ActiveProfiles(profiles = "clamp-default,clamp-policy-controller")
+@ActiveProfiles({"clamp-default","clamp-policy-controller"})
 public class PolicyEngineControllerTestItCase {
 
     @Autowired