Remove dependency vulnerability
[sdc.git] / integration-tests / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 SDC
4 ================================================================================
5 Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
6 Modifications copyright (c) 2020 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
11         *
12      http://www.apache.org/licenses/LICENSE-2.0
13         *
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 ================================================================================
21 -->
22
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>
27
28     <artifactId>sdc-integration-tests</artifactId>
29     <packaging>jar</packaging>
30     <name>sdc-integration-tests</name>
31
32     <parent>
33         <groupId>org.openecomp.sdc</groupId>
34         <artifactId>sdc-main</artifactId>
35         <version>1.9.0-SNAPSHOT</version>
36     </parent>
37
38     <properties>
39         <selenium.version>3.141.59</selenium.version>
40         <gecko.driver.version>0.29.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.helm-validator.version>1.2.0</it.helm-validator.version>
56
57         <!-- parser-->
58         <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
59     </properties>
60
61     <dependencies>
62         <dependency>
63             <groupId>ch.qos.logback</groupId>
64             <artifactId>logback-classic</artifactId>
65             <version>${logback.version}</version>
66         </dependency>
67
68         <dependency>
69             <groupId>org.yaml</groupId>
70             <artifactId>snakeyaml</artifactId>
71             <version>${snakeyaml.version}</version>
72             <scope>test</scope>
73         </dependency>
74         <dependency>
75             <groupId>org.hamcrest</groupId>
76             <artifactId>hamcrest</artifactId>
77             <version>${hamcrest.version}</version>
78             <scope>test</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.testng</groupId>
82             <artifactId>testng</artifactId>
83             <version>${testng.version}</version>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>com.google.code.gson</groupId>
88             <artifactId>gson</artifactId>
89             <version>${gson.version}</version>
90             <scope>test</scope>
91         </dependency>
92         <dependency>
93             <groupId>org.openecomp.sdc.be</groupId>
94             <artifactId>catalog-model</artifactId>
95             <version>${project.version}</version>
96             <scope>test</scope>
97         </dependency>
98         <dependency>
99             <groupId>org.openecomp.sdc.be</groupId>
100             <artifactId>catalog-dao</artifactId>
101             <version>${project.version}</version>
102             <scope>test</scope>
103         </dependency>
104         <dependency>
105             <groupId>org.openecomp.sdc</groupId>
106             <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
107             <version>${project.version}</version>
108             <scope>test</scope>
109         </dependency>
110         <dependency>
111             <groupId>com.aventstack</groupId>
112             <artifactId>extentreports</artifactId>
113             <version>3.0.6</version>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.janusgraph</groupId>
118             <artifactId>janusgraph-core</artifactId>
119             <version>${janusgraph.version}</version>
120             <scope>test</scope>
121             <exclusions>
122                 <exclusion>
123                     <artifactId>gremlin-groovy</artifactId>
124                     <groupId>org.apache.tinkerpop</groupId>
125                 </exclusion>
126                 <exclusion>
127                     <artifactId>slf4j-log4j12</artifactId>
128                     <groupId>org.slf4j</groupId>
129                 </exclusion>
130                 <exclusion>
131                     <artifactId>commons-collections</artifactId>
132                     <groupId>commons-collections</groupId>
133                 </exclusion>
134                 <exclusion>
135                     <artifactId>groovy</artifactId>
136                     <groupId>org.codehaus.groovy</groupId>
137                 </exclusion>
138                 <exclusion>
139                     <groupId>org.apache.thrift</groupId>
140                     <artifactId>libthrift</artifactId>
141                 </exclusion>
142                 <exclusion>
143                     <groupId>org.apache.commons</groupId>
144                     <artifactId>commons-text</artifactId>
145                 </exclusion>
146                 <exclusion>
147                     <groupId>commons-codec</groupId>
148                     <artifactId>commons-codec</artifactId>
149                 </exclusion>
150                 <exclusion>
151                     <groupId>dom4j</groupId>
152                     <artifactId>dom4j</artifactId>
153                 </exclusion>
154             </exclusions>
155         </dependency>
156         <dependency>
157             <groupId>org.assertj</groupId>
158             <artifactId>assertj-core</artifactId>
159             <version>${assertj.version}</version>
160             <scope>test</scope>
161         </dependency>
162         <dependency>
163             <groupId>org.apache.commons</groupId>
164             <artifactId>commons-text</artifactId>
165             <version>${apache-commons-text.version}</version>
166             <scope>test</scope>
167         </dependency>
168         <dependency>
169             <groupId>com.clearspring.analytics</groupId>
170             <artifactId>stream</artifactId>
171             <version>${clearspring.version}</version>
172             <scope>test</scope>
173         </dependency>
174         <dependency>
175             <groupId>org.apache.httpcomponents</groupId>
176             <artifactId>httpclient</artifactId>
177             <version>${httpclient.version}</version>
178             <scope>test</scope>
179             <exclusions>
180                 <exclusion>
181                     <groupId>commons-codec</groupId>
182                     <artifactId>commons-codec</artifactId>
183                 </exclusion>
184             </exclusions>
185         </dependency>
186         <dependency>
187             <groupId>org.apache.httpcomponents</groupId>
188             <artifactId>httpcore</artifactId>
189             <version>${httpcore.version}</version>
190             <scope>test</scope>
191         </dependency>
192         <dependency>
193             <groupId>com.fasterxml.jackson.core</groupId>
194             <artifactId>jackson-core</artifactId>
195             <version>${jackson.version}</version>
196             <scope>test</scope>
197         </dependency>
198         <dependency>
199             <groupId>org.codehaus.jackson</groupId>
200             <artifactId>jackson-mapper-asl</artifactId>
201             <version>1.9.2</version>
202             <scope>test</scope>
203         </dependency>
204         <dependency>
205             <groupId>com.fasterxml.jackson.core</groupId>
206             <artifactId>jackson-databind</artifactId>
207             <version>${jackson.version}</version>
208             <scope>test</scope>
209             <exclusions>
210                 <exclusion>
211                     <groupId>com.fasterxml.jackson.core</groupId>
212                     <artifactId>jackson-core</artifactId>
213                 </exclusion>
214             </exclusions>
215         </dependency>
216
217         <dependency>
218             <groupId>org.onap.sdc.sdc-tosca</groupId>
219             <artifactId>sdc-tosca</artifactId>
220             <version>${sdc-tosca-parser.version}</version>
221         </dependency>
222
223         <!--FOR the Frontend -->
224         <dependency>
225             <groupId>org.seleniumhq.selenium</groupId>
226             <artifactId>selenium-java</artifactId>
227             <scope>test</scope>
228             <version>${selenium.version}</version>
229         </dependency>
230         <dependency>
231             <groupId>org.seleniumhq.selenium</groupId>
232             <artifactId>selenium-server</artifactId>
233             <version>${selenium.version}</version>
234             <scope>test</scope>
235         </dependency>
236         <dependency>
237             <groupId>org.seleniumhq.selenium</groupId>
238             <artifactId>selenium-firefox-driver</artifactId>
239             <version>${selenium.version}</version>
240             <scope>test</scope>
241         </dependency>
242
243         <dependency>
244             <groupId>net.lightbody.bmp</groupId>
245             <!-- To use the legacy, Jetty-based implementation, change the artifactId
246               to browsermob-core -->
247             <artifactId>browsermob-core</artifactId>
248             <version>2.1.4</version>
249             <scope>test</scope>
250             <exclusions>
251                 <exclusion>
252                     <groupId>com.fasterxml.jackson.core</groupId>
253                     <artifactId>jackson-core</artifactId>
254                 </exclusion>
255             </exclusions>
256         </dependency>
257         <dependency>
258             <groupId>com.paulhammant</groupId>
259             <artifactId>ngwebdriver</artifactId>
260             <version>0.9.7</version>
261             <scope>test</scope>
262         </dependency>
263         <dependency>
264             <groupId>com.github.markusbernhardt</groupId>
265             <artifactId>proxy-vole</artifactId>
266             <version>1.0.2</version>
267             <scope>test</scope>
268         </dependency>
269         <dependency>
270             <groupId>commons-net</groupId>
271             <artifactId>commons-net</artifactId>
272             <version>3.3</version>
273             <scope>test</scope>
274         </dependency>
275         <dependency>
276             <groupId>org.apache.logging.log4j</groupId>
277             <artifactId>log4j-api</artifactId>
278             <version>2.13.1</version>
279             <scope>test</scope>
280         </dependency>
281     </dependencies>
282
283     <build>
284         <plugins>
285             <!-- Section for Integration tests -->
286             <plugin>
287                 <artifactId>maven-resources-plugin</artifactId>
288                 <executions>
289                     <execution>
290                         <id>copy-chef-resources</id>
291                         <phase>pre-integration-test</phase>
292                         <goals>
293                             <goal>copy-resources</goal>
294                         </goals>
295                         <configuration>
296                             <outputDirectory>${it.chef.config}</outputDirectory>
297                             <resources>
298                                 <resource>
299                                     <directory>environments</directory>
300                                     <filtering>true</filtering>
301                                     <includes>
302                                         <include>integration-test.json</include>
303                                         <include>plugins-configuration.yaml</include>
304                                     </includes>
305                                 </resource>
306                             </resources>
307                         </configuration>
308                     </execution>
309                     <execution>
310                         <id>copy-sdc-be-plugins</id>
311                         <phase>pre-integration-test</phase>
312                         <goals>
313                             <goal>copy-resources</goal>
314                         </goals>
315                         <configuration>
316                             <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
317                             <resources>
318                                 <resource>
319                                     <directory>
320                                         ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target
321                                     </directory>
322                                     <filtering>false</filtering>
323                                     <includes>
324                                         <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar
325                                         </include>
326                                     </includes>
327                                 </resource>
328                             </resources>
329                         </configuration>
330                     </execution>
331                 </executions>
332             </plugin>
333             <plugin>
334                 <groupId>org.codehaus.mojo</groupId>
335                 <artifactId>wagon-maven-plugin</artifactId>
336                 <version>2.0.0</version>
337                 <executions>
338                     <execution>
339                         <id>download-gecko</id>
340                         <phase>validate</phase>
341                         <goals>
342                             <goal>download-single</goal>
343                         </goals>
344                         <configuration>
345                             <url>https://github.com</url>
346                             <fromFile>
347                                 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
348                             </fromFile>
349                             <toDir>${project.build.directory}/gecko</toDir>
350                         </configuration>
351                     </execution>
352                 </executions>
353             </plugin>
354             <plugin>
355                 <groupId>org.apache.maven.plugins</groupId>
356                 <artifactId>maven-antrun-plugin</artifactId>
357                 <version>${maven-antrun-plugin.version}</version>
358                 <executions>
359                     <execution>
360                         <id>set-folder-permission</id>
361                         <phase>pre-integration-test</phase>
362                         <configuration>
363                             <target>
364                                 <mkdir dir="/tmp/sdc-integration-tests"/>
365                                 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
366                                 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
367                                 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation"
368                                     type="dir"
369                                     perm="ugo+rwx"/>
370                             </target>
371                         </configuration>
372                         <goals>
373                             <goal>run</goal>
374                         </goals>
375                     </execution>
376                     <execution>
377                         <id>untar-gecko</id>
378                         <phase>pre-integration-test</phase>
379                         <configuration>
380                             <target>
381                                 <untar
382                                     src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
383                                     compression="gzip" dest="${project.build.directory}/gecko/"/>
384                                 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir"
385                                     perm="ugo+rwx"/>
386                             </target>
387                         </configuration>
388                         <goals>
389                             <goal>run</goal>
390                         </goals>
391                     </execution>
392                 </executions>
393             </plugin>
394             <plugin>
395                 <groupId>org.codehaus.mojo</groupId>
396                 <artifactId>build-helper-maven-plugin</artifactId>
397                 <executions>
398                     <execution>
399                         <id>reserve-port-for-tests</id>
400                         <phase>validate</phase>
401                         <goals>
402                             <goal>reserve-network-port</goal>
403                         </goals>
404                         <configuration>
405                             <portNames>
406                                 <portName>sdc.it.docker.cassandra.port</portName>
407                             </portNames>
408                         </configuration>
409                     </execution>
410                 </executions>
411             </plugin>
412             <plugin>
413                 <groupId>io.fabric8</groupId>
414                 <artifactId>docker-maven-plugin</artifactId>
415                 <dependencies>
416                     <dependency>
417                         <groupId>org.apache.httpcomponents</groupId>
418                         <artifactId>httpclient</artifactId>
419                         <version>${httpclient.version}</version>
420                     </dependency>
421                 </dependencies>
422                 <configuration>
423                     <verbose>${verbose}</verbose>
424                     <apiVersion>${docker.api.version}</apiVersion>
425                     <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
426                     <images>
427                         <image>
428                             <name>onap/sdc-cassandra:${it.docker.version}</name>
429                             <alias>sdc-cassandra</alias>
430                             <run>
431                                 <env>
432                                     <RELEASE>${project.version}</RELEASE>
433                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
434                                     <ENVNAME>${it.env.name}</ENVNAME>
435                                     <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
436                                     <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
437                                 </env>
438                                 <hostname>sdc-cs</hostname>
439                                 <volumes>
440                                     <bind>
441                                         <volume>${it.chef.config}:/root/chef-solo/environments
442                                         </volume>
443                                     </bind>
444                                 </volumes>
445                                 <ulimits>
446                                     <ulimit>
447                                         <name>memlock</name>
448                                         <hard>-1</hard>
449                                         <soft>-1</soft>
450                                     </ulimit>
451                                     <ulimit>
452                                         <name>nofile</name>
453                                         <hard>100000</hard>
454                                         <soft>100000</soft>
455                                     </ulimit>
456                                 </ulimits>
457                                 <wait>
458                                     <time>120000</time>
459                                     <tcp>
460                                         <host>sdc-cs</host>
461                                         <mode>direct</mode>
462                                         <ports>
463                                             <port>9042</port>
464                                         </ports>
465                                     </tcp>
466                                 </wait>
467                                 <ports>
468                                     <port>9042:9042</port>
469                                 </ports>
470                                 <network>
471                                     <mode>custom</mode>
472                                     <name>sdc-network</name>
473                                     <alias>sdc-cs</alias>
474                                 </network>
475                             </run>
476                         </image>
477                         <image>
478                             <name>onap/sdc-cassandra-init:${it.docker.version}</name>
479                             <alias>sdc-cassandra-init</alias>
480                             <run>
481                                 <dependsOn>
482                                     <container>sdc-cassandra</container>
483                                 </dependsOn>
484                                 <env>
485                                     <RELEASE>${project.version}</RELEASE>
486                                     <SDC_USER>${it.sdc.user}</SDC_USER>
487                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
488                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
489                                     <ENVNAME>${it.env.name}</ENVNAME>
490                                 </env>
491                                 <hostname>sdc-cs-init</hostname>
492                                 <volumes>
493                                     <bind>
494                                         <volume>${it.chef.config}:/home/sdc/chef-solo/environments
495                                         </volume>
496
497                                     </bind>
498                                 </volumes>
499                                 <wait>
500                                     <time>300000</time>
501                                     <log>SdcSchemaFileImport successfully completed</log>
502                                 </wait>
503                                 <network>
504                                     <mode>custom</mode>
505                                     <name>sdc-network</name>
506                                     <alias>sdc-cs-init</alias>
507                                 </network>
508                             </run>
509                         </image>
510                         <image>
511                             <name>onap/sdc-onboard-cassandra-init:${it.docker.version}</name>
512                             <alias>sdc-cassandra-onboard-init</alias>
513                             <run>
514                                 <dependsOn>
515                                     <container>sdc-cassandra</container>
516                                 </dependsOn>
517                                 <env>
518                                     <RELEASE>${project.version}</RELEASE>
519                                     <SDC_USER>${it.sdc.user}</SDC_USER>
520                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
521                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
522                                     <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
523                                     <ENVNAME>${it.env.name}</ENVNAME>
524                                     <CS_HOST_IP>sdc-cs</CS_HOST_IP>
525                                 </env>
526                                 <hostname>sdc-cs-onboard-init</hostname>
527                                 <volumes>
528                                     <bind>
529                                         <volume>${it.chef.config}:/home/sdc/chef-solo/environments
530                                         </volume>
531                                     </bind>
532                                 </volumes>
533                                 <wait>
534                                     <time>30000</time>
535                                     <log>Initializing onboard schemas</log>
536                                 </wait>
537                                 <network>
538                                     <mode>custom</mode>
539                                     <name>sdc-network</name>
540                                     <alias>sdc-cs-onboard-init</alias>
541                                 </network>
542                             </run>
543                         </image>
544                         <image>
545                             <name>onap/sdc-onboard-backend:${it.docker.version}</name>
546                             <alias>sdc-onboard-backend</alias>
547                             <run>
548                                <dependsOn>
549                                     <container>sdc-cassandra-onboard-init</container>
550                                 </dependsOn>
551                                 <env>
552                                     <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
553                                     </cassandra_ssl_enabled>
554                                     <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
555                                     <SDC_USER>${it.sdc.user}</SDC_USER>
556                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
557                                     <ENVNAME>${it.env.name}</ENVNAME>
558                                     <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
559                                     <JAVA_OPTIONS>
560                                         -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001
561                                         -Xmx1g -Xms1g
562                                     </JAVA_OPTIONS>
563                                 </env>
564                                 <hostname>sdc-onboard-BE</hostname>
565                                 <volumes>
566                                     <bind>
567                                         <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
568                                         <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert
569                                         </volume>
570                                         <volume>${it.shared.volume}:/app/jetty/logs</volume>
571                                     </bind>
572                                 </volumes>
573                                 <wait>
574                                     <time>300000</time>
575                                     <tcp>
576                                         <host>sdc-onboard-BE</host>
577                                         <mode>direct</mode>
578                                         <ports>
579                                             <port>8445</port>
580                                             <port>8081</port>
581                                             <port>4001</port>
582                                         </ports>
583                                     </tcp>
584                                 </wait>
585                                 <ports>
586                                     <port>8445:8445</port>
587                                     <port>8081:8081</port>
588                                     <port>4001:4001</port>
589                                 </ports>
590                                 <network>
591                                     <mode>custom</mode>
592                                     <name>sdc-network</name>
593                                     <alias>sdc-onboard-BE</alias>
594                                 </network>
595                             </run>
596                         </image>
597                         <image>
598                             <name>onap/sdc-backend-all-plugins:${it.docker.version}</name>
599                             <alias>sdc-backend</alias>
600                             <run>
601                                 <dependsOn>
602                                     <container>sdc-cassandra-init</container>
603                                 </dependsOn>
604                                 <env>
605                                     <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
606                                     </cassandra_ssl_enabled>
607                                     <ENVNAME>${it.env.name}</ENVNAME>
608                                     <JAVA_OPTIONS>
609                                         -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
610                                         -Xmx1536m -Xms1536m
611                                     </JAVA_OPTIONS>
612                                     <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
613                                     <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME>
614                                 </env>
615                                 <hostname>sdc-BE</hostname>
616                                 <volumes>
617                                     <bind>
618                                         <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
619                                         <volume>${it.shared.volume}:/app/jetty/logs</volume>
620                                         <volume>
621                                             ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert
622                                         </volume>
623                                     </bind>
624                                 </volumes>
625                                 <wait>
626                                     <time>60000</time>
627                                     <tcp>
628                                         <host>sdc-BE</host>
629                                         <mode>direct</mode>
630                                         <ports>
631                                             <port>8443</port>
632                                             <port>8080</port>
633                                             <port>4000</port>
634                                         </ports>
635                                     </tcp>
636                                 </wait>
637                                 <ports>
638                                     <port>8443:8443</port>
639                                     <port>8080:8080</port>
640                                     <port>4000:4000</port>
641                                 </ports>
642                                 <network>
643                                     <mode>custom</mode>
644                                     <name>sdc-network</name>
645                                     <alias>sdc-BE</alias>
646                                 </network>
647                             </run>
648                         </image>
649                         <image>
650                             <name>onap/sdc-backend-init:${it.docker.version}</name>
651                             <alias>sdc-backend-init</alias>
652                             <run>
653                                 <dependsOn>
654                                     <container>sdc-backend</container>
655                                 </dependsOn>
656                                 <env>
657                                     <ENVNAME>${it.env.name}</ENVNAME>
658                                 </env>
659                                 <hostname>sdc-BE-init</hostname>
660                                 <volumes>
661                                     <bind>
662                                         <volume>
663                                             ${it.chef.config}:/home/onap/chef-solo/environments
664                                         </volume>
665                                         <volume>${it.shared.volume}:/home/onap/logs</volume>
666                                     </bind>
667                                 </volumes>
668                                 <wait>
669                                     <time>660000</time>
670                                     <log>Chef Client finished</log>
671                                 </wait>
672                                 <network>
673                                     <mode>custom</mode>
674                                     <name>sdc-network</name>
675                                     <alias>sdc-BE-init</alias>
676                                 </network>
677                             </run>
678                         </image>
679                         <image>
680                             <name>onap/sdc-frontend:${it.docker.version}</name>
681                             <alias>sdc-frontend</alias>
682                             <run>
683                                 <env>
684                                     <ENVNAME>${it.env.name}</ENVNAME>
685                                     <JAVA_OPTIONS>
686                                         -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
687                                         -Xmx256m -Xms256m
688                                     </JAVA_OPTIONS>
689                                 </env>
690                                 <hostname>sdc-FE</hostname>
691                                 <volumes>
692                                     <bind>
693                                         <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
694                                         <volume>${it.shared.volume}:/app/jetty/logs</volume>
695                                         <volume>
696                                             ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml
697                                         </volume>
698
699                                     </bind>
700                                 </volumes>
701                                 <wait>
702                                     <time>60000</time>
703                                     <tcp>
704                                         <host>sdc-FE</host>
705                                         <mode>direct</mode>
706                                         <ports>
707                                             <port>9443</port>
708                                             <port>8181</port>
709                                             <port>6000</port>
710                                         </ports>
711                                     </tcp>
712                                 </wait>
713                                 <ports>
714                                     <port>9443:9443</port>
715                                     <port>8181:8181</port>
716                                     <port>6000:6000</port>
717                                 </ports>
718                                 <network>
719                                     <mode>custom</mode>
720                                     <name>sdc-network</name>
721                                     <alias>sdc-FE</alias>
722                                 </network>
723                             </run>
724                         </image>
725                         <image>
726                             <name>onap/sdc-simulator:${it.docker.version}</name>
727                             <alias>sdc-simulator</alias>
728                             <run>
729                                 <dependsOn>
730                                     <container>sdc-frontend</container>
731                                 </dependsOn>
732                                 <env>
733                                     <!--<FE_URL>${it.env.name}</FE_URL>-->
734                                     <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
735                                     <ENVNAME>${it.env.name}</ENVNAME>
736                                 </env>
737                                 <hostname>sdc-sim</hostname>
738                                 <volumes>
739                                     <bind>
740                                         <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
741                                         <volume>${it.shared.volume}:/app/jetty/logs</volume>
742                                     </bind>
743                                 </volumes>
744                                 <wait>
745                                     <time>60000</time>
746                                     <tcp>
747                                         <host>sdc-sim</host>
748                                         <mode>direct</mode>
749                                         <ports>
750                                             <port>8080</port>
751                                             <port>8443</port>
752                                         </ports>
753                                     </tcp>
754                                 </wait>
755                                 <ports>
756                                     <!-- http://localhost:8285/login to access SDC -->
757                                    <port>8285:8080</port>
758                                     <port>8286:8443</port>
759                                 </ports>
760                                 <network>
761                                     <mode>custom</mode>
762                                     <name>sdc-network</name>
763                                     <alias>sdc-sim</alias>
764                                 </network>
765                             </run>
766                         </image>
767
768                         <image>
769                             <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
770                             <alias>firefox-standalone</alias>
771                             <run>
772                                 <hostname>firefox-standalone</hostname>
773                                 <wait>
774                                     <time>20000</time>
775                                     <tcp>
776                                         <host>firefox-standalone</host>
777                                         <mode>direct</mode>
778                                         <ports>
779                                             <!-- Selenium remote automation port -->
780                                             <port>4444</port>
781                                             <!--<port>5900</port>-->
782                                             <!-- VNC port for viewing the browser result -->
783                                             <!-- password to access is "secret" -->
784                                         </ports>
785                                     </tcp>
786                                 </wait>
787                                 <env>
788                                     <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
789                                     <!--<START_XVFB>false</START_XVFB>-->
790                                     <SCREEN_WIDTH>1920</SCREEN_WIDTH>
791                                     <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
792                                 </env>
793                                 <ports>
794                                     <port>4444:4444</port>
795                                     <!--<port>5900:5900</port>-->
796                                 </ports>
797                                 <network>
798                                     <mode>custom</mode>
799                                     <name>sdc-network</name>
800                                     <alias>firefox-standalone</alias>
801                                 </network>
802                                 <volumes>
803                                     <bind>
804                                         <volume>
805                                             /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
806                                         </volume>
807                                         <volume>/dev/shm:/dev/shm</volume>
808                                     </bind>
809                                 </volumes>
810                             </run>
811                         </image>
812                       <image>
813                         <name>onap/org.onap.sdc.sdc-helm-validator:${it.helm-validator.version}</name>
814                         <alias>helm-validator</alias>
815                         <run>
816                           <skip>${it.helm-validator.disabled}</skip>
817                           <hostname>helm-validator</hostname>
818                           <wait>
819                             <time>20000</time>
820                             <tcp>
821                               <host>helm-validator</host>
822                               <mode>direct</mode>
823                               <ports>
824                                 <port>8080</port>
825                               </ports>
826                             </tcp>
827                           </wait>
828                           <ports>
829                             <port>8085:8080</port>
830                           </ports>
831                           <network>
832                             <mode>custom</mode>
833                             <name>sdc-network</name>
834                             <alias>helm-validator</alias>
835                           </network>
836                         </run>
837                       </image>
838                     </images>
839                 </configuration>
840                 <executions>
841                     <execution>
842                         <id>docker-start-for-it</id>
843                         <phase>pre-integration-test</phase>
844                         <goals>
845                             <goal>start</goal>
846                         </goals>
847                     </execution>
848                     <execution>
849                         <id>docker-stop-for-it</id>
850                         <phase>post-integration-test</phase>
851                         <goals>
852                             <goal>stop</goal>
853                         </goals>
854                     </execution>
855                 </executions>
856             </plugin>
857
858             <plugin>
859                 <groupId>org.apache.maven.plugins</groupId>
860                 <artifactId>maven-surefire-plugin</artifactId>
861                 <configuration>
862                     <skip>true</skip>
863                 </configuration>
864             </plugin>
865
866             <plugin>
867                 <groupId>org.apache.maven.plugins</groupId>
868                 <artifactId>maven-failsafe-plugin</artifactId>
869                 <configuration>
870                     <forkCount>1</forkCount>
871                     <reuseForks>true</reuseForks>
872                     <systemProperties>
873                         <property>
874                             <name>testng.dtd.http</name>
875                             <value>true</value>
876                         </property>
877                     </systemProperties>
878                     <suiteXmlFiles>
879                         <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
880                         <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
881                         <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
882                         <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
883                         <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
884                         <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
885                         <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
886                         <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
887                         <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
888                         <!--                        <file>src/test/resources/ci/testSuites/general.xml</file>-->
889                         <!--                        <file>src/test/resources/ci/testSuites/imports.xml</file>-->
890                         <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
891                         <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
892                         <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
893                         <!--                        <file>src/test/resources/ci/testSuites/product.xml</file>-->
894                         <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
895                         <!--                        <file>src/test/resources/ci/testSuites/property.xml</file>-->
896                         <!--                        <file>src/test/resources/ci/testSuites/resource.xml</file>-->
897                         <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
898                         <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
899                         <!--                        <file>src/test/resources/ci/testSuites/service.xml</file>-->
900                         <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
901                         <!--                        <file>src/test/resources/ci/testSuites/user.xml</file>-->
902                     </suiteXmlFiles>
903                 </configuration>
904             </plugin>
905         </plugins>
906     </build>
907     <profiles>
908         <profile>
909             <id>all-for-integration-tests-only</id>
910             <properties>
911                 <surefire.skip.tests>true</surefire.skip.tests>
912                 <skipTest>false</skipTest>
913             </properties>
914         </profile>
915         <profile>
916             <id>integration-tests-with-helm-validator</id>
917             <properties>
918                 <it.helm-validator.disabled>false</it.helm-validator.disabled>
919             </properties>
920             <build>
921                 <plugins>
922                     <plugin>
923                         <groupId>org.apache.maven.plugins</groupId>
924                         <artifactId>maven-failsafe-plugin</artifactId>
925                         <configuration>
926                             <forkCount>1</forkCount>
927                             <reuseForks>true</reuseForks>
928                             <systemProperties>
929                                 <property>
930                                     <name>testng.dtd.http</name>
931                                     <value>true</value>
932                                 </property>
933                             </systemProperties>
934                             <suiteXmlFiles>
935                                 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
936                                 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
937                                 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
938                                 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
939                             </suiteXmlFiles>
940                         </configuration>
941                     </plugin>
942                 </plugins>
943             </build>
944         </profile>
945     </profiles>
946 </project>