aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-05-12 11:56:14 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-05-12 11:56:14 +0200
commitfb3e87f892ee321148e6988a7089a2e6da262c69 (patch)
tree10b8148dc086dfc28d8b18016533287e2a50ccae /pnfsimulator
parent7d8c7040c86c2aaf84e0e9f6de495e347f92bdae (diff)
Add profile "integration" that will run integration tests for PNF and Netconf
Issue-ID: INT-1533 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Ib03bad90ac6921e9f75bda6d1e5163ef05b06d3e
Diffstat (limited to 'pnfsimulator')
-rw-r--r--pnfsimulator/integration/pom.xml14
-rw-r--r--pnfsimulator/pom.xml1
2 files changed, 5 insertions, 10 deletions
diff --git a/pnfsimulator/integration/pom.xml b/pnfsimulator/integration/pom.xml
index 1e895bb..45cd6e1 100644
--- a/pnfsimulator/integration/pom.xml
+++ b/pnfsimulator/integration/pom.xml
@@ -41,6 +41,8 @@
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
+ <rest-assured.version>3.2.0</rest-assured.version>
+ <mongo-java-driver.version>3.9.1</mongo-java-driver.version>
</properties>
<dependencies>
@@ -48,53 +50,46 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
- <version>3.9.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
- <version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
- <version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
- <version>3.2.0</version>
+ <version>${rest-assured.version}</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
- <version>3.9.1</version>
+ <version>${mongo-java-driver.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
- <version>5.0.4.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
- <version>2.0.1.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
- <version>2.8.2</version>
</dependency>
<dependency>
<groupId>com.palantir.docker.compose</groupId>
<artifactId>docker-compose-rule-junit4</artifactId>
- <version>0.34.0</version>
</dependency>
</dependencies>
@@ -117,7 +112,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.12.1</version>
<configuration>
<includes>
<!--Execute only suites from the test folder-->
diff --git a/pnfsimulator/pom.xml b/pnfsimulator/pom.xml
index 6ffe1e1..2f5bab1 100644
--- a/pnfsimulator/pom.xml
+++ b/pnfsimulator/pom.xml
@@ -272,6 +272,7 @@
</dependency>
</dependencies>
<configuration>
+ <skipTests>${skip-unit-tests}</skipTests>
<detail>true</detail>
<printSummary>true</printSummary>
<useSystemClassLoader>false</useSystemClassLoader>