summaryrefslogtreecommitdiffstats
path: root/integration-tests/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/pom.xml')
-rw-r--r--integration-tests/pom.xml224
1 files changed, 216 insertions, 8 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index a4a6e9099d..fe5a09f989 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -25,7 +25,7 @@ limitations under the License.
<groupId>org.openecomp.sdc</groupId>
<artifactId>sdc-integration-tests</artifactId>
- <packaging>pom</packaging>
+ <packaging>jar</packaging>
<name>sdc-integration-tests</name>
<parent>
@@ -50,6 +50,127 @@ limitations under the License.
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>${snakeyaml.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>${guava.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>${testng.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>${gson.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.openecomp.sdc.be</groupId>
+ <artifactId>catalog-model</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.openecomp.sdc.be</groupId>
+ <artifactId>catalog-dao</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.aventstack</groupId>
+ <artifactId>extentreports</artifactId>
+ <version>3.0.6</version>
+ <!--to update -->
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.janusgraph</groupId>
+ <artifactId>janusgraph-core</artifactId>
+ <version>${janusgraph.version}</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <artifactId>slf4j-log4j12</artifactId>
+ <groupId>org.slf4j</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>commons-collections</artifactId>
+ <groupId>commons-collections</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>groovy</artifactId>
+ <groupId>org.codehaus.groovy</groupId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.thrift</groupId>
+ <artifactId>libthrift</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <version>${assertj.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.clearspring.analytics</groupId>
+ <artifactId>stream</artifactId>
+ <version>${clearspring.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>${httpclient.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <version>${httpcore.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ <version>${jackson.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <version>1.9.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ <version>${jackson.version}</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
<build>
@@ -68,7 +189,7 @@ limitations under the License.
<outputDirectory>${it.chef.config}</outputDirectory>
<resources>
<resource>
- <directory>src/test/resources</directory>
+ <directory>environments</directory>
<filtering>true</filtering>
<includes>
<include>integration-test.json</include>
@@ -120,7 +241,6 @@ limitations under the License.
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <inherited>false</inherited>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
@@ -260,12 +380,13 @@ limitations under the License.
<SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
<ENVNAME>${it.env.name}</ENVNAME>
<SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
- <JAVA_OPTIONS>-Xmx1536m -Xms1536m</JAVA_OPTIONS>
+ <JAVA_OPTIONS>-Xdebug -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -Xmx1g -Xms1g</JAVA_OPTIONS>
</env>
<hostname>sdc-onboard-BE</hostname>
<volumes>
<bind>
<volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
+ <volume>${project.basedir}/src/test/resources/cert:/var/lib/jetty/onap/cert</volume>
</bind>
</volumes>
<wait>
@@ -276,12 +397,14 @@ limitations under the License.
<ports>
<port>8445</port>
<port>8081</port>
+ <port>4001</port>
</ports>
</tcp>
</wait>
<ports>
<port>8445:8445</port>
<port>8081:8081</port>
+ <port>4001:4001</port>
</ports>
<network>
<mode>custom</mode>
@@ -300,7 +423,7 @@ limitations under the License.
<env>
<cassandra_ssl_enabled>${it.cassandra.ssl.enabled}</cassandra_ssl_enabled>
<ENVNAME>${it.env.name}</ENVNAME>
- <JAVA_OPTIONS>-Xmx1536m -Xms1536m</JAVA_OPTIONS>
+ <JAVA_OPTIONS>-Xdebug -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -Xmx1536m -Xms1536m</JAVA_OPTIONS>
</env>
<hostname>sdc-BE</hostname>
<volumes>
@@ -317,12 +440,14 @@ limitations under the License.
<ports>
<port>8443</port>
<port>8080</port>
+ <port>4000</port>
</ports>
</tcp>
</wait>
<ports>
<port>8443:8443</port>
<port>8080:8080</port>
+ <port>4000:4000</port>
</ports>
<network>
<mode>custom</mode>
@@ -368,7 +493,7 @@ limitations under the License.
</dependsOn>
<env>
<ENVNAME>${it.env.name}</ENVNAME>
- <JAVA_OPTIONS>-Xmx256m -Xms256m</JAVA_OPTIONS>
+ <JAVA_OPTIONS>-Xdebug -agentlib:jdwp=transport=dt_socket,address=6000,server=y,suspend=n -Xmx256m -Xms256m</JAVA_OPTIONS>
</env>
<hostname>sdc-FE</hostname>
<volumes>
@@ -376,7 +501,7 @@ limitations under the License.
<volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
<volume>${it.shared.volume}:/var/lib/jetty/logs</volume>
<volume>
- sdc-os-chef/environments/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml
+ environments/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml
</volume>
</bind>
</volumes>
@@ -388,12 +513,14 @@ limitations under the License.
<ports>
<port>9443</port>
<port>8181</port>
+ <port>6000</port>
</ports>
</tcp>
</wait>
<ports>
<port>9443:9443</port>
<port>8181:8181</port>
+ <port>6000:6000</port>
</ports>
<network>
<mode>custom</mode>
@@ -402,9 +529,48 @@ limitations under the License.
</network>
</run>
</image>
+ <image>
+ <name>onap/sdc-simulator:${it.docker.version}</name>
+ <alias>sdc-simulator</alias>
+ <run>
+ <dependsOn>
+ <container>sdc-frontend</container>
+ </dependsOn>
+ <env>
+ <!--<FE_URL>${it.env.name}</FE_URL>-->
+ <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
+ <ENVNAME>${it.env.name}</ENVNAME>
+ </env>
+ <hostname>sdc-sim</hostname>
+ <volumes>
+ <bind>
+ <volume>${it.chef.config}:/root/chef-solo/environments</volume>
+ </bind>
+ </volumes>
+ <wait>
+ <time>60000</time>
+ <tcp>
+ <host>sdc-sim</host>
+ <mode>direct</mode>
+ <ports>
+ <port>8080</port>
+ <port>8443</port>
+ </ports>
+ </tcp>
+ </wait>
+ <ports>
+ <port>8285:8080</port>
+ <port>8286:8443</port>
+ </ports>
+ <network>
+ <mode>custom</mode>
+ <name>sdc-network</name>
+ <alias>sdc-sim</alias>
+ </network>
+ </run>
+ </image>
</images>
</configuration>
-
<executions>
<execution>
<id>docker-start-for-it</id>
@@ -422,6 +588,48 @@ limitations under the License.
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <suiteXmlFiles>
+ <file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>
+ <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/general.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/imports.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/product.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/property.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/resource.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/service.xml</file>-->
+ <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
+<!-- <file>src/test/resources/ci/testSuites/user.xml</file>-->
+ </suiteXmlFiles>
+<!-- <includes>-->
+<!-- <include>**/*Test.java</include>-->
+<!-- </includes>-->
+
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>