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