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