88491ddd692b28400cfd88fdee0f5c1950ef3abb
[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 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10         *
11      http://www.apache.org/licenses/LICENSE-2.0
12         *
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 ================================================================================
20 -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <groupId>org.openecomp.sdc</groupId>
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.7.1-SNAPSHOT</version>
36     </parent>
37
38     <properties>
39         <selenium.version>3.141.59</selenium.version>
40         <gecko.driver.version>0.27.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>2.53.1</it.ui.firefox.version>
54
55     </properties>
56
57     <dependencies>
58         <dependency>
59             <groupId>ch.qos.logback</groupId>
60             <artifactId>logback-classic</artifactId>
61             <version>${logback.version}</version>
62         </dependency>
63
64         <dependency>
65             <groupId>org.yaml</groupId>
66             <artifactId>snakeyaml</artifactId>
67             <version>${snakeyaml.version}</version>
68             <scope>test</scope>
69         </dependency>
70         <dependency>
71             <groupId>com.google.guava</groupId>
72             <artifactId>guava</artifactId>
73             <version>25.0-jre</version>
74             <scope>compile</scope>
75         </dependency>
76         <dependency>
77             <groupId>junit</groupId>
78             <artifactId>junit</artifactId>
79             <version>${junit.version}</version>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.testng</groupId>
84             <artifactId>testng</artifactId>
85             <version>${testng.version}</version>
86             <scope>test</scope>
87         </dependency>
88         <dependency>
89             <groupId>com.google.code.gson</groupId>
90             <artifactId>gson</artifactId>
91             <version>${gson.version}</version>
92             <scope>test</scope>
93         </dependency>
94         <dependency>
95             <groupId>org.openecomp.sdc.be</groupId>
96             <artifactId>catalog-model</artifactId>
97             <version>${project.version}</version>
98             <scope>test</scope>
99         </dependency>
100         <dependency>
101             <groupId>org.openecomp.sdc.be</groupId>
102             <artifactId>catalog-dao</artifactId>
103             <version>${project.version}</version>
104             <scope>test</scope>
105         </dependency>
106         <dependency>
107             <groupId>com.aventstack</groupId>
108             <artifactId>extentreports</artifactId>
109             <version>3.0.6</version>
110             <scope>test</scope>
111         </dependency>
112         <dependency>
113             <groupId>org.janusgraph</groupId>
114             <artifactId>janusgraph-core</artifactId>
115             <version>${janusgraph.version}</version>
116             <scope>test</scope>
117             <exclusions>
118                 <exclusion>
119                     <artifactId>slf4j-log4j12</artifactId>
120                     <groupId>org.slf4j</groupId>
121                 </exclusion>
122                 <exclusion>
123                     <artifactId>commons-collections</artifactId>
124                     <groupId>commons-collections</groupId>
125                 </exclusion>
126                 <exclusion>
127                     <artifactId>groovy</artifactId>
128                     <groupId>org.codehaus.groovy</groupId>
129                 </exclusion>
130                 <exclusion>
131                     <groupId>org.apache.thrift</groupId>
132                     <artifactId>libthrift</artifactId>
133                 </exclusion>
134             </exclusions>
135         </dependency>
136         <dependency>
137             <groupId>org.assertj</groupId>
138             <artifactId>assertj-core</artifactId>
139             <version>${assertj.version}</version>
140             <scope>test</scope>
141         </dependency>
142         <dependency>
143             <groupId>com.clearspring.analytics</groupId>
144             <artifactId>stream</artifactId>
145             <version>${clearspring.version}</version>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.apache.httpcomponents</groupId>
150             <artifactId>httpclient</artifactId>
151             <version>${httpclient.version}</version>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>org.apache.httpcomponents</groupId>
156             <artifactId>httpcore</artifactId>
157             <version>${httpcore.version}</version>
158             <scope>test</scope>
159         </dependency>
160         <dependency>
161             <groupId>com.fasterxml.jackson.core</groupId>
162             <artifactId>jackson-core</artifactId>
163             <version>${jackson.version}</version>
164             <scope>test</scope>
165         </dependency>
166         <dependency>
167             <groupId>org.codehaus.jackson</groupId>
168             <artifactId>jackson-mapper-asl</artifactId>
169             <version>1.9.2</version>
170             <scope>test</scope>
171         </dependency>
172         <dependency>
173             <groupId>com.fasterxml.jackson.core</groupId>
174             <artifactId>jackson-databind</artifactId>
175             <version>${jackson.version}</version>
176             <scope>test</scope>
177             <exclusions>
178                 <exclusion>
179                     <groupId>com.fasterxml.jackson.core</groupId>
180                     <artifactId>jackson-core</artifactId>
181                 </exclusion>
182             </exclusions>
183         </dependency>
184
185         <!--FOR the Frontend -->
186         <dependency>
187             <groupId>org.seleniumhq.selenium</groupId>
188             <artifactId>selenium-java</artifactId>
189             <scope>test</scope>
190             <version>${selenium.version}</version>
191         </dependency>
192         <dependency>
193             <groupId>org.seleniumhq.selenium</groupId>
194             <artifactId>selenium-server</artifactId>
195             <version>4.0.0-alpha-2</version>
196             <scope>test</scope>
197         </dependency>
198         <dependency>
199             <groupId>org.seleniumhq.selenium</groupId>
200             <artifactId>selenium-firefox-driver</artifactId>
201             <version>${selenium.version}</version>
202             <scope>test</scope>
203         </dependency>
204
205         <dependency>
206             <groupId>net.lightbody.bmp</groupId>
207             <!-- To use the legacy, Jetty-based implementation, change the artifactId
208               to browsermob-core -->
209             <artifactId>browsermob-core</artifactId>
210             <version>2.1.4</version>
211             <scope>test</scope>
212             <exclusions>
213                 <exclusion>
214                     <groupId>com.fasterxml.jackson.core</groupId>
215                     <artifactId>jackson-core</artifactId>
216                 </exclusion>
217             </exclusions>
218         </dependency>
219         <dependency>
220             <groupId>com.paulhammant</groupId>
221             <artifactId>ngwebdriver</artifactId>
222             <version>0.9.7</version>
223             <scope>test</scope>
224         </dependency>
225         <dependency>
226             <groupId>com.github.markusbernhardt</groupId>
227             <artifactId>proxy-vole</artifactId>
228             <version>1.0.2</version>
229             <scope>test</scope>
230         </dependency>
231         <dependency>
232             <groupId>org.hamcrest</groupId>
233             <artifactId>hamcrest</artifactId>
234             <version>${hamcrest.version}</version>
235             <scope>test</scope>
236         </dependency>
237         <dependency>
238             <groupId>commons-net</groupId>
239             <artifactId>commons-net</artifactId>
240             <version>3.3</version>
241             <scope>test</scope>
242         </dependency>
243     </dependencies>
244
245     <build>
246         <plugins>
247             <!-- Section for Integration tests -->
248             <plugin>
249                 <artifactId>maven-resources-plugin</artifactId>
250                 <executions>
251                     <execution>
252                         <id>copy-chef-resources</id>
253                         <phase>pre-integration-test</phase>
254                         <goals>
255                             <goal>copy-resources</goal>
256                         </goals>
257                         <configuration>
258                             <outputDirectory>${it.chef.config}</outputDirectory>
259                             <resources>
260                                 <resource>
261                                     <directory>environments</directory>
262                                     <filtering>true</filtering>
263                                     <includes>
264                                         <include>integration-test.json</include>
265                                         <include>plugins-configuration.yaml</include>
266                                     </includes>
267                                 </resource>
268                             </resources>
269                         </configuration>
270                     </execution>
271                     <execution>
272                         <id>copy-sdc-be-plugins</id>
273                         <phase>pre-integration-test</phase>
274                         <goals>
275                             <goal>copy-resources</goal>
276                         </goals>
277                         <configuration>
278                             <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
279                             <resources>
280                                 <resource>
281                                     <directory>../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target</directory>
282                                     <filtering>false</filtering>
283                                     <includes>
284                                         <include>etsi-nfv-nsd-csar-plugin-${version}.jar</include>
285                                     </includes>
286                                 </resource>
287                             </resources>
288                         </configuration>
289                     </execution>
290                 </executions>
291             </plugin>
292             <plugin>
293                 <groupId>org.codehaus.mojo</groupId>
294                 <artifactId>wagon-maven-plugin</artifactId>
295                 <version>2.0.0</version>
296                 <executions>
297                     <execution>
298                         <id>download-gecko</id>
299                         <phase>validate</phase>
300                         <goals>
301                             <goal>download-single</goal>
302                         </goals>
303                         <configuration>
304                             <url>https://github.com</url>
305                             <fromFile>
306                                 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
307                             </fromFile>
308                             <toDir>${project.build.directory}/gecko</toDir>
309                         </configuration>
310                     </execution>
311                 </executions>
312             </plugin>
313             <plugin>
314                 <artifactId>maven-antrun-plugin</artifactId>
315                 <version>1.8</version>
316                 <executions>
317                     <execution>
318                         <id>set-folder-permission</id>
319                         <phase>pre-integration-test</phase>
320                         <configuration>
321                             <target>
322                                 <mkdir dir="/tmp/sdc-integration-tests"/>
323                                 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
324                                 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
325                                 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation" type="dir" perm="ugo+rwx"/>
326                             </target>
327                         </configuration>
328                         <goals>
329                             <goal>run</goal>
330                         </goals>
331                     </execution>
332                     <execution>
333                         <id>untar-gecko</id>
334                         <phase>pre-integration-test</phase>
335                         <configuration>
336                             <target>
337                                 <untar src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
338                                        compression="gzip" dest="${project.build.directory}/gecko/"/>
339                                 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir" perm="ugo+rwx"/>
340                             </target>
341                         </configuration>
342                         <goals>
343                             <goal>run</goal>
344                         </goals>
345                     </execution>
346                 </executions>
347             </plugin>
348             <plugin>
349                 <groupId>org.codehaus.mojo</groupId>
350                 <artifactId>build-helper-maven-plugin</artifactId>
351                 <executions>
352                     <execution>
353                         <id>reserve-port-for-tests</id>
354                         <phase>validate</phase>
355                         <goals>
356                             <goal>reserve-network-port</goal>
357                         </goals>
358                         <configuration>
359                             <portNames>
360                                 <portName>sdc.it.docker.cassandra.port</portName>
361                             </portNames>
362                         </configuration>
363                     </execution>
364                 </executions>
365             </plugin>
366             <plugin>
367                 <groupId>io.fabric8</groupId>
368                 <artifactId>docker-maven-plugin</artifactId>
369                 <dependencies>
370                     <dependency>
371                         <groupId>org.apache.httpcomponents</groupId>
372                         <artifactId>httpclient</artifactId>
373                         <version>4.5.5</version>
374                     </dependency>
375                 </dependencies>
376                 <configuration>
377                     <verbose>true</verbose>
378                     <apiVersion>${docker.api.version}</apiVersion>
379                     <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
380                     <images>
381                         <image>
382                             <name>onap/sdc-cassandra:${it.docker.version}</name>
383                             <alias>sdc-cassandra</alias>
384                             <run>
385                                 <env>
386                                     <RELEASE>${project.version}</RELEASE>
387                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
388                                     <ENVNAME>${it.env.name}</ENVNAME>
389                                     <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
390                                     <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
391                                 </env>
392                                 <hostname>sdc-cs</hostname>
393                                 <volumes>
394                                     <bind>
395                                         <volume>${it.chef.config}:/root/chef-solo/environments</volume>
396                                     </bind>
397                                 </volumes>
398                                 <ulimits>
399                                     <ulimit>
400                                         <name>memlock</name>
401                                         <hard>-1</hard>
402                                         <soft>-1</soft>
403                                     </ulimit>
404                                     <ulimit>
405                                         <name>nofile</name>
406                                         <hard>100000</hard>
407                                         <soft>100000</soft>
408                                     </ulimit>
409                                 </ulimits>
410                                 <wait>
411                                     <time>120000</time>
412                                     <tcp>
413                                         <host>sdc-cs</host>
414                                         <mode>direct</mode>
415                                         <ports>
416                                             <port>9042</port>
417                                         </ports>
418                                     </tcp>
419                                 </wait>
420                                 <ports>
421                                     <port>9042:9042</port>
422                                 </ports>
423                                 <network>
424                                     <mode>custom</mode>
425                                     <name>sdc-network</name>
426                                     <alias>sdc-cs</alias>
427                                 </network>
428                             </run>
429                         </image>
430                         <image>
431                             <name>onap/sdc-cassandra-init:${it.docker.version}</name>
432                             <alias>sdc-cassandra-init</alias>
433                             <run>
434                                 <dependsOn>
435                                     <container>sdc-cassandra</container>
436                                 </dependsOn>
437                                 <env>
438                                     <RELEASE>${project.version}</RELEASE>
439                                     <SDC_USER>${it.sdc.user}</SDC_USER>
440                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
441                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
442                                     <ENVNAME>${it.env.name}</ENVNAME>
443                                 </env>
444                                 <hostname>sdc-cs-init</hostname>
445                                 <volumes>
446                                     <bind>
447                                         <volume>${it.chef.config}:/home/sdc/chef-solo/environments</volume>
448                                     </bind>
449                                 </volumes>
450                                 <wait>
451                                     <time>300000</time>
452                                     <log>SdcSchemaFileImport successfully completed</log>
453                                 </wait>
454                                 <network>
455                                     <mode>custom</mode>
456                                     <name>sdc-network</name>
457                                     <alias>sdc-cs-init</alias>
458                                 </network>
459                             </run>
460                         </image>
461                         <image>
462                             <name>onap/sdc-onboard-cassandra-init:${it.docker.version}</name>
463                             <alias>sdc-cassandra-onboard-init</alias>
464                             <run>
465                                 <dependsOn>
466                                     <container>sdc-cassandra</container>
467                                 </dependsOn>
468                                 <env>
469                                     <RELEASE>${project.version}</RELEASE>
470                                     <SDC_USER>${it.sdc.user}</SDC_USER>
471                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
472                                     <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
473                                     <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
474                                     <ENVNAME>${it.env.name}</ENVNAME>
475                                     <CS_HOST_IP>sdc-cs</CS_HOST_IP>
476                                 </env>
477                                 <hostname>sdc-cs-onboard-init</hostname>
478                                 <volumes>
479                                     <bind>
480                                         <volume>${it.chef.config}:/home/sdc/chef-solo/environments</volume>
481                                     </bind>
482                                 </volumes>
483                                 <wait>
484                                     <time>30000</time>
485                                     <log>Initializing onboard schemas</log>
486                                 </wait>
487                                 <network>
488                                     <mode>custom</mode>
489                                     <name>sdc-network</name>
490                                     <alias>sdc-cs-onboard-init</alias>
491                                 </network>
492                             </run>
493                         </image>
494                         <image>
495                             <name>onap/sdc-onboard-backend:${it.docker.version}</name>
496                             <alias>sdc-onboard-backend</alias>
497                             <run>
498                                 <dependsOn>
499                                     <container>sdc-cassandra-onboard-init</container>
500                                 </dependsOn>
501                                 <env>
502                                     <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}</cassandra_ssl_enabled>
503                                     <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
504                                     <SDC_USER>${it.sdc.user}</SDC_USER>
505                                     <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
506                                     <ENVNAME>${it.env.name}</ENVNAME>
507                                     <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
508                                     <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 -Xmx1g -Xms1g</JAVA_OPTIONS>
509                                 </env>
510                                 <hostname>sdc-onboard-BE</hostname>
511                                 <volumes>
512                                     <bind>
513                                         <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
514                                         <volume>${project.basedir}/src/test/resources/cert:/var/lib/jetty/onap/cert
515                                         </volume>
516                                     </bind>
517                                 </volumes>
518                                 <wait>
519                                     <time>300000</time>
520                                     <tcp>
521                                         <host>sdc-onboard-BE</host>
522                                         <mode>direct</mode>
523                                         <ports>
524                                             <port>8445</port>
525                                             <port>8081</port>
526                                             <port>4001</port>
527                                         </ports>
528                                     </tcp>
529                                 </wait>
530                                 <ports>
531                                     <port>8445:8445</port>
532                                     <port>8081:8081</port>
533                                     <port>4001:4001</port>
534                                 </ports>
535                                 <network>
536                                     <mode>custom</mode>
537                                     <name>sdc-network</name>
538                                     <alias>sdc-onboard-BE</alias>
539                                 </network>
540                             </run>
541                         </image>
542                         <image>
543                             <name>onap/sdc-backend-all-plugins:${it.docker.version}</name>
544                             <alias>sdc-backend</alias>
545                             <run>
546                                 <dependsOn>
547                                     <container>sdc-cassandra-init</container>
548                                 </dependsOn>
549                                 <env>
550                                     <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}</cassandra_ssl_enabled>
551                                     <ENVNAME>${it.env.name}</ENVNAME>
552                                     <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
553                                         -Xmx1536m -Xms1536m</JAVA_OPTIONS>
554                                 </env>
555                                 <hostname>sdc-BE</hostname>
556                                 <volumes>
557                                     <bind>
558                                         <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
559                                         <volume>${it.shared.volume}:/var/lib/jetty/logs</volume>
560                                     </bind>
561                                 </volumes>
562                                 <wait>
563                                     <time>60000</time>
564                                     <tcp>
565                                         <host>sdc-BE</host>
566                                         <mode>direct</mode>
567                                         <ports>
568                                             <port>8443</port>
569                                             <port>8080</port>
570                                             <port>4000</port>
571                                         </ports>
572                                     </tcp>
573                                 </wait>
574                                 <ports>
575                                     <port>8443:8443</port>
576                                     <port>8080:8080</port>
577                                     <port>4000:4000</port>
578                                 </ports>
579                                 <network>
580                                     <mode>custom</mode>
581                                     <name>sdc-network</name>
582                                     <alias>sdc-BE</alias>
583                                 </network>
584                             </run>
585                         </image>
586                         <image>
587                             <name>onap/sdc-backend-init:${it.docker.version}</name>
588                             <alias>sdc-backend-init</alias>
589                             <run>
590                                 <dependsOn>
591                                     <container>sdc-backend</container>
592                                 </dependsOn>
593                                 <env>
594                                     <ENVNAME>${it.env.name}</ENVNAME>
595                                 </env>
596                                 <hostname>sdc-BE-init</hostname>
597                                 <volumes>
598                                     <bind>
599                                         <volume>${it.chef.config}:/home/onap/chef-solo/environments</volume>
600                                         <volume>${it.shared.volume}:/var/lib/jetty/logs</volume>
601                                     </bind>
602                                 </volumes>
603                                 <wait>
604                                     <time>600000</time>
605                                     <log>Chef Client finished</log>
606                                 </wait>
607                                 <network>
608                                     <mode>custom</mode>
609                                     <name>sdc-network</name>
610                                     <alias>sdc-BE-init</alias>
611                                 </network>
612                             </run>
613                         </image>
614                         <image>
615                             <name>onap/sdc-frontend:${it.docker.version}</name>
616                             <alias>sdc-frontend</alias>
617                             <run>
618                                 <env>
619                                     <ENVNAME>${it.env.name}</ENVNAME>
620                                     <JAVA_OPTIONS>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
621                                      -Xmx256m -Xms256m</JAVA_OPTIONS>
622                                 </env>
623                                 <hostname>sdc-FE</hostname>
624                                 <volumes>
625                                     <bind>
626                                         <volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
627                                         <volume>${it.shared.volume}:/var/lib/jetty/logs</volume>
628                                         <volume>
629                                             ${it.chef.config}/plugins-configuration.yaml:/var/lib/jetty/config/catalog-fe/plugins-configuration.yaml
630                                         </volume>
631                                     </bind>
632                                 </volumes>
633                                 <wait>
634                                     <time>60000</time>
635                                     <tcp>
636                                         <host>sdc-FE</host>
637                                         <mode>direct</mode>
638                                         <ports>
639                                             <port>9443</port>
640                                             <port>8181</port>
641                                             <port>6000</port>
642                                         </ports>
643                                     </tcp>
644                                 </wait>
645                                 <ports>
646                                     <port>9443:9443</port>
647                                     <port>8181:8181</port>
648                                     <port>6000:6000</port>
649                                 </ports>
650                                 <network>
651                                     <mode>custom</mode>
652                                     <name>sdc-network</name>
653                                     <alias>sdc-FE</alias>
654                                 </network>
655                             </run>
656                         </image>
657                         <image>
658                             <name>onap/sdc-simulator:${it.docker.version}</name>
659                             <alias>sdc-simulator</alias>
660                             <run>
661                                 <dependsOn>
662                                     <container>sdc-frontend</container>
663                                 </dependsOn>
664                                 <env>
665                                     <!--<FE_URL>${it.env.name}</FE_URL>-->
666                                     <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
667                                     <ENVNAME>${it.env.name}</ENVNAME>
668                                 </env>
669                                 <hostname>sdc-sim</hostname>
670                                 <volumes>
671                                     <bind>
672                                         <volume>${it.chef.config}:/root/chef-solo/environments</volume>
673                                     </bind>
674                                 </volumes>
675                                 <wait>
676                                     <time>60000</time>
677                                     <tcp>
678                                         <host>sdc-sim</host>
679                                         <mode>direct</mode>
680                                         <ports>
681                                             <port>8080</port>
682                                             <port>8443</port>
683                                         </ports>
684                                     </tcp>
685                                 </wait>
686                                 <ports>
687                                     <!-- http://localhost:8285/login to access SDC -->
688                                     <port>8285:8080</port>
689                                     <port>8286:8443</port>
690                                 </ports>
691                                 <network>
692                                     <mode>custom</mode>
693                                     <name>sdc-network</name>
694                                     <alias>sdc-sim</alias>
695                                 </network>
696                             </run>
697                         </image>
698
699                         <image>
700                             <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
701                             <alias>firefox-standalone</alias>
702                             <run>
703                                 <hostname>firefox-standalone</hostname>
704                                 <wait>
705                                     <time>20000</time>
706                                     <tcp>
707                                         <host>firefox-standalone</host>
708                                         <mode>direct</mode>
709                                         <ports>
710                                             <!-- Selenium remote automation port -->
711                                             <port>4444</port>
712                                             <!--<port>5900</port>-->
713                                             <!-- VNC port for viewing the browser result -->
714                                             <!-- password to access is "secret" -->
715
716                                         </ports>
717                                     </tcp>
718                                 </wait>
719                                 <env>
720                                     <SE_OPTS>-debug</SE_OPTS>
721                                     <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
722                                     <!--<START_XVFB>false</START_XVFB>-->
723                                     <SCREEN_WIDTH>1920</SCREEN_WIDTH>
724                                     <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
725                                 </env>
726                                 <ports>
727                                     <port>4444:4444</port>
728                                     <!--<port>5900:5900</port>-->
729                                 </ports>
730                                 <network>
731                                     <mode>custom</mode>
732                                     <name>sdc-network</name>
733                                     <alias>firefox-standalone</alias>
734                                 </network>
735                                 <volumes>
736                                     <bind>
737                                         <volume>
738                                             /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
739                                         </volume>
740                                         <volume>/dev/shm:/dev/shm</volume>
741                                     </bind>
742                                 </volumes>
743                             </run>
744                         </image>
745                     </images>
746                 </configuration>
747                 <executions>
748                     <execution>
749                         <id>docker-start-for-it</id>
750                         <phase>pre-integration-test</phase>
751                         <goals>
752                             <goal>start</goal>
753                         </goals>
754                     </execution>
755                     <execution>
756                         <id>docker-stop-for-it</id>
757                         <phase>post-integration-test</phase>
758                         <goals>
759                             <goal>stop</goal>
760                         </goals>
761                     </execution>
762                 </executions>
763             </plugin>
764
765             <plugin>
766                 <groupId>org.apache.maven.plugins</groupId>
767                 <artifactId>maven-surefire-plugin</artifactId>
768                 <configuration>
769                     <skip>true</skip>
770                 </configuration>
771             </plugin>
772
773             <plugin>
774                 <groupId>org.apache.maven.plugins</groupId>
775                 <artifactId>maven-failsafe-plugin</artifactId>
776                 <configuration>
777                     <forkCount>1</forkCount>
778                     <reuseForks>true</reuseForks>
779                     <systemProperties>
780                         <property>
781                             <name>testng.dtd.http</name>
782                             <value>true</value>
783                         </property>
784                     </systemProperties>
785                     <suiteXmlFiles>
786                         <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
787                         <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
788                         <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
789                         <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
790                         <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
791                         <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
792                         <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
793                         <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
794                         <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
795                         <!--                        <file>src/test/resources/ci/testSuites/general.xml</file>-->
796                         <!--                        <file>src/test/resources/ci/testSuites/imports.xml</file>-->
797                         <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
798                         <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
799                         <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
800                         <!--                        <file>src/test/resources/ci/testSuites/product.xml</file>-->
801                         <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
802                         <!--                        <file>src/test/resources/ci/testSuites/property.xml</file>-->
803                         <!--                        <file>src/test/resources/ci/testSuites/resource.xml</file>-->
804                         <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
805                         <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
806                         <!--                        <file>src/test/resources/ci/testSuites/service.xml</file>-->
807                         <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
808                         <!--                        <file>src/test/resources/ci/testSuites/user.xml</file>-->
809                     </suiteXmlFiles>
810                 </configuration>
811             </plugin>
812         </plugins>
813     </build>
814 </project>