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