Remove legacy operational Policy
[clamp.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e8b4ba0..6ab125b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,6 +6,8 @@
   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights
                               reserved.
   ================================================================================
+  Modifications Copyright (c) 2020 Nordix
+  ================================================================================
   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
@@ -26,7 +28,7 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.onap.clamp</groupId>
        <artifactId>clds</artifactId>
-       <version>5.1.0-SNAPSHOT</version>
+       <version>5.1.1-SNAPSHOT</version>
        <name>clamp</name>
 
 
@@ -76,8 +78,9 @@
                <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>
+               <policy.models.version>2.3.2-SNAPSHOT</policy.models.version>
 
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                <docker.skip.tag>true</docker.skip.tag>
                <skip.staging.artifacts>false</skip.staging.artifacts>
                <python.http.proxy.param />
-               <tomcat.version>9.0.33</tomcat.version>
+               <tomcat.version>9.0.37</tomcat.version>
                <ui.react.src>ui-react</ui.react.src>
                <ui.react.lib.src>ui-react-lib</ui.react.lib.src>
                <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url>
                                        <groupId>org.slf4j</groupId>
                                        <artifactId>slf4j-ext</artifactId>
                                </exclusion>
-                               <exclusion>
-                                       <groupId>com.fasterxml.jackson.core</groupId>
-                                       <artifactId>jackson-databind</artifactId>
-                               </exclusion>
                        </exclusions>
                </dependency>
-               <dependency>
-                       <groupId>javax.xml.ws</groupId>
-                       <artifactId>jaxws-api</artifactId>
-                       <version>2.3.1</version>
-               </dependency>
-               <dependency>
-                       <groupId>javax.xml.bind</groupId>
-                       <artifactId>jaxb-api</artifactId>
-                       <version>2.3.0</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.glassfish.jersey.core</groupId>
-                       <artifactId>jersey-common</artifactId>
-                       <version>2.27</version>
-               </dependency>
                <!-- Spring famework -->
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-data-jpa</artifactId>
                </dependency>
                <!-- Others dependencies -->
+               <!-- Jaxws is required for AAF -->
+               <dependency>
+                       <groupId>javax.xml.ws</groupId>
+                       <artifactId>jaxws-api</artifactId>
+                       <version>2.3.1</version>
+               </dependency>
                <dependency>
                        <groupId>org.onap.aaf.authz</groupId>
                        <artifactId>aaf-cadi-aaf</artifactId>
                        <artifactId>logback-classic</artifactId>
                        <version>1.2.3</version>
                </dependency>
-               <dependency>
-                       <groupId>commons-dbcp</groupId>
-                       <artifactId>commons-dbcp</artifactId>
-                       <version>1.4</version>
-               </dependency>
                <dependency>
                        <groupId>commons-io</groupId>
                        <artifactId>commons-io</artifactId>
                        <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>
                </dependency>
-               <dependency>
-                       <groupId>javax.ws.rs</groupId>
-                       <artifactId>javax.ws.rs-api</artifactId>
-                       <version>2.0</version>
-               </dependency>
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-               </dependency>
                <dependency>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                        <artifactId>persistence-api</artifactId>
                        <version>1.0.2</version>
                </dependency>
+               <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>commons-csv</artifactId>
-                       <version>1.3</version>
+                       <groupId>commons-codec</groupId>
+                       <artifactId>commons-codec</artifactId>
+                       <version>1.14</version>
                </dependency>
-               <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
                <dependency>
                        <groupId>org.springframework.security</groupId>
                        <artifactId>spring-security-web</artifactId>
                        <artifactId>guava</artifactId>
                        <version>27.0-jre</version>
                </dependency>
-               <dependency>
-                       <groupId>commons-codec</groupId>
-                       <artifactId>commons-codec</artifactId>
-                       <version>1.13</version>
-               </dependency>
+
                <!-- Remove the MYSQL connector and replace it by Mariadb -->
                <dependency>
                        <groupId>org.mariadb.jdbc</groupId>
                        <artifactId>mariadb-java-client</artifactId>
-                       <version>2.2.1</version>
+                       <version>2.6.2</version>
                </dependency>
                <!-- For SDC Controller -->
                <dependency>
                        <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>
                        <version>2.1.3</version>
                </dependency>
 
+               <!-- For TOSCA Controlloop  -->
+               <dependency>
+                       <groupId>org.onap.policy.models</groupId>
+                       <artifactId>policy-models-base</artifactId>
+                       <version>${policy.models.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.onap.policy.models</groupId>
+                       <artifactId>policy-models-tosca</artifactId>
+                       <version>${policy.models.version}</version>
+               </dependency>
+
                <!-- TESTING -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
                <dependency>
                        <groupId>org.assertj</groupId>
                        <artifactId>assertj-core</artifactId>
                        <version>2.0.4</version>
                        <scope>test</scope>
                </dependency>
+               <dependency>
+                       <groupId>com.github.docker-java</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>
+                       <artifactId>docker-java</artifactId>
+                       <version>3.2.1</version>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 
        <build>
                                                                <portName>docker.mariadb.port.host</portName>
                                                                <portName>docker.http-cache.port.host</portName>
                                                                <portName>clamp.it.tests.http-redirected</portName>
+                                                               <portName>clamp.it.tests.robotframework.http</portName>
                                                                <portName>clamp.it.tests.https</portName>
                                                                <portName>clamp.it.tests.http</portName>
                                                        </portNames>
                                        <apiVersion>1.35</apiVersion>
                                        <images>
                                                <image>
-                                                       <name>library/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>
                                                        </run>
                                                </image>
                                                <image>
-                                                       <name>library/python:2-slim</name>
+                                                       <name>docker.io/python:2-slim</name>
                                                        <alias>python</alias>
                                                        <run>
                                                                <hostname>python</hostname>