blob: a5d719576137affa4d64a1bb776f6ca1f0ef3a80 [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>
vasrazd4959a22021-12-10 20:47:01 +0000130 <exclusion>
131 <groupId>org.mongodb</groupId>
132 <artifactId>mongodb-driver</artifactId>
133 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000134 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200135 </dependency>
136 <dependency>
vasrazd4959a22021-12-10 20:47:01 +0000137 <groupId>org.mongodb</groupId>
138 <artifactId>mongodb-driver</artifactId>
139 <version>3.12.10</version>
140 </dependency>
141
142 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200143 <groupId>org.janusgraph</groupId>
144 <artifactId>janusgraph-core</artifactId>
145 <version>${janusgraph.version}</version>
146 <scope>test</scope>
147 <exclusions>
148 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000149 <artifactId>gremlin-groovy</artifactId>
150 <groupId>org.apache.tinkerpop</groupId>
151 </exclusion>
152 <exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200153 <artifactId>slf4j-log4j12</artifactId>
154 <groupId>org.slf4j</groupId>
155 </exclusion>
156 <exclusion>
157 <artifactId>commons-collections</artifactId>
158 <groupId>commons-collections</groupId>
159 </exclusion>
160 <exclusion>
161 <artifactId>groovy</artifactId>
162 <groupId>org.codehaus.groovy</groupId>
163 </exclusion>
164 <exclusion>
165 <groupId>org.apache.thrift</groupId>
166 <artifactId>libthrift</artifactId>
167 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100168 <exclusion>
vasraz30b974a2021-05-19 18:22:12 +0100169 <groupId>org.apache.commons</groupId>
170 <artifactId>commons-text</artifactId>
vasrazb7ea3ef2021-05-12 13:56:51 +0100171 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100172 <exclusion>
173 <groupId>commons-codec</groupId>
174 <artifactId>commons-codec</artifactId>
175 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100176 <exclusion>
177 <groupId>dom4j</groupId>
178 <artifactId>dom4j</artifactId>
179 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000180 <exclusion>
181 <groupId>org.slf4j</groupId>
182 <artifactId>jcl-over-slf4j</artifactId>
183 </exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200184 </exclusions>
185 </dependency>
186 <dependency>
187 <groupId>org.assertj</groupId>
188 <artifactId>assertj-core</artifactId>
189 <version>${assertj.version}</version>
190 <scope>test</scope>
191 </dependency>
192 <dependency>
vasraz30b974a2021-05-19 18:22:12 +0100193 <groupId>org.apache.commons</groupId>
194 <artifactId>commons-text</artifactId>
195 <version>${apache-commons-text.version}</version>
196 <scope>test</scope>
197 </dependency>
198 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200199 <groupId>com.clearspring.analytics</groupId>
200 <artifactId>stream</artifactId>
201 <version>${clearspring.version}</version>
202 <scope>test</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.apache.httpcomponents</groupId>
206 <artifactId>httpclient</artifactId>
207 <version>${httpclient.version}</version>
208 <scope>test</scope>
vasraz66af7c52021-07-20 23:22:45 +0100209 <exclusions>
210 <exclusion>
211 <groupId>commons-codec</groupId>
212 <artifactId>commons-codec</artifactId>
213 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000214 <exclusion>
215 <groupId>org.apache.httpcomponents</groupId>
216 <artifactId>httpcore</artifactId>
217 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100218 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200219 </dependency>
220 <dependency>
221 <groupId>org.apache.httpcomponents</groupId>
222 <artifactId>httpcore</artifactId>
223 <version>${httpcore.version}</version>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <groupId>com.fasterxml.jackson.core</groupId>
228 <artifactId>jackson-core</artifactId>
229 <version>${jackson.version}</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.codehaus.jackson</groupId>
234 <artifactId>jackson-mapper-asl</artifactId>
235 <version>1.9.2</version>
236 <scope>test</scope>
237 </dependency>
238 <dependency>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-databind</artifactId>
241 <version>${jackson.version}</version>
242 <scope>test</scope>
243 <exclusions>
244 <exclusion>
245 <groupId>com.fasterxml.jackson.core</groupId>
246 <artifactId>jackson-core</artifactId>
247 </exclusion>
248 </exclusions>
249 </dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200250
vasraz97149612020-10-19 16:33:00 +0100251 <dependency>
252 <groupId>org.onap.sdc.sdc-tosca</groupId>
253 <artifactId>sdc-tosca</artifactId>
254 <version>${sdc-tosca-parser.version}</version>
255 </dependency>
256
sebdetc5c60bf2020-08-25 12:31:39 +0200257 <!--FOR the Frontend -->
258 <dependency>
259 <groupId>org.seleniumhq.selenium</groupId>
260 <artifactId>selenium-java</artifactId>
261 <scope>test</scope>
JulienBe930ed252020-08-25 22:20:30 +0200262 <version>${selenium.version}</version>
sebdetc5c60bf2020-08-25 12:31:39 +0200263 </dependency>
264 <dependency>
JulienBe930ed252020-08-25 22:20:30 +0200265 <groupId>org.seleniumhq.selenium</groupId>
266 <artifactId>selenium-server</artifactId>
andre.schmida64494f2021-03-15 16:51:12 +0000267 <version>${selenium.version}</version>
JulienBe930ed252020-08-25 22:20:30 +0200268 <scope>test</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.seleniumhq.selenium</groupId>
272 <artifactId>selenium-firefox-driver</artifactId>
273 <version>${selenium.version}</version>
274 <scope>test</scope>
275 </dependency>
276
277 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200278 <groupId>net.lightbody.bmp</groupId>
279 <!-- To use the legacy, Jetty-based implementation, change the artifactId
280 to browsermob-core -->
281 <artifactId>browsermob-core</artifactId>
282 <version>2.1.4</version>
283 <scope>test</scope>
284 <exclusions>
285 <exclusion>
286 <groupId>com.fasterxml.jackson.core</groupId>
287 <artifactId>jackson-core</artifactId>
288 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000289 <exclusion>
290 <groupId>org.slf4j</groupId>
291 <artifactId>jcl-over-slf4j</artifactId>
292 </exclusion>
sebdetc5c60bf2020-08-25 12:31:39 +0200293 </exclusions>
294 </dependency>
295 <dependency>
296 <groupId>com.paulhammant</groupId>
297 <artifactId>ngwebdriver</artifactId>
298 <version>0.9.7</version>
299 <scope>test</scope>
300 </dependency>
301 <dependency>
302 <groupId>com.github.markusbernhardt</groupId>
303 <artifactId>proxy-vole</artifactId>
304 <version>1.0.2</version>
305 <scope>test</scope>
vasraz987fc742021-11-29 17:42:02 +0000306 <exclusions>
307 <exclusion>
308 <groupId>net.java.dev.jna</groupId>
309 <artifactId>jna</artifactId>
310 </exclusion>
311 <exclusion>
312 <groupId>net.java.dev.jna</groupId>
313 <artifactId>jna-platform</artifactId>
314 </exclusion>
315 </exclusions>
sebdetc5c60bf2020-08-25 12:31:39 +0200316 </dependency>
317 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200318 <groupId>commons-net</groupId>
319 <artifactId>commons-net</artifactId>
320 <version>3.3</version>
321 <scope>test</scope>
322 </dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200323 <dependency>
vasraz8dbc7322021-06-26 14:23:12 +0100324 <groupId>org.springframework</groupId>
325 <artifactId>spring-core</artifactId>
326 <version>${spring.version}</version>
327 <scope>test</scope>
328 </dependency>
vasrazb08ac292021-10-21 17:32:16 +0100329 <dependency>
330 <groupId>org.onap.portal.sdk</groupId>
331 <artifactId>epsdk-fw</artifactId>
332 <version>${ecomp.version}</version>
333 <scope>test</scope>
vasraza8a58632021-12-30 13:59:00 +0000334 <exclusions>
335 <exclusion>
336 <artifactId>log4j</artifactId>
337 <groupId>log4j</groupId>
338 </exclusion>
339 </exclusions>
vasrazb08ac292021-10-21 17:32:16 +0100340 </dependency>
sebdet056998c2020-08-13 10:32:41 -0700341 </dependencies>
342
343 <build>
344 <plugins>
345 <!-- Section for Integration tests -->
346 <plugin>
347 <artifactId>maven-resources-plugin</artifactId>
348 <executions>
349 <execution>
sebdet5b057082020-09-01 23:47:27 +0200350 <id>copy-chef-resources</id>
sebdet056998c2020-08-13 10:32:41 -0700351 <phase>pre-integration-test</phase>
352 <goals>
353 <goal>copy-resources</goal>
354 </goals>
355 <configuration>
356 <outputDirectory>${it.chef.config}</outputDirectory>
357 <resources>
358 <resource>
JulienBeb1679462020-08-19 11:12:59 +0200359 <directory>environments</directory>
sebdet056998c2020-08-13 10:32:41 -0700360 <filtering>true</filtering>
361 <includes>
362 <include>integration-test.json</include>
JulienBe930ed252020-08-25 22:20:30 +0200363 <include>plugins-configuration.yaml</include>
sebdet056998c2020-08-13 10:32:41 -0700364 </includes>
365 </resource>
366 </resources>
367 </configuration>
368 </execution>
andre.schmid662fcba2020-08-21 11:31:47 +0100369 <execution>
370 <id>copy-sdc-be-plugins</id>
371 <phase>pre-integration-test</phase>
372 <goals>
373 <goal>copy-resources</goal>
374 </goals>
375 <configuration>
376 <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
377 <resources>
378 <resource>
vasraz787cfd52021-03-23 17:47:51 +0000379 <directory>
380 ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target
381 </directory>
andre.schmid662fcba2020-08-21 11:31:47 +0100382 <filtering>false</filtering>
383 <includes>
vasraz787cfd52021-03-23 17:47:51 +0000384 <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar
385 </include>
andre.schmid662fcba2020-08-21 11:31:47 +0100386 </includes>
387 </resource>
388 </resources>
389 </configuration>
390 </execution>
sebdet056998c2020-08-13 10:32:41 -0700391 </executions>
392 </plugin>
393 <plugin>
JulienBe930ed252020-08-25 22:20:30 +0200394 <groupId>org.codehaus.mojo</groupId>
395 <artifactId>wagon-maven-plugin</artifactId>
396 <version>2.0.0</version>
397 <executions>
398 <execution>
399 <id>download-gecko</id>
400 <phase>validate</phase>
401 <goals>
402 <goal>download-single</goal>
403 </goals>
404 <configuration>
405 <url>https://github.com</url>
406 <fromFile>
407 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
408 </fromFile>
409 <toDir>${project.build.directory}/gecko</toDir>
410 </configuration>
411 </execution>
412 </executions>
413 </plugin>
414 <plugin>
vasraz787cfd52021-03-23 17:47:51 +0000415 <groupId>org.apache.maven.plugins</groupId>
sebdet056998c2020-08-13 10:32:41 -0700416 <artifactId>maven-antrun-plugin</artifactId>
vasraz787cfd52021-03-23 17:47:51 +0000417 <version>${maven-antrun-plugin.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700418 <executions>
419 <execution>
JulienBe930ed252020-08-25 22:20:30 +0200420 <id>set-folder-permission</id>
sebdet056998c2020-08-13 10:32:41 -0700421 <phase>pre-integration-test</phase>
422 <configuration>
423 <target>
sebdet5b057082020-09-01 23:47:27 +0200424 <mkdir dir="/tmp/sdc-integration-tests"/>
425 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
426 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
vasraz787cfd52021-03-23 17:47:51 +0000427 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation"
428 type="dir"
429 perm="ugo+rwx"/>
JulienBe930ed252020-08-25 22:20:30 +0200430 </target>
431 </configuration>
432 <goals>
433 <goal>run</goal>
434 </goals>
435 </execution>
436 <execution>
437 <id>untar-gecko</id>
438 <phase>pre-integration-test</phase>
439 <configuration>
440 <target>
vasraz787cfd52021-03-23 17:47:51 +0000441 <untar
442 src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
443 compression="gzip" dest="${project.build.directory}/gecko/"/>
444 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir"
445 perm="ugo+rwx"/>
sebdet056998c2020-08-13 10:32:41 -0700446 </target>
447 </configuration>
448 <goals>
449 <goal>run</goal>
450 </goals>
451 </execution>
452 </executions>
453 </plugin>
454 <plugin>
455 <groupId>org.codehaus.mojo</groupId>
456 <artifactId>build-helper-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700457 <executions>
458 <execution>
459 <id>reserve-port-for-tests</id>
460 <phase>validate</phase>
461 <goals>
462 <goal>reserve-network-port</goal>
463 </goals>
464 <configuration>
465 <portNames>
466 <portName>sdc.it.docker.cassandra.port</portName>
467 </portNames>
468 </configuration>
469 </execution>
470 </executions>
471 </plugin>
472 <plugin>
473 <groupId>io.fabric8</groupId>
474 <artifactId>docker-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700475 <dependencies>
476 <dependency>
477 <groupId>org.apache.httpcomponents</groupId>
478 <artifactId>httpclient</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100479 <version>${httpclient.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700480 </dependency>
481 </dependencies>
482 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200483 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200484 <apiVersion>${docker.api.version}</apiVersion>
sebdet056998c2020-08-13 10:32:41 -0700485 <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
vasrazb08ac292021-10-21 17:32:16 +0100486 <startParallel>true</startParallel>
sebdet056998c2020-08-13 10:32:41 -0700487 <images>
488 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000489 <name>${docker.namespace}/sdc-cassandra:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700490 <alias>sdc-cassandra</alias>
491 <run>
492 <env>
493 <RELEASE>${project.version}</RELEASE>
494 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
495 <ENVNAME>${it.env.name}</ENVNAME>
496 <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
497 <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
498 </env>
499 <hostname>sdc-cs</hostname>
500 <volumes>
501 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000502 <volume>${it.chef.config}:/root/chef-solo/environments
503 </volume>
sebdet056998c2020-08-13 10:32:41 -0700504 </bind>
505 </volumes>
506 <ulimits>
507 <ulimit>
508 <name>memlock</name>
509 <hard>-1</hard>
510 <soft>-1</soft>
511 </ulimit>
512 <ulimit>
513 <name>nofile</name>
514 <hard>100000</hard>
515 <soft>100000</soft>
516 </ulimit>
517 </ulimits>
518 <wait>
519 <time>120000</time>
520 <tcp>
521 <host>sdc-cs</host>
522 <mode>direct</mode>
523 <ports>
524 <port>9042</port>
525 </ports>
526 </tcp>
527 </wait>
528 <ports>
529 <port>9042:9042</port>
530 </ports>
531 <network>
532 <mode>custom</mode>
533 <name>sdc-network</name>
534 <alias>sdc-cs</alias>
535 </network>
536 </run>
537 </image>
538 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000539 <name>${docker.namespace}/sdc-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700540 <alias>sdc-cassandra-init</alias>
541 <run>
542 <dependsOn>
543 <container>sdc-cassandra</container>
544 </dependsOn>
545 <env>
546 <RELEASE>${project.version}</RELEASE>
547 <SDC_USER>${it.sdc.user}</SDC_USER>
548 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
549 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
550 <ENVNAME>${it.env.name}</ENVNAME>
551 </env>
552 <hostname>sdc-cs-init</hostname>
553 <volumes>
554 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000555 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
556 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200557
sebdet056998c2020-08-13 10:32:41 -0700558 </bind>
559 </volumes>
560 <wait>
561 <time>300000</time>
562 <log>SdcSchemaFileImport successfully completed</log>
563 </wait>
564 <network>
565 <mode>custom</mode>
566 <name>sdc-network</name>
567 <alias>sdc-cs-init</alias>
568 </network>
569 </run>
570 </image>
571 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000572 <name>${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700573 <alias>sdc-cassandra-onboard-init</alias>
574 <run>
575 <dependsOn>
vasrazb08ac292021-10-21 17:32:16 +0100576 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700577 </dependsOn>
578 <env>
579 <RELEASE>${project.version}</RELEASE>
580 <SDC_USER>${it.sdc.user}</SDC_USER>
581 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
582 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
583 <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
584 <ENVNAME>${it.env.name}</ENVNAME>
585 <CS_HOST_IP>sdc-cs</CS_HOST_IP>
586 </env>
587 <hostname>sdc-cs-onboard-init</hostname>
588 <volumes>
589 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000590 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
591 </volume>
sebdet056998c2020-08-13 10:32:41 -0700592 </bind>
593 </volumes>
594 <wait>
595 <time>30000</time>
andre.schmidb8bfef32021-08-12 23:05:15 +0100596 <log>Onboarding init was successful</log>
sebdet056998c2020-08-13 10:32:41 -0700597 </wait>
598 <network>
599 <mode>custom</mode>
600 <name>sdc-network</name>
601 <alias>sdc-cs-onboard-init</alias>
602 </network>
603 </run>
604 </image>
605 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000606 <name>${docker.namespace}/sdc-onboard-backend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700607 <alias>sdc-onboard-backend</alias>
608 <run>
vasrazb08ac292021-10-21 17:32:16 +0100609 <dependsOn>
sebdet056998c2020-08-13 10:32:41 -0700610 <container>sdc-cassandra-onboard-init</container>
611 </dependsOn>
612 <env>
vasraz787cfd52021-03-23 17:47:51 +0000613 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
614 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700615 <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
616 <SDC_USER>${it.sdc.user}</SDC_USER>
617 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
618 <ENVNAME>${it.env.name}</ENVNAME>
619 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
vasraz787cfd52021-03-23 17:47:51 +0000620 <JAVA_OPTIONS>
621 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001
622 -Xmx1g -Xms1g
623 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700624 </env>
625 <hostname>sdc-onboard-BE</hostname>
626 <volumes>
627 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200628 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
629 <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000630 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200631 <volume>${it.shared.volume}:/app/jetty/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700632 </bind>
633 </volumes>
634 <wait>
sebdet30670ac2020-08-04 14:16:00 +0200635 <time>300000</time>
sebdet056998c2020-08-13 10:32:41 -0700636 <tcp>
637 <host>sdc-onboard-BE</host>
638 <mode>direct</mode>
639 <ports>
640 <port>8445</port>
641 <port>8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200642 <port>4001</port>
sebdet056998c2020-08-13 10:32:41 -0700643 </ports>
644 </tcp>
645 </wait>
646 <ports>
647 <port>8445:8445</port>
648 <port>8081:8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200649 <port>4001:4001</port>
sebdet056998c2020-08-13 10:32:41 -0700650 </ports>
651 <network>
652 <mode>custom</mode>
653 <name>sdc-network</name>
654 <alias>sdc-onboard-BE</alias>
655 </network>
656 </run>
657 </image>
658 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000659 <name>${docker.namespace}/sdc-backend-all-plugins:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700660 <alias>sdc-backend</alias>
661 <run>
662 <dependsOn>
sebdet5b057082020-09-01 23:47:27 +0200663 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700664 </dependsOn>
665 <env>
vasraz787cfd52021-03-23 17:47:51 +0000666 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
667 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700668 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000669 <JAVA_OPTIONS>
670 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
671 -Xmx1536m -Xms1536m
672 </JAVA_OPTIONS>
andre.schmid13b39122021-01-28 17:53:22 +0000673 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
674 <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME>
sebdet056998c2020-08-13 10:32:41 -0700675 </env>
676 <hostname>sdc-BE</hostname>
677 <volumes>
678 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200679 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
680 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000681 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200682 ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000683 </volume>
sebdet056998c2020-08-13 10:32:41 -0700684 </bind>
685 </volumes>
686 <wait>
687 <time>60000</time>
688 <tcp>
689 <host>sdc-BE</host>
690 <mode>direct</mode>
691 <ports>
692 <port>8443</port>
693 <port>8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200694 <port>4000</port>
sebdet056998c2020-08-13 10:32:41 -0700695 </ports>
696 </tcp>
697 </wait>
698 <ports>
699 <port>8443:8443</port>
700 <port>8080:8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200701 <port>4000:4000</port>
sebdet056998c2020-08-13 10:32:41 -0700702 </ports>
703 <network>
704 <mode>custom</mode>
705 <name>sdc-network</name>
706 <alias>sdc-BE</alias>
707 </network>
708 </run>
709 </image>
710 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000711 <name>${docker.namespace}/sdc-backend-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700712 <alias>sdc-backend-init</alias>
713 <run>
714 <dependsOn>
715 <container>sdc-backend</container>
716 </dependsOn>
717 <env>
718 <ENVNAME>${it.env.name}</ENVNAME>
719 </env>
720 <hostname>sdc-BE-init</hostname>
721 <volumes>
722 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000723 <volume>
724 ${it.chef.config}:/home/onap/chef-solo/environments
725 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200726 <volume>${it.shared.volume}:/home/onap/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700727 </bind>
728 </volumes>
729 <wait>
xuegaoa856d542020-12-18 10:37:23 +0100730 <time>660000</time>
sebdet056998c2020-08-13 10:32:41 -0700731 <log>Chef Client finished</log>
732 </wait>
733 <network>
734 <mode>custom</mode>
735 <name>sdc-network</name>
736 <alias>sdc-BE-init</alias>
737 </network>
738 </run>
739 </image>
740 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000741 <name>${docker.namespace}/sdc-frontend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700742 <alias>sdc-frontend</alias>
743 <run>
sebdet056998c2020-08-13 10:32:41 -0700744 <env>
745 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000746 <JAVA_OPTIONS>
747 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
748 -Xmx256m -Xms256m
749 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700750 </env>
751 <hostname>sdc-FE</hostname>
752 <volumes>
753 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200754 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
755 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000756 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200757 ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml
vasraz787cfd52021-03-23 17:47:51 +0000758 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200759
sebdet056998c2020-08-13 10:32:41 -0700760 </bind>
761 </volumes>
762 <wait>
763 <time>60000</time>
764 <tcp>
765 <host>sdc-FE</host>
766 <mode>direct</mode>
767 <ports>
768 <port>9443</port>
769 <port>8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200770 <port>6000</port>
sebdet056998c2020-08-13 10:32:41 -0700771 </ports>
772 </tcp>
773 </wait>
774 <ports>
775 <port>9443:9443</port>
776 <port>8181:8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200777 <port>6000:6000</port>
sebdet056998c2020-08-13 10:32:41 -0700778 </ports>
779 <network>
780 <mode>custom</mode>
781 <name>sdc-network</name>
782 <alias>sdc-FE</alias>
783 </network>
784 </run>
785 </image>
JulienBeb1679462020-08-19 11:12:59 +0200786 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000787 <name>${docker.namespace}/sdc-simulator:${it.docker.version}</name>
JulienBeb1679462020-08-19 11:12:59 +0200788 <alias>sdc-simulator</alias>
789 <run>
JulienBeb1679462020-08-19 11:12:59 +0200790 <env>
791 <!--<FE_URL>${it.env.name}</FE_URL>-->
792 <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
793 <ENVNAME>${it.env.name}</ENVNAME>
794 </env>
795 <hostname>sdc-sim</hostname>
796 <volumes>
797 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200798 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
799 <volume>${it.shared.volume}:/app/jetty/logs</volume>
JulienBeb1679462020-08-19 11:12:59 +0200800 </bind>
801 </volumes>
802 <wait>
803 <time>60000</time>
804 <tcp>
805 <host>sdc-sim</host>
806 <mode>direct</mode>
807 <ports>
808 <port>8080</port>
809 <port>8443</port>
vasrazb08ac292021-10-21 17:32:16 +0100810 <port>5000</port>
JulienBeb1679462020-08-19 11:12:59 +0200811 </ports>
812 </tcp>
813 </wait>
814 <ports>
JulienBe930ed252020-08-25 22:20:30 +0200815 <!-- http://localhost:8285/login to access SDC -->
vasrazb08ac292021-10-21 17:32:16 +0100816 <port>8285:8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200817 <port>8286:8443</port>
vasrazb08ac292021-10-21 17:32:16 +0100818 <port>5000:5000</port>
JulienBeb1679462020-08-19 11:12:59 +0200819 </ports>
820 <network>
821 <mode>custom</mode>
822 <name>sdc-network</name>
823 <alias>sdc-sim</alias>
824 </network>
825 </run>
826 </image>
JulienBe930ed252020-08-25 22:20:30 +0200827
828 <image>
829 <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
830 <alias>firefox-standalone</alias>
831 <run>
832 <hostname>firefox-standalone</hostname>
833 <wait>
834 <time>20000</time>
835 <tcp>
836 <host>firefox-standalone</host>
837 <mode>direct</mode>
838 <ports>
839 <!-- Selenium remote automation port -->
840 <port>4444</port>
841 <!--<port>5900</port>-->
842 <!-- VNC port for viewing the browser result -->
843 <!-- password to access is "secret" -->
JulienBe930ed252020-08-25 22:20:30 +0200844 </ports>
845 </tcp>
846 </wait>
847 <env>
JulienBe930ed252020-08-25 22:20:30 +0200848 <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
849 <!--<START_XVFB>false</START_XVFB>-->
850 <SCREEN_WIDTH>1920</SCREEN_WIDTH>
851 <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
852 </env>
853 <ports>
854 <port>4444:4444</port>
855 <!--<port>5900:5900</port>-->
856 </ports>
857 <network>
858 <mode>custom</mode>
859 <name>sdc-network</name>
860 <alias>firefox-standalone</alias>
861 </network>
862 <volumes>
863 <bind>
864 <volume>
sebdet5b057082020-09-01 23:47:27 +0200865 /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
JulienBe930ed252020-08-25 22:20:30 +0200866 </volume>
867 <volume>/dev/shm:/dev/shm</volume>
868 </bind>
869 </volumes>
870 </run>
871 </image>
vasrazb08ac292021-10-21 17:32:16 +0100872 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000873 <name>${docker.namespace}/org.onap.sdc.sdc-helm-validator:${it.helm-validator.version}</name>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +0200874 <alias>helm-validator</alias>
vasrazb08ac292021-10-21 17:32:16 +0100875 <run>
876 <skip>${it.helm-validator.disabled}</skip>
877 <hostname>helm-validator</hostname>
878 <wait>
879 <time>20000</time>
880 <tcp>
881 <host>helm-validator</host>
882 <mode>direct</mode>
883 <ports>
884 <port>8080</port>
885 </ports>
886 </tcp>
887 </wait>
888 <ports>
889 <port>8085:8080</port>
890 </ports>
891 <network>
892 <mode>custom</mode>
893 <name>sdc-network</name>
894 <alias>helm-validator</alias>
895 </network>
896 </run>
897 </image>
sebdet056998c2020-08-13 10:32:41 -0700898 </images>
899 </configuration>
sebdet056998c2020-08-13 10:32:41 -0700900 <executions>
901 <execution>
902 <id>docker-start-for-it</id>
903 <phase>pre-integration-test</phase>
904 <goals>
905 <goal>start</goal>
906 </goals>
907 </execution>
908 <execution>
909 <id>docker-stop-for-it</id>
910 <phase>post-integration-test</phase>
911 <goals>
912 <goal>stop</goal>
913 </goals>
914 </execution>
915 </executions>
916 </plugin>
JulienBeb1679462020-08-19 11:12:59 +0200917
918 <plugin>
919 <groupId>org.apache.maven.plugins</groupId>
920 <artifactId>maven-surefire-plugin</artifactId>
921 <configuration>
922 <skip>true</skip>
923 </configuration>
924 </plugin>
JulienBe930ed252020-08-25 22:20:30 +0200925
JulienBeb1679462020-08-19 11:12:59 +0200926 <plugin>
927 <groupId>org.apache.maven.plugins</groupId>
928 <artifactId>maven-failsafe-plugin</artifactId>
929 <configuration>
sebdet5b057082020-09-01 23:47:27 +0200930 <forkCount>1</forkCount>
931 <reuseForks>true</reuseForks>
amohamad44c6c0d2020-08-09 20:27:40 -0400932 <systemProperties>
933 <property>
934 <name>testng.dtd.http</name>
935 <value>true</value>
936 </property>
937 </systemProperties>
JulienBeb1679462020-08-19 11:12:59 +0200938 <suiteXmlFiles>
sebdetc5c60bf2020-08-25 12:31:39 +0200939 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
JulienBe930ed252020-08-25 22:20:30 +0200940 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
JulienBeb1679462020-08-19 11:12:59 +0200941 <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
942 <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
943 <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
944 <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
945 <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
946 <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
947 <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200948 <!-- <file>src/test/resources/ci/testSuites/general.xml</file>-->
949 <!-- <file>src/test/resources/ci/testSuites/imports.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200950 <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
951 <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
952 <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200953 <!-- <file>src/test/resources/ci/testSuites/product.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200954 <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200955 <!-- <file>src/test/resources/ci/testSuites/property.xml</file>-->
956 <!-- <file>src/test/resources/ci/testSuites/resource.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200957 <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
958 <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200959 <!-- <file>src/test/resources/ci/testSuites/service.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200960 <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +0200961 <!-- <file>src/test/resources/ci/testSuites/user.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +0200962 </suiteXmlFiles>
JulienBeb1679462020-08-19 11:12:59 +0200963 </configuration>
964 </plugin>
sebdet056998c2020-08-13 10:32:41 -0700965 </plugins>
966 </build>
sebdet9d724fe2021-02-03 15:05:54 +0100967 <profiles>
968 <profile>
969 <id>all-for-integration-tests-only</id>
970 <properties>
971 <surefire.skip.tests>true</surefire.skip.tests>
972 <skipTest>false</skipTest>
973 </properties>
974 </profile>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +0200975 <profile>
976 <id>integration-tests-with-helm-validator</id>
977 <properties>
978 <it.helm-validator.disabled>false</it.helm-validator.disabled>
979 </properties>
980 <build>
981 <plugins>
982 <plugin>
983 <groupId>org.apache.maven.plugins</groupId>
984 <artifactId>maven-failsafe-plugin</artifactId>
985 <configuration>
986 <forkCount>1</forkCount>
987 <reuseForks>true</reuseForks>
988 <systemProperties>
989 <property>
990 <name>testng.dtd.http</name>
991 <value>true</value>
992 </property>
993 </systemProperties>
994 <suiteXmlFiles>
995 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
996 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
997 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
998 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
999 </suiteXmlFiles>
1000 </configuration>
1001 </plugin>
1002 </plugins>
1003 </build>
1004 </profile>
sebdet9d724fe2021-02-03 15:05:54 +01001005 </profiles>
sebdet056998c2020-08-13 10:32:41 -07001006</project>