2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6 Modifications copyright (c) 2020-2021 Nokia
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 ================================================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
28 <artifactId>sdc-integration-tests</artifactId>
29 <packaging>jar</packaging>
30 <name>sdc-integration-tests</name>
33 <groupId>org.openecomp.sdc</groupId>
34 <artifactId>sdc-main</artifactId>
35 <version>1.13.6-SNAPSHOT</version>
39 <selenium.version>3.141.59</selenium.version>
40 <gecko.driver.version>0.33.0</gecko.driver.version>
41 <!-- SDC Startup parameters -->
42 <it.env.name>integration-test</it.env.name>
43 <it.cassandra.port>9042</it.cassandra.port>
44 <it.cassandra.password>onap123#@!</it.cassandra.password>
45 <it.cassandra.ssl.enabled>false</it.cassandra.ssl.enabled>
46 <it.sdc.cluster.name>SDC-CS-${it.env.name}</it.sdc.cluster.name>
47 <it.sdc.user>asdc_user</it.sdc.user>
48 <it.sdc.password>Aa1234%^!</it.sdc.password>
49 <it.chef.config>${project.build.directory}/chef-config</it.chef.config>
50 <it.sdc-be.plugins>${project.build.directory}/plugins/sdc-be</it.sdc-be.plugins>
51 <it.shared.volume>/tmp/sdc-integration-tests</it.shared.volume>
52 <it.docker.version>latest</it.docker.version>
53 <it.ui.firefox.version>86.0</it.ui.firefox.version>
54 <it.helm-validator.disabled>true</it.helm-validator.disabled>
55 <it.test-model.disabled>true</it.test-model.disabled>
56 <it.helm-validator.version>1.3.1</it.helm-validator.version>
59 <sdc-tosca-parser.version>1.9.0</sdc-tosca-parser.version>
60 <docker.showLogs>false</docker.showLogs>
65 <groupId>ch.qos.logback</groupId>
66 <artifactId>logback-classic</artifactId>
67 <version>${logback.version}</version>
71 <groupId>org.yaml</groupId>
72 <artifactId>snakeyaml</artifactId>
73 <version>${snakeyaml.version}</version>
77 <groupId>org.hamcrest</groupId>
78 <artifactId>hamcrest</artifactId>
79 <version>${hamcrest.version}</version>
83 <groupId>org.testng</groupId>
84 <artifactId>testng</artifactId>
85 <version>${testng.version}</version>
89 <groupId>com.google.code.gson</groupId>
90 <artifactId>gson</artifactId>
91 <version>${gson.version}</version>
95 <groupId>org.openecomp.sdc.be</groupId>
96 <artifactId>catalog-model</artifactId>
97 <version>${project.version}</version>
101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-server</artifactId>
105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlet</artifactId>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-dao</artifactId>
113 <version>${project.version}</version>
117 <groupId>org.eclipse.jetty</groupId>
118 <artifactId>jetty-server</artifactId>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-servlet</artifactId>
127 <groupId>org.openecomp.sdc</groupId>
128 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
129 <version>${project.version}</version>
133 <groupId>org.springframework</groupId>
134 <artifactId>spring-core</artifactId>
139 <groupId>com.aventstack</groupId>
140 <artifactId>extentreports</artifactId>
141 <version>3.0.6</version>
145 <groupId>org.jsoup</groupId>
146 <artifactId>jsoup</artifactId>
149 <groupId>org.apache.httpcomponents</groupId>
150 <artifactId>httpmime</artifactId>
153 <groupId>org.mongodb</groupId>
154 <artifactId>mongodb-driver</artifactId>
159 <groupId>org.mongodb</groupId>
160 <artifactId>mongodb-driver</artifactId>
161 <version>3.12.10</version>
165 <groupId>org.janusgraph</groupId>
166 <artifactId>janusgraph-core</artifactId>
167 <version>${janusgraph.version}</version>
171 <groupId>org.apache.tinkerpop</groupId>
172 <artifactId>gremlin-groovy</artifactId>
175 <groupId>org.apache.tinkerpop</groupId>
176 <artifactId>gremlin-core</artifactId>
179 <artifactId>slf4j-log4j12</artifactId>
180 <groupId>org.slf4j</groupId>
183 <artifactId>commons-collections</artifactId>
184 <groupId>commons-collections</groupId>
187 <artifactId>groovy</artifactId>
188 <groupId>org.codehaus.groovy</groupId>
191 <groupId>org.apache.thrift</groupId>
192 <artifactId>libthrift</artifactId>
195 <groupId>org.apache.commons</groupId>
196 <artifactId>commons-text</artifactId>
199 <groupId>commons-codec</groupId>
200 <artifactId>commons-codec</artifactId>
203 <groupId>dom4j</groupId>
204 <artifactId>dom4j</artifactId>
207 <groupId>org.slf4j</groupId>
208 <artifactId>jcl-over-slf4j</artifactId>
213 <groupId>org.assertj</groupId>
214 <artifactId>assertj-core</artifactId>
215 <version>${assertj.version}</version>
219 <groupId>org.apache.commons</groupId>
220 <artifactId>commons-text</artifactId>
221 <version>${apache-commons-text.version}</version>
225 <groupId>com.clearspring.analytics</groupId>
226 <artifactId>stream</artifactId>
227 <version>${clearspring.version}</version>
231 <groupId>org.apache.httpcomponents.client5</groupId>
232 <artifactId>httpclient5</artifactId>
233 <version>${httpclient.version}</version>
237 <groupId>commons-codec</groupId>
238 <artifactId>commons-codec</artifactId>
241 <groupId>org.apache.httpcomponents</groupId>
242 <artifactId>httpcore</artifactId>
247 <groupId>org.apache.httpcomponents</groupId>
248 <artifactId>httpcore</artifactId>
249 <version>${httpcore.version}</version>
253 <groupId>com.fasterxml.jackson.core</groupId>
254 <artifactId>jackson-core</artifactId>
255 <version>${jackson.version}</version>
259 <groupId>org.codehaus.jackson</groupId>
260 <artifactId>jackson-mapper-asl</artifactId>
261 <version>1.9.2</version>
265 <groupId>com.fasterxml.jackson.core</groupId>
266 <artifactId>jackson-databind</artifactId>
267 <version>${jackson.version}</version>
271 <groupId>com.fasterxml.jackson.core</groupId>
272 <artifactId>jackson-core</artifactId>
278 <groupId>org.onap.sdc.sdc-tosca</groupId>
279 <artifactId>sdc-tosca</artifactId>
280 <version>${sdc-tosca-parser.version}</version>
283 <!--FOR the Frontend -->
285 <groupId>com.squareup.okhttp3</groupId>
286 <artifactId>okhttp</artifactId>
287 <version>${okhttp.version}</version>
290 <groupId>org.seleniumhq.selenium</groupId>
291 <artifactId>selenium-java</artifactId>
293 <version>${selenium.version}</version>
296 <groupId>com.squareup.okhttp3</groupId>
297 <artifactId>okhttp</artifactId>
302 <groupId>org.seleniumhq.selenium</groupId>
303 <artifactId>selenium-server</artifactId>
304 <version>${selenium.version}</version>
308 <groupId>javax.servlet</groupId>
309 <artifactId>javax.servlet-api</artifactId>
312 <groupId>com.squareup.okhttp3</groupId>
313 <artifactId>okhttp</artifactId>
318 <groupId>org.seleniumhq.selenium</groupId>
319 <artifactId>selenium-firefox-driver</artifactId>
320 <version>${selenium.version}</version>
324 <groupId>com.squareup.okhttp3</groupId>
325 <artifactId>okhttp</artifactId>
331 <groupId>net.lightbody.bmp</groupId>
332 <!-- To use the legacy, Jetty-based implementation, change the artifactId
333 to browsermob-core -->
334 <artifactId>browsermob-core</artifactId>
335 <version>2.1.4</version>
339 <groupId>com.fasterxml.jackson.core</groupId>
340 <artifactId>jackson-core</artifactId>
343 <groupId>org.slf4j</groupId>
344 <artifactId>jcl-over-slf4j</artifactId>
347 <groupId>org.bouncycastle</groupId>
348 <artifactId>*</artifactId>
353 <groupId>com.paulhammant</groupId>
354 <artifactId>ngwebdriver</artifactId>
355 <version>0.9.7</version>
359 <groupId>com.github.markusbernhardt</groupId>
360 <artifactId>proxy-vole</artifactId>
361 <version>1.0.2</version>
365 <groupId>net.java.dev.jna</groupId>
366 <artifactId>jna</artifactId>
369 <groupId>net.java.dev.jna</groupId>
370 <artifactId>jna-platform</artifactId>
375 <groupId>commons-net</groupId>
376 <artifactId>commons-net</artifactId>
377 <version>3.3</version>
381 <groupId>org.springframework</groupId>
382 <artifactId>spring-core</artifactId>
383 <version>${spring.version}</version>
387 <groupId>org.onap.portal.sdk</groupId>
388 <artifactId>epsdk-fw</artifactId>
389 <version>${ecomp.version}</version>
393 <groupId>log4j</groupId>
394 <artifactId>log4j</artifactId>
397 <groupId>org.owasp.esapi</groupId>
398 <artifactId>esapi</artifactId>
401 <groupId>javax.servlet</groupId>
402 <artifactId>javax.servlet-api</artifactId>
405 <groupId>org.onap.aaf.authz</groupId>
406 <artifactId>aaf-cadi-aaf</artifactId>
409 <groupId>org.onap.aaf.authz</groupId>
410 <artifactId>aaf-cadi-client</artifactId>
413 <groupId>org.onap.aaf.authz</groupId>
414 <artifactId>aaf-cadi-core</artifactId>
419 <groupId>org.functionaljava</groupId>
420 <artifactId>functionaljava</artifactId>
421 <version>${functionaljava.version}</version>
428 <!-- Section for Integration tests -->
430 <artifactId>maven-resources-plugin</artifactId>
433 <id>copy-chef-resources</id>
434 <phase>pre-integration-test</phase>
436 <goal>copy-resources</goal>
439 <outputDirectory>${it.chef.config}</outputDirectory>
442 <directory>environments</directory>
443 <filtering>true</filtering>
445 <include>integration-test.json</include>
449 <directory>environments</directory>
450 <filtering>false</filtering>
452 <include>plugins-configuration.yaml</include>
459 <id>copy-sdc-be-plugins</id>
460 <phase>pre-integration-test</phase>
462 <goal>copy-resources</goal>
465 <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
469 ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target
471 <filtering>false</filtering>
473 <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar
481 <id>copy-normatives</id>
482 <phase>pre-integration-test</phase>
484 <goal>copy-resources</goal>
488 integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default
492 <directory>${project.build.directory}</directory>
494 <include>normatives.tar.gz</include>
501 <id>copy-sdc-be-py</id>
502 <phase>pre-integration-test</phase>
504 <goal>copy-resources</goal>
508 integration-tests-init/
513 ${project.parent.basedir}/catalog-be/src/main/resources/
516 <include>scripts/sdcBePy/**</include>
517 <inculde>scripts/setup.py</inculde>
524 <id>copy-be-configuration</id>
525 <phase>pre-integration-test</phase>
527 <goal>copy-resources</goal>
530 <overwrite>true</overwrite>
532 integration-tests-init/
537 ${project.parent.basedir}/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/
540 <include>BE-configuration.yaml.erb</include>
549 <groupId>org.codehaus.mojo</groupId>
550 <artifactId>wagon-maven-plugin</artifactId>
551 <version>2.0.0</version>
554 <id>download-gecko</id>
555 <phase>validate</phase>
557 <goal>download-single</goal>
560 <url>https://github.com</url>
562 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
564 <toDir>${project.build.directory}/gecko</toDir>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-antrun-plugin</artifactId>
572 <version>${maven-antrun-plugin.version}</version>
575 <id>set-folder-permission</id>
576 <phase>pre-integration-test</phase>
579 <mkdir dir="/tmp/sdc-integration-tests"/>
580 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
581 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
582 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation"
593 <phase>pre-integration-test</phase>
597 src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
598 compression="gzip" dest="${project.build.directory}/gecko/"/>
599 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir"
608 <id>add-test-model-to-config</id>
609 <phase>pre-integration-test</phase>
614 <target name="replace config" unless="${it.test-model.disabled}">
615 <ant antfile="src/main/assembly/replace.xml">
616 <target name="BE-configuration"/>
624 <groupId>org.codehaus.mojo</groupId>
625 <artifactId>build-helper-maven-plugin</artifactId>
628 <id>reserve-port-for-tests</id>
629 <phase>validate</phase>
631 <goal>reserve-network-port</goal>
635 <portName>sdc.it.docker.cassandra.port</portName>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-assembly-plugin</artifactId>
644 <version>${mvn.assembly.version}</version>
648 <phase>prepare-package</phase>
653 <finalName>normatives</finalName>
654 <appendAssemblyId>false</appendAssemblyId>
656 <descriptor>src/main/assembly/normatives.xml</descriptor>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-clean-plugin</artifactId>
667 <id>clean.test.folder</id>
676 integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default
678 <followSymlinks>false</followSymlinks>
680 <include>normatives.tar.gz</include>
689 <groupId>io.fabric8</groupId>
690 <artifactId>docker-maven-plugin</artifactId>
693 <groupId>org.apache.httpcomponents.client5</groupId>
694 <artifactId>httpclient5</artifactId>
695 <version>${httpclient.version}</version>
699 <verbose>${verbose}</verbose>
700 <apiVersion>${docker.api.version}</apiVersion>
701 <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
702 <startParallel>true</startParallel>
705 <name>${docker.namespace}/sdc-cassandra:${it.docker.version}</name>
706 <alias>sdc-cassandra</alias>
709 <RELEASE>${project.version}</RELEASE>
710 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
711 <ENVNAME>${it.env.name}</ENVNAME>
712 <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
713 <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
715 <hostname>sdc-cs</hostname>
718 <volume>${it.chef.config}:/root/chef-solo/environments
745 <port>9042:9042</port>
749 <name>sdc-network</name>
750 <alias>sdc-cs</alias>
755 <name>${docker.namespace}/sdc-cassandra-init:${it.docker.version}</name>
756 <alias>sdc-cassandra-init</alias>
759 <container>sdc-cassandra</container>
762 <RELEASE>${project.version}</RELEASE>
763 <SDC_USER>${it.sdc.user}</SDC_USER>
764 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
765 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
766 <ENVNAME>${it.env.name}</ENVNAME>
768 <hostname>sdc-cs-init</hostname>
771 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
778 <log>SdcSchemaFileImport successfully completed</log>
782 <name>sdc-network</name>
783 <alias>sdc-cs-init</alias>
788 <name>${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version}</name>
789 <alias>sdc-cassandra-onboard-init</alias>
792 <container>sdc-cassandra-init</container>
795 <RELEASE>${project.version}</RELEASE>
796 <SDC_USER>${it.sdc.user}</SDC_USER>
797 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
798 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
799 <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
800 <ENVNAME>${it.env.name}</ENVNAME>
801 <CS_HOST_IP>sdc-cs</CS_HOST_IP>
803 <hostname>sdc-cs-onboard-init</hostname>
806 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
812 <log>Onboarding init was successful</log>
816 <name>sdc-network</name>
817 <alias>sdc-cs-onboard-init</alias>
822 <name>${docker.namespace}/sdc-onboard-backend:${it.docker.version}</name>
823 <alias>sdc-onboard-backend</alias>
826 <container>sdc-cassandra-onboard-init</container>
829 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
830 </cassandra_ssl_enabled>
831 <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
832 <SDC_USER>${it.sdc.user}</SDC_USER>
833 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
834 <ENVNAME>${it.env.name}</ENVNAME>
835 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
837 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001
841 <hostname>sdc-onboard-BE</hostname>
844 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
845 <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert
847 <volume>${it.shared.volume}:/app/jetty/logs</volume>
853 <host>sdc-onboard-BE</host>
863 <port>8445:8445</port>
864 <port>8081:8081</port>
865 <port>4001:4001</port>
869 <name>sdc-network</name>
870 <alias>sdc-onboard-BE</alias>
875 <name>${docker.namespace}/sdc-backend-all-plugins:${it.docker.version}</name>
876 <alias>sdc-backend</alias>
879 <container>sdc-cassandra-init</container>
882 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
883 </cassandra_ssl_enabled>
884 <ENVNAME>${it.env.name}</ENVNAME>
886 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
889 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
890 <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME>
892 <hostname>sdc-BE</hostname>
896 ${project.basedir}/integration-tests-init/BE-configuration.yaml.erb:/app/jetty/chef-solo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
898 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
899 <volume>${it.shared.volume}:/app/jetty/logs</volume>
901 ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert
918 <port>8443:8443</port>
919 <port>8080:8080</port>
920 <port>4000:4000</port>
924 <name>sdc-network</name>
925 <alias>sdc-BE</alias>
930 <name>${docker.namespace}/sdc-backend-init:${it.docker.version}</name>
931 <alias>sdc-backend-init</alias>
934 <container>sdc-backend</container>
937 <ENVNAME>${it.env.name}</ENVNAME>
939 <hostname>sdc-BE-init</hostname>
943 ${it.chef.config}:/home/onap/chef-solo/environments
945 <volume>${it.shared.volume}:/home/onap/logs</volume>
950 <log>Chef Client finished</log>
954 <name>sdc-network</name>
955 <alias>sdc-BE-init</alias>
960 <name>${docker.namespace}/sdc-frontend:${it.docker.version}</name>
961 <alias>sdc-frontend</alias>
964 <ENVNAME>${it.env.name}</ENVNAME>
966 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
970 <hostname>sdc-FE</hostname>
973 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
974 <volume>${it.shared.volume}:/app/jetty/logs</volume>
976 ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml
994 <port>9443:9443</port>
995 <port>8181:8181</port>
996 <port>6000:6000</port>
1000 <name>sdc-network</name>
1001 <alias>sdc-FE</alias>
1006 <name>${docker.namespace}/sdc-simulator:${it.docker.version}</name>
1007 <alias>sdc-simulator</alias>
1010 <!--<FE_URL>${it.env.name}</FE_URL>-->
1011 <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
1012 <ENVNAME>${it.env.name}</ENVNAME>
1014 <hostname>sdc-sim</hostname>
1017 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
1018 <volume>${it.shared.volume}:/app/jetty/logs</volume>
1024 <host>sdc-sim</host>
1034 <!-- http://localhost:8285/login to access SDC -->
1035 <port>8285:8080</port>
1036 <port>8286:8443</port>
1037 <port>5000:5000</port>
1041 <name>sdc-network</name>
1042 <alias>sdc-sim</alias>
1047 <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
1048 <alias>firefox-standalone</alias>
1050 <hostname>firefox-standalone</hostname>
1054 <host>firefox-standalone</host>
1057 <!-- Selenium remote automation port -->
1059 <!--<port>5900</port>-->
1060 <!-- VNC port for viewing the browser result -->
1061 <!-- password to access is "secret" -->
1066 <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
1067 <!--<START_XVFB>false</START_XVFB>-->
1068 <SCREEN_WIDTH>1920</SCREEN_WIDTH>
1069 <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
1072 <port>4444:4444</port>
1073 <!--<port>5900:5900</port>-->
1077 <name>sdc-network</name>
1078 <alias>firefox-standalone</alias>
1083 /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
1085 <volume>/dev/shm:/dev/shm</volume>
1091 <name>${docker.namespace}/sdc-helm-validator:${it.helm-validator.version}</name>
1092 <alias>helm-validator</alias>
1094 <skip>${it.helm-validator.disabled}</skip>
1095 <hostname>helm-validator</hostname>
1099 <host>helm-validator</host>
1107 <port>8085:8080</port>
1111 <name>sdc-network</name>
1112 <alias>helm-validator</alias>
1117 <name>${docker.namespace}/sdc-integration-tests-init</name>
1118 <alias>integration-tests-init</alias>
1120 <skip>${it.test-model.disabled}</skip>
1121 <cleanup>try</cleanup>
1122 <dockerFileDir>${project.basedir}/integration-tests-init</dockerFileDir>
1126 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1129 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1134 <skip>${it.test-model.disabled}</skip>
1136 <container>sdc-backend-init</container>
1139 <ENVNAME>${it.env.name}</ENVNAME>
1141 <hostname>integration-tests-init</hostname>
1145 ${it.chef.config}:/home/onap/chef-solo/environments
1151 <log>Chef Client finished</log>
1155 <name>sdc-network</name>
1156 <alias>sdc-integration-tests-init</alias>
1164 <id>docker-build-for-it</id>
1165 <phase>pre-integration-test</phase>
1171 <id>docker-start-for-it</id>
1172 <phase>pre-integration-test</phase>
1178 <id>docker-stop-for-it</id>
1179 <phase>post-integration-test</phase>
1187 <groupId>org.apache.maven.plugins</groupId>
1188 <artifactId>maven-surefire-plugin</artifactId>
1194 <groupId>org.apache.maven.plugins</groupId>
1195 <artifactId>maven-failsafe-plugin</artifactId>
1197 <forkCount>1</forkCount>
1198 <reuseForks>true</reuseForks>
1199 <systemPropertyVariables>
1200 <testng.dtd.http>true</testng.dtd.http>
1201 </systemPropertyVariables>
1203 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
1204 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
1205 <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
1206 <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
1207 <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
1208 <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
1209 <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
1210 <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
1211 <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
1212 <!-- <file>src/test/resources/ci/testSuites/general.xml</file>-->
1213 <!-- <file>src/test/resources/ci/testSuites/imports.xml</file>-->
1214 <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
1215 <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
1216 <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
1217 <!-- <file>src/test/resources/ci/testSuites/product.xml</file>-->
1218 <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
1219 <!-- <file>src/test/resources/ci/testSuites/property.xml</file>-->
1220 <!-- <file>src/test/resources/ci/testSuites/resource.xml</file>-->
1221 <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
1222 <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
1223 <!-- <file>src/test/resources/ci/testSuites/service.xml</file>-->
1224 <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
1225 <!-- <file>src/test/resources/ci/testSuites/user.xml</file>-->
1233 <id>add-test-model</id>
1235 <it.test-model.disabled>false</it.test-model.disabled>
1239 <id>all-for-integration-tests-only</id>
1241 <surefire.skip.tests>true</surefire.skip.tests>
1242 <skipTest>false</skipTest>
1243 <it.test-model.disabled>false</it.test-model.disabled>
1247 <id>integration-tests-with-helm-validator</id>
1249 <it.helm-validator.disabled>false</it.helm-validator.disabled>
1250 <it.test-model.disabled>false</it.test-model.disabled>
1255 <groupId>org.apache.maven.plugins</groupId>
1256 <artifactId>maven-failsafe-plugin</artifactId>
1258 <forkCount>1</forkCount>
1259 <reuseForks>true</reuseForks>
1260 <systemPropertyVariables>
1261 <testng.dtd.http>true</testng.dtd.http>
1262 </systemPropertyVariables>
1264 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
1265 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
1266 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
1267 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
1275 <id>run-integration-tests-api</id>
1277 <it.helm-validator.disabled>false</it.helm-validator.disabled>
1278 <skipYamlJsonValidator>true</skipYamlJsonValidator>
1279 <checkstyle.skip>true</checkstyle.skip>
1280 <surefire.skip.tests>true</surefire.skip.tests>
1281 <skipTest>false</skipTest>
1286 <groupId>org.apache.maven.plugins</groupId>
1287 <artifactId>maven-failsafe-plugin</artifactId>
1289 <forkCount>1</forkCount>
1290 <reuseForks>true</reuseForks>
1291 <systemPropertyVariables>
1292 <testng.dtd.http>true</testng.dtd.http>
1293 </systemPropertyVariables>
1295 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
1296 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
1304 <id>run-integration-tests-ui</id>
1306 <it.helm-validator.disabled>false</it.helm-validator.disabled>
1307 <skipYamlJsonValidator>true</skipYamlJsonValidator>
1308 <checkstyle.skip>true</checkstyle.skip>
1309 <surefire.skip.tests>true</surefire.skip.tests>
1310 <skipTest>false</skipTest>
1315 <groupId>org.apache.maven.plugins</groupId>
1316 <artifactId>maven-failsafe-plugin</artifactId>
1318 <forkCount>1</forkCount>
1319 <reuseForks>true</reuseForks>
1320 <systemPropertyVariables>
1321 <testng.dtd.http>true</testng.dtd.http>
1322 </systemPropertyVariables>
1324 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
1325 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>