summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-02-14 15:31:55 +0100
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-02-14 15:31:55 +0100
commit7c083746477e46a662ce3eb2664a050a210d971f (patch)
treee25ceb4b93be421155c6c3a15f2f785311b87626 /pom.xml
parent9ebb9c1aa320e49c581ba1a66202cc2f2bda0c5a (diff)
Remove Camunda and replace by Camel
The camunda has been replaced by Camel so that DB could be removed. Also the unit tests has been reworked and maven dependencies have been changed Issue-ID: CLAMP-85 Change-Id: I781c3c83cecbdae3535c7e036e62ae83c6b6852f Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml85
1 files changed, 57 insertions, 28 deletions
diff --git a/pom.xml b/pom.xml
index bb2534d3..b0890a57 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,12 +66,13 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<docker.mariadb.port.host>3306</docker.mariadb.port.host>
+ <docker.http-cache.port.host>2080</docker.http-cache.port.host>
<project.scm.id>git-server</project.scm.id>
<java.version>1.8</java.version>
<eelf.core.version>1.0.0</eelf.core.version>
<camel.version>2.20.1</camel.version>
- <springboot.version>1.5.9.RELEASE</springboot.version>
+ <springboot.version>1.5.10.RELEASE</springboot.version>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
@@ -85,6 +86,8 @@
<skip.docker.build>true</skip.docker.build>
<skip.docker.push>true</skip.docker.push>
<skip.staging.artifacts>false</skip.staging.artifacts>
+ <http.proxy></http.proxy>
+
</properties>
<distributionManagement>
@@ -153,14 +156,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
- <!-- Camunda BOM -->
- <dependency>
- <groupId>org.camunda.bpm</groupId>
- <artifactId>camunda-bom</artifactId>
- <version>7.6.0</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
<!-- Camel BOM -->
<dependency>
<groupId>org.apache.camel</groupId>
@@ -182,7 +177,6 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
-
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -190,7 +184,7 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-cxf-starter</artifactId>
+ <artifactId>camel-servlet-starter</artifactId>
</dependency>
<!-- Spring famework -->
<dependency>
@@ -202,8 +196,9 @@
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-jersey</artifactId>
+ <groupId>com.paypal.springboot</groupId>
+ <artifactId>resteasy-spring-boot-starter</artifactId>
+ <version>2.3.4-RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -221,18 +216,28 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>com.vaadin.external.google</groupId>
+ <artifactId>android-json</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- Others dependencies -->
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>1.2.3</version>
</dependency>
-
- <!-- For CAmunda -->
<dependency>
- <groupId>org.camunda.bpm.extension.springboot</groupId>
- <artifactId>camunda-bpm-spring-boot-starter</artifactId>
- <version>2.0.0</version>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.2.3</version>
</dependency>
<dependency>
- <groupId>org.camunda.bpm.extension.springboot</groupId>
- <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
- <version>2.0.0</version>
+ <groupId>commons-dbcp</groupId>
+ <artifactId>commons-dbcp</artifactId>
+ <version>1.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
@@ -266,11 +271,6 @@
<artifactId>junit</artifactId>
</dependency>
<dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- <version>1.9.5</version>
- </dependency>
- <dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
@@ -770,13 +770,42 @@
</ports>
</run>
</image>
+ <image>
+ <name>python:2</name>
+ <alias>python</alias>
+ <run>
+ <hostname>python</hostname>
+ <volumes>
+ <bind>
+ <volume>${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app</volume>
+ <volume>${project.basedir}/src/test/resources/http-cache/sdc-example/:/usr/src/http-cache-app/data-cache</volume>
+ </bind>
+ </volumes>
+ <wait>
+ <tcp>
+ <ports>
+ <port>8080</port>
+ </ports>
+ <mode>direct</mode>
+ </tcp>
+ <time>120000</time>
+ </wait>
+ <ports>
+ <port>${docker.http-cache.port.host}:8080</port>
+ </ports>
+ <workingDir>/usr/src/http-cache-app</workingDir>
+ <cmd>
+ <shell>./start_http_cache.sh ${http.proxy}</shell>
+ </cmd>
+ </run>
+ </image>
</images>
<skip>${skipITs}</skip>
</configuration>
<executions>
<execution>
- <id>mariadb-start-for-it</id>
+ <id>docker-start-for-it</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
@@ -786,7 +815,7 @@
</configuration>
</execution>
<execution>
- <id>mariadb-stop-for-it</id>
+ <id>docker-stop-for-it</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>