blob: cf546a6134b21d72b803bc7c6af6fd98ced9d9b5 [file] [log] [blame]
sebdet056998c2020-08-13 10:32:41 -07001<!--
2============LICENSE_START=======================================================
3SDC
4================================================================================
5Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
Joanna Jeremicz0f7ce922021-08-04 10:37:32 +02006Modifications copyright (c) 2020-2021 Nokia
sebdet056998c2020-08-13 10:32:41 -07007================================================================================
8Licensed under the Apache License, Version 2.0 (the "License");
9you may not use this file except in compliance with the License.
10You may obtain a copy of the License at
11 *
12 http://www.apache.org/licenses/LICENSE-2.0
13 *
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations under the License.
19============LICENSE_END=========================================================
20================================================================================
21-->
sebdet591810d2020-09-17 15:07:23 +020022
sebdet056998c2020-08-13 10:32:41 -070023<project xmlns="http://maven.apache.org/POM/4.0.0"
vasraz787cfd52021-03-23 17:47:51 +000024 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">
sebdet056998c2020-08-13 10:32:41 -070026 <modelVersion>4.0.0</modelVersion>
27
sebdet056998c2020-08-13 10:32:41 -070028 <artifactId>sdc-integration-tests</artifactId>
JulienBeb1679462020-08-19 11:12:59 +020029 <packaging>jar</packaging>
sebdet056998c2020-08-13 10:32:41 -070030 <name>sdc-integration-tests</name>
31
32 <parent>
33 <groupId>org.openecomp.sdc</groupId>
34 <artifactId>sdc-main</artifactId>
MichaelMorris53aed702021-09-28 16:08:53 +010035 <version>1.10.0-SNAPSHOT</version>
sebdet056998c2020-08-13 10:32:41 -070036 </parent>
37
38 <properties>
JulienBe930ed252020-08-25 22:20:30 +020039 <selenium.version>3.141.59</selenium.version>
andre.schmida64494f2021-03-15 16:51:12 +000040 <gecko.driver.version>0.29.0</gecko.driver.version>
sebdetc5c60bf2020-08-25 12:31:39 +020041 <!-- SDC Startup parameters -->
sebdet056998c2020-08-13 10:32:41 -070042 <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>
andre.schmid662fcba2020-08-21 11:31:47 +010050 <it.sdc-be.plugins>${project.build.directory}/plugins/sdc-be</it.sdc-be.plugins>
sebdet056998c2020-08-13 10:32:41 -070051 <it.shared.volume>/tmp/sdc-integration-tests</it.shared.volume>
sebdetb988cb62020-09-25 15:48:10 +020052 <it.docker.version>latest</it.docker.version>
andre.schmida64494f2021-03-15 16:51:12 +000053 <it.ui.firefox.version>86.0</it.ui.firefox.version>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +020054 <it.helm-validator.disabled>true</it.helm-validator.disabled>
Joanna Jeremicz0f7ce922021-08-04 10:37:32 +020055 <it.helm-validator.version>1.2.2</it.helm-validator.version>
JulienBe930ed252020-08-25 22:20:30 +020056
vasraz97149612020-10-19 16:33:00 +010057 <!-- parser-->
vasraz7edf3d32021-08-18 13:54:08 +010058 <sdc-tosca-parser.version>1.6.6</sdc-tosca-parser.version>
sebdet056998c2020-08-13 10:32:41 -070059 </properties>
60
61 <dependencies>
JulienBeb1679462020-08-19 11:12:59 +020062 <dependency>
JulienBe61663b92020-09-03 17:09:46 +020063 <groupId>ch.qos.logback</groupId>
64 <artifactId>logback-classic</artifactId>
65 <version>${logback.version}</version>
66 </dependency>
67
68 <dependency>
JulienBeb1679462020-08-19 11:12:59 +020069 <groupId>org.yaml</groupId>
70 <artifactId>snakeyaml</artifactId>
71 <version>${snakeyaml.version}</version>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
andre.schmidf72d59b2021-02-25 18:00:48 +000075 <groupId>org.hamcrest</groupId>
76 <artifactId>hamcrest</artifactId>
77 <version>${hamcrest.version}</version>
78 <scope>test</scope>
JulienBeb1679462020-08-19 11:12:59 +020079 </dependency>
80 <dependency>
JulienBeb1679462020-08-19 11:12:59 +020081 <groupId>org.testng</groupId>
82 <artifactId>testng</artifactId>
83 <version>${testng.version}</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>com.google.code.gson</groupId>
88 <artifactId>gson</artifactId>
89 <version>${gson.version}</version>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.openecomp.sdc.be</groupId>
94 <artifactId>catalog-model</artifactId>
95 <version>${project.version}</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.openecomp.sdc.be</groupId>
100 <artifactId>catalog-dao</artifactId>
101 <version>${project.version}</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
Maciej Malewski1b441342020-12-10 14:38:00 +0100105 <groupId>org.openecomp.sdc</groupId>
106 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
107 <version>${project.version}</version>
108 <scope>test</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100109 <exclusions>
110 <exclusion>
111 <groupId>org.springframework</groupId>
112 <artifactId>spring-core</artifactId>
113 </exclusion>
114 </exclusions>
Maciej Malewski1b441342020-12-10 14:38:00 +0100115 </dependency>
116 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200117 <groupId>com.aventstack</groupId>
118 <artifactId>extentreports</artifactId>
119 <version>3.0.6</version>
JulienBeb1679462020-08-19 11:12:59 +0200120 <scope>test</scope>
vasraz987fc742021-11-29 17:42:02 +0000121 <exclusions>
122 <exclusion>
123 <groupId>org.jsoup</groupId>
124 <artifactId>jsoup</artifactId>
125 </exclusion>
126 <exclusion>
127 <groupId>org.apache.httpcomponents</groupId>
128 <artifactId>httpmime</artifactId>
129 </exclusion>
130 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200131 </dependency>
132 <dependency>
133 <groupId>org.janusgraph</groupId>
134 <artifactId>janusgraph-core</artifactId>
135 <version>${janusgraph.version}</version>
136 <scope>test</scope>
137 <exclusions>
138 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000139 <artifactId>gremlin-groovy</artifactId>
140 <groupId>org.apache.tinkerpop</groupId>
141 </exclusion>
142 <exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200143 <artifactId>slf4j-log4j12</artifactId>
144 <groupId>org.slf4j</groupId>
145 </exclusion>
146 <exclusion>
147 <artifactId>commons-collections</artifactId>
148 <groupId>commons-collections</groupId>
149 </exclusion>
150 <exclusion>
151 <artifactId>groovy</artifactId>
152 <groupId>org.codehaus.groovy</groupId>
153 </exclusion>
154 <exclusion>
155 <groupId>org.apache.thrift</groupId>
156 <artifactId>libthrift</artifactId>
157 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100158 <exclusion>
vasraz30b974a2021-05-19 18:22:12 +0100159 <groupId>org.apache.commons</groupId>
160 <artifactId>commons-text</artifactId>
vasrazb7ea3ef2021-05-12 13:56:51 +0100161 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100162 <exclusion>
163 <groupId>commons-codec</groupId>
164 <artifactId>commons-codec</artifactId>
165 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100166 <exclusion>
167 <groupId>dom4j</groupId>
168 <artifactId>dom4j</artifactId>
169 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000170 <exclusion>
171 <groupId>org.slf4j</groupId>
172 <artifactId>jcl-over-slf4j</artifactId>
173 </exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200174 </exclusions>
175 </dependency>
176 <dependency>
177 <groupId>org.assertj</groupId>
178 <artifactId>assertj-core</artifactId>
179 <version>${assertj.version}</version>
180 <scope>test</scope>
181 </dependency>
182 <dependency>
vasraz30b974a2021-05-19 18:22:12 +0100183 <groupId>org.apache.commons</groupId>
184 <artifactId>commons-text</artifactId>
185 <version>${apache-commons-text.version}</version>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200189 <groupId>com.clearspring.analytics</groupId>
190 <artifactId>stream</artifactId>
191 <version>${clearspring.version}</version>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>org.apache.httpcomponents</groupId>
196 <artifactId>httpclient</artifactId>
197 <version>${httpclient.version}</version>
198 <scope>test</scope>
vasraz66af7c52021-07-20 23:22:45 +0100199 <exclusions>
200 <exclusion>
201 <groupId>commons-codec</groupId>
202 <artifactId>commons-codec</artifactId>
203 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000204 <exclusion>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpcore</artifactId>
207 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100208 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200209 </dependency>
210 <dependency>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpcore</artifactId>
213 <version>${httpcore.version}</version>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>com.fasterxml.jackson.core</groupId>
218 <artifactId>jackson-core</artifactId>
219 <version>${jackson.version}</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>org.codehaus.jackson</groupId>
224 <artifactId>jackson-mapper-asl</artifactId>
225 <version>1.9.2</version>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
229 <groupId>com.fasterxml.jackson.core</groupId>
230 <artifactId>jackson-databind</artifactId>
231 <version>${jackson.version}</version>
232 <scope>test</scope>
233 <exclusions>
234 <exclusion>
235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-core</artifactId>
237 </exclusion>
238 </exclusions>
239 </dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200240
vasraz97149612020-10-19 16:33:00 +0100241 <dependency>
242 <groupId>org.onap.sdc.sdc-tosca</groupId>
243 <artifactId>sdc-tosca</artifactId>
244 <version>${sdc-tosca-parser.version}</version>
245 </dependency>
246
sebdetc5c60bf2020-08-25 12:31:39 +0200247 <!--FOR the Frontend -->
248 <dependency>
249 <groupId>org.seleniumhq.selenium</groupId>
250 <artifactId>selenium-java</artifactId>
251 <scope>test</scope>
JulienBe930ed252020-08-25 22:20:30 +0200252 <version>${selenium.version}</version>
sebdetc5c60bf2020-08-25 12:31:39 +0200253 </dependency>
254 <dependency>
JulienBe930ed252020-08-25 22:20:30 +0200255 <groupId>org.seleniumhq.selenium</groupId>
256 <artifactId>selenium-server</artifactId>
andre.schmida64494f2021-03-15 16:51:12 +0000257 <version>${selenium.version}</version>
JulienBe930ed252020-08-25 22:20:30 +0200258 <scope>test</scope>
259 </dependency>
260 <dependency>
261 <groupId>org.seleniumhq.selenium</groupId>
262 <artifactId>selenium-firefox-driver</artifactId>
263 <version>${selenium.version}</version>
264 <scope>test</scope>
265 </dependency>
266
267 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200268 <groupId>net.lightbody.bmp</groupId>
269 <!-- To use the legacy, Jetty-based implementation, change the artifactId
270 to browsermob-core -->
271 <artifactId>browsermob-core</artifactId>
272 <version>2.1.4</version>
273 <scope>test</scope>
274 <exclusions>
275 <exclusion>
276 <groupId>com.fasterxml.jackson.core</groupId>
277 <artifactId>jackson-core</artifactId>
278 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000279 <exclusion>
280 <groupId>org.slf4j</groupId>
281 <artifactId>jcl-over-slf4j</artifactId>
282 </exclusion>
sebdetc5c60bf2020-08-25 12:31:39 +0200283 </exclusions>
284 </dependency>
285 <dependency>
286 <groupId>com.paulhammant</groupId>
287 <artifactId>ngwebdriver</artifactId>
288 <version>0.9.7</version>
289 <scope>test</scope>
290 </dependency>
291 <dependency>
292 <groupId>com.github.markusbernhardt</groupId>
293 <artifactId>proxy-vole</artifactId>
294 <version>1.0.2</version>
295 <scope>test</scope>
vasraz987fc742021-11-29 17:42:02 +0000296 <exclusions>
297 <exclusion>
298 <groupId>net.java.dev.jna</groupId>
299 <artifactId>jna</artifactId>
300 </exclusion>
301 <exclusion>
302 <groupId>net.java.dev.jna</groupId>
303 <artifactId>jna-platform</artifactId>
304 </exclusion>
305 </exclusions>
sebdetc5c60bf2020-08-25 12:31:39 +0200306 </dependency>
307 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200308 <groupId>commons-net</groupId>
309 <artifactId>commons-net</artifactId>
310 <version>3.3</version>
311 <scope>test</scope>
312 </dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200313 <dependency>
314 <groupId>org.apache.logging.log4j</groupId>
315 <artifactId>log4j-api</artifactId>
316 <version>2.13.1</version>
317 <scope>test</scope>
318 </dependency>
vasraz8dbc7322021-06-26 14:23:12 +0100319 <dependency>
320 <groupId>org.springframework</groupId>
321 <artifactId>spring-core</artifactId>
322 <version>${spring.version}</version>
323 <scope>test</scope>
324 </dependency>
vasrazb08ac292021-10-21 17:32:16 +0100325 <dependency>
326 <groupId>org.onap.portal.sdk</groupId>
327 <artifactId>epsdk-fw</artifactId>
328 <version>${ecomp.version}</version>
329 <scope>test</scope>
330 </dependency>
sebdet056998c2020-08-13 10:32:41 -0700331 </dependencies>
332
333 <build>
334 <plugins>
335 <!-- Section for Integration tests -->
336 <plugin>
337 <artifactId>maven-resources-plugin</artifactId>
338 <executions>
339 <execution>
sebdet5b057082020-09-01 23:47:27 +0200340 <id>copy-chef-resources</id>
sebdet056998c2020-08-13 10:32:41 -0700341 <phase>pre-integration-test</phase>
342 <goals>
343 <goal>copy-resources</goal>
344 </goals>
345 <configuration>
346 <outputDirectory>${it.chef.config}</outputDirectory>
347 <resources>
348 <resource>
JulienBeb1679462020-08-19 11:12:59 +0200349 <directory>environments</directory>
sebdet056998c2020-08-13 10:32:41 -0700350 <filtering>true</filtering>
351 <includes>
352 <include>integration-test.json</include>
JulienBe930ed252020-08-25 22:20:30 +0200353 <include>plugins-configuration.yaml</include>
sebdet056998c2020-08-13 10:32:41 -0700354 </includes>
355 </resource>
356 </resources>
357 </configuration>
358 </execution>
andre.schmid662fcba2020-08-21 11:31:47 +0100359 <execution>
360 <id>copy-sdc-be-plugins</id>
361 <phase>pre-integration-test</phase>
362 <goals>
363 <goal>copy-resources</goal>
364 </goals>
365 <configuration>
366 <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
367 <resources>
368 <resource>
vasraz787cfd52021-03-23 17:47:51 +0000369 <directory>
370 ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target
371 </directory>
andre.schmid662fcba2020-08-21 11:31:47 +0100372 <filtering>false</filtering>
373 <includes>
vasraz787cfd52021-03-23 17:47:51 +0000374 <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar
375 </include>
andre.schmid662fcba2020-08-21 11:31:47 +0100376 </includes>
377 </resource>
378 </resources>
379 </configuration>
380 </execution>
sebdet056998c2020-08-13 10:32:41 -0700381 </executions>
382 </plugin>
383 <plugin>
JulienBe930ed252020-08-25 22:20:30 +0200384 <groupId>org.codehaus.mojo</groupId>
385 <artifactId>wagon-maven-plugin</artifactId>
386 <version>2.0.0</version>
387 <executions>
388 <execution>
389 <id>download-gecko</id>
390 <phase>validate</phase>
391 <goals>
392 <goal>download-single</goal>
393 </goals>
394 <configuration>
395 <url>https://github.com</url>
396 <fromFile>
397 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
398 </fromFile>
399 <toDir>${project.build.directory}/gecko</toDir>
400 </configuration>
401 </execution>
402 </executions>
403 </plugin>
404 <plugin>
vasraz787cfd52021-03-23 17:47:51 +0000405 <groupId>org.apache.maven.plugins</groupId>
sebdet056998c2020-08-13 10:32:41 -0700406 <artifactId>maven-antrun-plugin</artifactId>
vasraz787cfd52021-03-23 17:47:51 +0000407 <version>${maven-antrun-plugin.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700408 <executions>
409 <execution>
JulienBe930ed252020-08-25 22:20:30 +0200410 <id>set-folder-permission</id>
sebdet056998c2020-08-13 10:32:41 -0700411 <phase>pre-integration-test</phase>
412 <configuration>
413 <target>
sebdet5b057082020-09-01 23:47:27 +0200414 <mkdir dir="/tmp/sdc-integration-tests"/>
415 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
416 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
vasraz787cfd52021-03-23 17:47:51 +0000417 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation"
418 type="dir"
419 perm="ugo+rwx"/>
JulienBe930ed252020-08-25 22:20:30 +0200420 </target>
421 </configuration>
422 <goals>
423 <goal>run</goal>
424 </goals>
425 </execution>
426 <execution>
427 <id>untar-gecko</id>
428 <phase>pre-integration-test</phase>
429 <configuration>
430 <target>
vasraz787cfd52021-03-23 17:47:51 +0000431 <untar
432 src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
433 compression="gzip" dest="${project.build.directory}/gecko/"/>
434 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir"
435 perm="ugo+rwx"/>
sebdet056998c2020-08-13 10:32:41 -0700436 </target>
437 </configuration>
438 <goals>
439 <goal>run</goal>
440 </goals>
441 </execution>
442 </executions>
443 </plugin>
444 <plugin>
445 <groupId>org.codehaus.mojo</groupId>
446 <artifactId>build-helper-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700447 <executions>
448 <execution>
449 <id>reserve-port-for-tests</id>
450 <phase>validate</phase>
451 <goals>
452 <goal>reserve-network-port</goal>
453 </goals>
454 <configuration>
455 <portNames>
456 <portName>sdc.it.docker.cassandra.port</portName>
457 </portNames>
458 </configuration>
459 </execution>
460 </executions>
461 </plugin>
462 <plugin>
463 <groupId>io.fabric8</groupId>
464 <artifactId>docker-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700465 <dependencies>
466 <dependency>
467 <groupId>org.apache.httpcomponents</groupId>
468 <artifactId>httpclient</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100469 <version>${httpclient.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700470 </dependency>
471 </dependencies>
472 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200473 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200474 <apiVersion>${docker.api.version}</apiVersion>
sebdet056998c2020-08-13 10:32:41 -0700475 <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
vasrazb08ac292021-10-21 17:32:16 +0100476 <startParallel>true</startParallel>
sebdet056998c2020-08-13 10:32:41 -0700477 <images>
478 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000479 <name>${docker.namespace}/sdc-cassandra:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700480 <alias>sdc-cassandra</alias>
481 <run>
482 <env>
483 <RELEASE>${project.version}</RELEASE>
484 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
485 <ENVNAME>${it.env.name}</ENVNAME>
486 <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
487 <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
488 </env>
489 <hostname>sdc-cs</hostname>
490 <volumes>
491 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000492 <volume>${it.chef.config}:/root/chef-solo/environments
493 </volume>
sebdet056998c2020-08-13 10:32:41 -0700494 </bind>
495 </volumes>
496 <ulimits>
497 <ulimit>
498 <name>memlock</name>
499 <hard>-1</hard>
500 <soft>-1</soft>
501 </ulimit>
502 <ulimit>
503 <name>nofile</name>
504 <hard>100000</hard>
505 <soft>100000</soft>
506 </ulimit>
507 </ulimits>
508 <wait>
509 <time>120000</time>
510 <tcp>
511 <host>sdc-cs</host>
512 <mode>direct</mode>
513 <ports>
514 <port>9042</port>
515 </ports>
516 </tcp>
517 </wait>
518 <ports>
519 <port>9042:9042</port>
520 </ports>
521 <network>
522 <mode>custom</mode>
523 <name>sdc-network</name>
524 <alias>sdc-cs</alias>
525 </network>
526 </run>
527 </image>
528 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000529 <name>${docker.namespace}/sdc-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700530 <alias>sdc-cassandra-init</alias>
531 <run>
532 <dependsOn>
533 <container>sdc-cassandra</container>
534 </dependsOn>
535 <env>
536 <RELEASE>${project.version}</RELEASE>
537 <SDC_USER>${it.sdc.user}</SDC_USER>
538 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
539 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
540 <ENVNAME>${it.env.name}</ENVNAME>
541 </env>
542 <hostname>sdc-cs-init</hostname>
543 <volumes>
544 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000545 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
546 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200547
sebdet056998c2020-08-13 10:32:41 -0700548 </bind>
549 </volumes>
550 <wait>
551 <time>300000</time>
552 <log>SdcSchemaFileImport successfully completed</log>
553 </wait>
554 <network>
555 <mode>custom</mode>
556 <name>sdc-network</name>
557 <alias>sdc-cs-init</alias>
558 </network>
559 </run>
560 </image>
561 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000562 <name>${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700563 <alias>sdc-cassandra-onboard-init</alias>
564 <run>
565 <dependsOn>
vasrazb08ac292021-10-21 17:32:16 +0100566 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700567 </dependsOn>
568 <env>
569 <RELEASE>${project.version}</RELEASE>
570 <SDC_USER>${it.sdc.user}</SDC_USER>
571 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
572 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
573 <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
574 <ENVNAME>${it.env.name}</ENVNAME>
575 <CS_HOST_IP>sdc-cs</CS_HOST_IP>
576 </env>
577 <hostname>sdc-cs-onboard-init</hostname>
578 <volumes>
579 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000580 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
581 </volume>
sebdet056998c2020-08-13 10:32:41 -0700582 </bind>
583 </volumes>
584 <wait>
585 <time>30000</time>
andre.schmidb8bfef32021-08-12 23:05:15 +0100586 <log>Onboarding init was successful</log>
sebdet056998c2020-08-13 10:32:41 -0700587 </wait>
588 <network>
589 <mode>custom</mode>
590 <name>sdc-network</name>
591 <alias>sdc-cs-onboard-init</alias>
592 </network>
593 </run>
594 </image>
595 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000596 <name>${docker.namespace}/sdc-onboard-backend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700597 <alias>sdc-onboard-backend</alias>
598 <run>
vasrazb08ac292021-10-21 17:32:16 +0100599 <dependsOn>
sebdet056998c2020-08-13 10:32:41 -0700600 <container>sdc-cassandra-onboard-init</container>
601 </dependsOn>
602 <env>
vasraz787cfd52021-03-23 17:47:51 +0000603 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
604 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700605 <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
606 <SDC_USER>${it.sdc.user}</SDC_USER>
607 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
608 <ENVNAME>${it.env.name}</ENVNAME>
609 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
vasraz787cfd52021-03-23 17:47:51 +0000610 <JAVA_OPTIONS>
611 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001
612 -Xmx1g -Xms1g
613 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700614 </env>
615 <hostname>sdc-onboard-BE</hostname>
616 <volumes>
617 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200618 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
619 <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000620 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200621 <volume>${it.shared.volume}:/app/jetty/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700622 </bind>
623 </volumes>
624 <wait>
sebdet30670ac2020-08-04 14:16:00 +0200625 <time>300000</time>
sebdet056998c2020-08-13 10:32:41 -0700626 <tcp>
627 <host>sdc-onboard-BE</host>
628 <mode>direct</mode>
629 <ports>
630 <port>8445</port>
631 <port>8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200632 <port>4001</port>
sebdet056998c2020-08-13 10:32:41 -0700633 </ports>
634 </tcp>
635 </wait>
636 <ports>
637 <port>8445:8445</port>
638 <port>8081:8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200639 <port>4001:4001</port>
sebdet056998c2020-08-13 10:32:41 -0700640 </ports>
641 <network>
642 <mode>custom</mode>
643 <name>sdc-network</name>
644 <alias>sdc-onboard-BE</alias>
645 </network>
646 </run>
647 </image>
648 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000649 <name>${docker.namespace}/sdc-backend-all-plugins:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700650 <alias>sdc-backend</alias>
651 <run>
652 <dependsOn>
sebdet5b057082020-09-01 23:47:27 +0200653 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700654 </dependsOn>
655 <env>
vasraz787cfd52021-03-23 17:47:51 +0000656 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
657 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700658 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000659 <JAVA_OPTIONS>
660 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
661 -Xmx1536m -Xms1536m
662 </JAVA_OPTIONS>
andre.schmid13b39122021-01-28 17:53:22 +0000663 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
664 <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME>
sebdet056998c2020-08-13 10:32:41 -0700665 </env>
666 <hostname>sdc-BE</hostname>
667 <volumes>
668 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200669 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
670 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000671 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200672 ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000673 </volume>
sebdet056998c2020-08-13 10:32:41 -0700674 </bind>
675 </volumes>
676 <wait>
677 <time>60000</time>
678 <tcp>
679 <host>sdc-BE</host>
680 <mode>direct</mode>
681 <ports>
682 <port>8443</port>
683 <port>8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200684 <port>4000</port>
sebdet056998c2020-08-13 10:32:41 -0700685 </ports>
686 </tcp>
687 </wait>
688 <ports>
689 <port>8443:8443</port>
690 <port>8080:8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200691 <port>4000:4000</port>
sebdet056998c2020-08-13 10:32:41 -0700692 </ports>
693 <network>
694 <mode>custom</mode>
695 <name>sdc-network</name>
696 <alias>sdc-BE</alias>
697 </network>
698 </run>
699 </image>
700 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000701 <name>${docker.namespace}/sdc-backend-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700702 <alias>sdc-backend-init</alias>
703 <run>
704 <dependsOn>
705 <container>sdc-backend</container>
706 </dependsOn>
707 <env>
708 <ENVNAME>${it.env.name}</ENVNAME>
709 </env>
710 <hostname>sdc-BE-init</hostname>
711 <volumes>
712 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000713 <volume>
714 ${it.chef.config}:/home/onap/chef-solo/environments
715 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200716 <volume>${it.shared.volume}:/home/onap/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700717 </bind>
718 </volumes>
719 <wait>
xuegaoa856d542020-12-18 10:37:23 +0100720 <time>660000</time>
sebdet056998c2020-08-13 10:32:41 -0700721 <log>Chef Client finished</log>
722 </wait>
723 <network>
724 <mode>custom</mode>
725 <name>sdc-network</name>
726 <alias>sdc-BE-init</alias>
727 </network>
728 </run>
729 </image>
730 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000731 <name>${docker.namespace}/sdc-frontend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700732 <alias>sdc-frontend</alias>
733 <run>
sebdet056998c2020-08-13 10:32:41 -0700734 <env>
735 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000736 <JAVA_OPTIONS>
737 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
738 -Xmx256m -Xms256m
739 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700740 </env>
741 <hostname>sdc-FE</hostname>
742 <volumes>
743 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200744 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
745 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000746 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200747 ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml
vasraz787cfd52021-03-23 17:47:51 +0000748 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200749
sebdet056998c2020-08-13 10:32:41 -0700750 </bind>
751 </volumes>
752 <wait>
753 <time>60000</time>
754 <tcp>
755 <host>sdc-FE</host>
756 <mode>direct</mode>
757 <ports>
758 <port>9443</port>
759 <port>8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200760 <port>6000</port>
sebdet056998c2020-08-13 10:32:41 -0700761 </ports>
762 </tcp>
763 </wait>
764 <ports>
765 <port>9443:9443</port>
766 <port>8181:8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200767 <port>6000:6000</port>
sebdet056998c2020-08-13 10:32:41 -0700768 </ports>
769 <network>
770 <mode>custom</mode>
771 <name>sdc-network</name>
772 <alias>sdc-FE</alias>
773 </network>
774 </run>
775 </image>
JulienBeb1679462020-08-19 11:12:59 +0200776 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000777 <name>${docker.namespace}/sdc-simulator:${it.docker.version}</name>
JulienBeb1679462020-08-19 11:12:59 +0200778 <alias>sdc-simulator</alias>
779 <run>
JulienBeb1679462020-08-19 11:12:59 +0200780 <env>
781 <!--<FE_URL>${it.env.name}</FE_URL>-->
782 <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
783 <ENVNAME>${it.env.name}</ENVNAME>
784 </env>
785 <hostname>sdc-sim</hostname>
786 <volumes>
787 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200788 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
789 <volume>${it.shared.volume}:/app/jetty/logs</volume>
JulienBeb1679462020-08-19 11:12:59 +0200790 </bind>
791 </volumes>
792 <wait>
793 <time>60000</time>
794 <tcp>
795 <host>sdc-sim</host>
796 <mode>direct</mode>
797 <ports>
798 <port>8080</port>
799 <port>8443</port>
vasrazb08ac292021-10-21 17:32:16 +0100800 <port>5000</port>
JulienBeb1679462020-08-19 11:12:59 +0200801 </ports>
802 </tcp>
803 </wait>
804 <ports>
JulienBe930ed252020-08-25 22:20:30 +0200805 <!-- http://localhost:8285/login to access SDC -->
vasrazb08ac292021-10-21 17:32:16 +0100806 <port>8285:8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200807 <port>8286:8443</port>
vasrazb08ac292021-10-21 17:32:16 +0100808 <port>5000:5000</port>
JulienBeb1679462020-08-19 11:12:59 +0200809 </ports>
810 <network>
811 <mode>custom</mode>
812 <name>sdc-network</name>
813 <alias>sdc-sim</alias>
814 </network>
815 </run>
816 </image>
JulienBe930ed252020-08-25 22:20:30 +0200817
818 <image>
819 <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
820 <alias>firefox-standalone</alias>
821 <run>
822 <hostname>firefox-standalone</hostname>
823 <wait>
824 <time>20000</time>
825 <tcp>
826 <host>firefox-standalone</host>
827 <mode>direct</mode>
828 <ports>
829 <!-- Selenium remote automation port -->
830 <port>4444</port>
831 <!--<port>5900</port>-->
832 <!-- VNC port for viewing the browser result -->
833 <!-- password to access is "secret" -->
JulienBe930ed252020-08-25 22:20:30 +0200834 </ports>
835 </tcp>
836 </wait>
837 <env>
JulienBe930ed252020-08-25 22:20:30 +0200838 <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
839 <!--<START_XVFB>false</START_XVFB>-->
840 <SCREEN_WIDTH>1920</SCREEN_WIDTH>
841 <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
842 </env>
843 <ports>
844 <port>4444:4444</port>
845 <!--<port>5900:5900</port>-->
846 </ports>
847 <network>
848 <mode>custom</mode>
849 <name>sdc-network</name>
850 <alias>firefox-standalone</alias>
851 </network>
852 <volumes>
853 <bind>
854 <volume>
sebdet5b057082020-09-01 23:47:27 +0200855 /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
JulienBe930ed252020-08-25 22:20:30 +0200856 </volume>
857 <volume>/dev/shm:/dev/shm</volume>
858 </bind>
859 </volumes>
860 </run>
861 </image>
vasrazb08ac292021-10-21 17:32:16 +0100862 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000863 <name>${docker.namespace}/org.onap.sdc.sdc-helm-validator:${it.helm-validator.version}</name>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +0200864 <alias>helm-validator</alias>
vasrazb08ac292021-10-21 17:32:16 +0100865 <run>
866 <skip>${it.helm-validator.disabled}</skip>
867 <hostname>helm-validator</hostname>
868 <wait>
869 <time>20000</time>
870 <tcp>
871 <host>helm-validator</host>
872 <mode>direct</mode>
873 <ports>
874 <port>8080</port>
875 </ports>
876 </tcp>
877 </wait>
878 <ports>
879 <port>8085:8080</port>
880 </ports>
881 <network>
882 <mode>custom</mode>
883 <name>sdc-network</name>
884 <alias>helm-validator</alias>
885 </network>
886 </run>
887 </image>
sebdet056998c2020-08-13 10:32:41 -0700888 </images>
889 </configuration>
sebdet056998c2020-08-13 10:32:41 -0700890 <executions>
891 <execution>
892 <id>docker-start-for-it</id>
893 <phase>pre-integration-test</phase>
894 <goals>
895 <goal>start</goal>
896 </goals>
897 </execution>
898 <execution>
899 <id>docker-stop-for-it</id>
900 <phase>post-integration-test</phase>
901 <goals>
902 <goal>stop</goal>
903 </goals>
904 </execution>
905 </executions>
906 </plugin>
JulienBeb1679462020-08-19 11:12:59 +0200907
908 <plugin>
909 <groupId>org.apache.maven.plugins</groupId>
910 <artifactId>maven-surefire-plugin</artifactId>
911 <configuration>
912 <skip>true</skip>
913 </configuration>
914 </plugin>
JulienBe930ed252020-08-25 22:20:30 +0200915
JulienBeb1679462020-08-19 11:12:59 +0200916 <plugin>
917 <groupId>org.apache.maven.plugins</groupId>
918 <artifactId>maven-failsafe-plugin</artifactId>
919 <configuration>
sebdet5b057082020-09-01 23:47:27 +0200920 <forkCount>1</forkCount>
921 <reuseForks>true</reuseForks>
amohamad44c6c0d2020-08-09 20:27:40 -0400922 <systemProperties>
923 <property>
924 <name>testng.dtd.http</name>
925 <value>true</value>
926 </property>
927 </systemProperties>
JulienBeb1679462020-08-19 11:12:59 +0200928 <suiteXmlFiles>
sebdetc5c60bf2020-08-25 12:31:39 +0200929 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
JulienBe930ed252020-08-25 22:20:30 +0200930 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
JulienBeb1679462020-08-19 11:12:59 +0200931 <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
932 <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
933 <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
934 <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
935 <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
936 <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
937 <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200938 <!-- <file>src/test/resources/ci/testSuites/general.xml</file>-->
939 <!-- <file>src/test/resources/ci/testSuites/imports.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200940 <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
941 <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
942 <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200943 <!-- <file>src/test/resources/ci/testSuites/product.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200944 <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200945 <!-- <file>src/test/resources/ci/testSuites/property.xml</file>-->
946 <!-- <file>src/test/resources/ci/testSuites/resource.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200947 <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
948 <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200949 <!-- <file>src/test/resources/ci/testSuites/service.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200950 <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200951 <!-- <file>src/test/resources/ci/testSuites/user.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200952 </suiteXmlFiles>
JulienBeb1679462020-08-19 11:12:59 +0200953 </configuration>
954 </plugin>
sebdet056998c2020-08-13 10:32:41 -0700955 </plugins>
956 </build>
sebdet9d724fe2021-02-03 15:05:54 +0100957 <profiles>
958 <profile>
959 <id>all-for-integration-tests-only</id>
960 <properties>
961 <surefire.skip.tests>true</surefire.skip.tests>
962 <skipTest>false</skipTest>
963 </properties>
964 </profile>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +0200965 <profile>
966 <id>integration-tests-with-helm-validator</id>
967 <properties>
968 <it.helm-validator.disabled>false</it.helm-validator.disabled>
969 </properties>
970 <build>
971 <plugins>
972 <plugin>
973 <groupId>org.apache.maven.plugins</groupId>
974 <artifactId>maven-failsafe-plugin</artifactId>
975 <configuration>
976 <forkCount>1</forkCount>
977 <reuseForks>true</reuseForks>
978 <systemProperties>
979 <property>
980 <name>testng.dtd.http</name>
981 <value>true</value>
982 </property>
983 </systemProperties>
984 <suiteXmlFiles>
985 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
986 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
987 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
988 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
989 </suiteXmlFiles>
990 </configuration>
991 </plugin>
992 </plugins>
993 </build>
994 </profile>
sebdet9d724fe2021-02-03 15:05:54 +0100995 </profiles>
sebdet056998c2020-08-13 10:32:41 -0700996</project>