blob: 5b98cacd76c1190a19385d93f4541438c100d9b3 [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>
MichaelMorris0560a3a2023-10-27 18:18:46 +010035 <version>1.13.6-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>
vasraz5c909bc2023-05-11 17:05:17 +010040 <gecko.driver.version>0.33.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>
JvD_Ericsson2cecd882023-06-13 08:48:16 +010055 <it.test-model.disabled>true</it.test-model.disabled>
Tomasz Wrobel69b3a6e2022-02-17 12:22:59 +010056 <it.helm-validator.version>1.3.1</it.helm-validator.version>
JulienBe930ed252020-08-25 22:20:30 +020057
vasraz97149612020-10-19 16:33:00 +010058 <!-- parser-->
JvD_Ericsson21f652a2023-10-13 13:45:57 +010059 <sdc-tosca-parser.version>1.9.0</sdc-tosca-parser.version>
andre.schmid209019b2022-09-14 16:24:24 +010060 <docker.showLogs>false</docker.showLogs>
sebdet056998c2020-08-13 10:32:41 -070061 </properties>
62
63 <dependencies>
JulienBeb1679462020-08-19 11:12:59 +020064 <dependency>
JulienBe61663b92020-09-03 17:09:46 +020065 <groupId>ch.qos.logback</groupId>
66 <artifactId>logback-classic</artifactId>
67 <version>${logback.version}</version>
68 </dependency>
69
70 <dependency>
JulienBeb1679462020-08-19 11:12:59 +020071 <groupId>org.yaml</groupId>
72 <artifactId>snakeyaml</artifactId>
73 <version>${snakeyaml.version}</version>
74 <scope>test</scope>
75 </dependency>
76 <dependency>
andre.schmidf72d59b2021-02-25 18:00:48 +000077 <groupId>org.hamcrest</groupId>
78 <artifactId>hamcrest</artifactId>
79 <version>${hamcrest.version}</version>
80 <scope>test</scope>
JulienBeb1679462020-08-19 11:12:59 +020081 </dependency>
82 <dependency>
JulienBeb1679462020-08-19 11:12:59 +020083 <groupId>org.testng</groupId>
84 <artifactId>testng</artifactId>
85 <version>${testng.version}</version>
86 <scope>test</scope>
87 </dependency>
88 <dependency>
89 <groupId>com.google.code.gson</groupId>
90 <artifactId>gson</artifactId>
91 <version>${gson.version}</version>
92 <scope>test</scope>
93 </dependency>
94 <dependency>
95 <groupId>org.openecomp.sdc.be</groupId>
96 <artifactId>catalog-model</artifactId>
97 <version>${project.version}</version>
98 <scope>test</scope>
vasrazfc768c62022-10-14 10:51:11 +010099 <exclusions>
100 <exclusion>
101 <groupId>org.eclipse.jetty</groupId>
102 <artifactId>jetty-server</artifactId>
103 </exclusion>
104 <exclusion>
105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlet</artifactId>
107 </exclusion>
108 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200109 </dependency>
110 <dependency>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-dao</artifactId>
113 <version>${project.version}</version>
114 <scope>test</scope>
vasrazfc768c62022-10-14 10:51:11 +0100115 <exclusions>
116 <exclusion>
117 <groupId>org.eclipse.jetty</groupId>
118 <artifactId>jetty-server</artifactId>
119 </exclusion>
120 <exclusion>
121 <groupId>org.eclipse.jetty</groupId>
122 <artifactId>jetty-servlet</artifactId>
123 </exclusion>
124 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200125 </dependency>
126 <dependency>
Maciej Malewski1b441342020-12-10 14:38:00 +0100127 <groupId>org.openecomp.sdc</groupId>
128 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
129 <version>${project.version}</version>
130 <scope>test</scope>
vasraz8dbc7322021-06-26 14:23:12 +0100131 <exclusions>
132 <exclusion>
133 <groupId>org.springframework</groupId>
134 <artifactId>spring-core</artifactId>
135 </exclusion>
136 </exclusions>
Maciej Malewski1b441342020-12-10 14:38:00 +0100137 </dependency>
138 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200139 <groupId>com.aventstack</groupId>
140 <artifactId>extentreports</artifactId>
141 <version>3.0.6</version>
JulienBeb1679462020-08-19 11:12:59 +0200142 <scope>test</scope>
vasraz987fc742021-11-29 17:42:02 +0000143 <exclusions>
144 <exclusion>
145 <groupId>org.jsoup</groupId>
146 <artifactId>jsoup</artifactId>
147 </exclusion>
148 <exclusion>
149 <groupId>org.apache.httpcomponents</groupId>
150 <artifactId>httpmime</artifactId>
151 </exclusion>
vasrazd4959a22021-12-10 20:47:01 +0000152 <exclusion>
153 <groupId>org.mongodb</groupId>
154 <artifactId>mongodb-driver</artifactId>
155 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000156 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200157 </dependency>
158 <dependency>
vasrazd4959a22021-12-10 20:47:01 +0000159 <groupId>org.mongodb</groupId>
160 <artifactId>mongodb-driver</artifactId>
161 <version>3.12.10</version>
162 </dependency>
163
164 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200165 <groupId>org.janusgraph</groupId>
166 <artifactId>janusgraph-core</artifactId>
167 <version>${janusgraph.version}</version>
168 <scope>test</scope>
169 <exclusions>
170 <exclusion>
vasraz086406a2021-02-22 09:50:07 +0000171 <groupId>org.apache.tinkerpop</groupId>
vasraz9aef1232022-08-20 18:12:07 +0100172 <artifactId>gremlin-groovy</artifactId>
173 </exclusion>
174 <exclusion>
175 <groupId>org.apache.tinkerpop</groupId>
176 <artifactId>gremlin-core</artifactId>
vasraz086406a2021-02-22 09:50:07 +0000177 </exclusion>
178 <exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200179 <artifactId>slf4j-log4j12</artifactId>
180 <groupId>org.slf4j</groupId>
181 </exclusion>
182 <exclusion>
183 <artifactId>commons-collections</artifactId>
184 <groupId>commons-collections</groupId>
185 </exclusion>
186 <exclusion>
187 <artifactId>groovy</artifactId>
188 <groupId>org.codehaus.groovy</groupId>
189 </exclusion>
190 <exclusion>
191 <groupId>org.apache.thrift</groupId>
192 <artifactId>libthrift</artifactId>
193 </exclusion>
vasrazb7ea3ef2021-05-12 13:56:51 +0100194 <exclusion>
vasraz30b974a2021-05-19 18:22:12 +0100195 <groupId>org.apache.commons</groupId>
196 <artifactId>commons-text</artifactId>
vasrazb7ea3ef2021-05-12 13:56:51 +0100197 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100198 <exclusion>
199 <groupId>commons-codec</groupId>
200 <artifactId>commons-codec</artifactId>
201 </exclusion>
vasrazb65fcbf2021-07-26 15:01:06 +0100202 <exclusion>
203 <groupId>dom4j</groupId>
204 <artifactId>dom4j</artifactId>
205 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000206 <exclusion>
207 <groupId>org.slf4j</groupId>
208 <artifactId>jcl-over-slf4j</artifactId>
209 </exclusion>
JulienBeb1679462020-08-19 11:12:59 +0200210 </exclusions>
211 </dependency>
212 <dependency>
213 <groupId>org.assertj</groupId>
214 <artifactId>assertj-core</artifactId>
215 <version>${assertj.version}</version>
216 <scope>test</scope>
217 </dependency>
218 <dependency>
vasraz30b974a2021-05-19 18:22:12 +0100219 <groupId>org.apache.commons</groupId>
220 <artifactId>commons-text</artifactId>
221 <version>${apache-commons-text.version}</version>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
JulienBeb1679462020-08-19 11:12:59 +0200225 <groupId>com.clearspring.analytics</groupId>
226 <artifactId>stream</artifactId>
227 <version>${clearspring.version}</version>
228 <scope>test</scope>
229 </dependency>
230 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100231 <groupId>org.apache.httpcomponents.client5</groupId>
232 <artifactId>httpclient5</artifactId>
JulienBeb1679462020-08-19 11:12:59 +0200233 <version>${httpclient.version}</version>
234 <scope>test</scope>
vasraz66af7c52021-07-20 23:22:45 +0100235 <exclusions>
236 <exclusion>
237 <groupId>commons-codec</groupId>
238 <artifactId>commons-codec</artifactId>
239 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000240 <exclusion>
241 <groupId>org.apache.httpcomponents</groupId>
242 <artifactId>httpcore</artifactId>
243 </exclusion>
vasraz66af7c52021-07-20 23:22:45 +0100244 </exclusions>
JulienBeb1679462020-08-19 11:12:59 +0200245 </dependency>
246 <dependency>
247 <groupId>org.apache.httpcomponents</groupId>
248 <artifactId>httpcore</artifactId>
249 <version>${httpcore.version}</version>
250 <scope>test</scope>
251 </dependency>
252 <dependency>
253 <groupId>com.fasterxml.jackson.core</groupId>
254 <artifactId>jackson-core</artifactId>
255 <version>${jackson.version}</version>
256 <scope>test</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.codehaus.jackson</groupId>
260 <artifactId>jackson-mapper-asl</artifactId>
261 <version>1.9.2</version>
262 <scope>test</scope>
263 </dependency>
264 <dependency>
265 <groupId>com.fasterxml.jackson.core</groupId>
266 <artifactId>jackson-databind</artifactId>
267 <version>${jackson.version}</version>
268 <scope>test</scope>
269 <exclusions>
270 <exclusion>
271 <groupId>com.fasterxml.jackson.core</groupId>
272 <artifactId>jackson-core</artifactId>
273 </exclusion>
274 </exclusions>
275 </dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200276
vasraz97149612020-10-19 16:33:00 +0100277 <dependency>
278 <groupId>org.onap.sdc.sdc-tosca</groupId>
279 <artifactId>sdc-tosca</artifactId>
280 <version>${sdc-tosca-parser.version}</version>
281 </dependency>
282
sebdetc5c60bf2020-08-25 12:31:39 +0200283 <!--FOR the Frontend -->
284 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100285 <groupId>com.squareup.okhttp3</groupId>
286 <artifactId>okhttp</artifactId>
287 <version>${okhttp.version}</version>
288 </dependency>
289 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200290 <groupId>org.seleniumhq.selenium</groupId>
291 <artifactId>selenium-java</artifactId>
292 <scope>test</scope>
JulienBe930ed252020-08-25 22:20:30 +0200293 <version>${selenium.version}</version>
vasrazdfe98bd2023-07-05 22:22:43 +0100294 <exclusions>
295 <exclusion>
296 <groupId>com.squareup.okhttp3</groupId>
297 <artifactId>okhttp</artifactId>
298 </exclusion>
299 </exclusions>
sebdetc5c60bf2020-08-25 12:31:39 +0200300 </dependency>
301 <dependency>
JulienBe930ed252020-08-25 22:20:30 +0200302 <groupId>org.seleniumhq.selenium</groupId>
303 <artifactId>selenium-server</artifactId>
andre.schmida64494f2021-03-15 16:51:12 +0000304 <version>${selenium.version}</version>
JulienBe930ed252020-08-25 22:20:30 +0200305 <scope>test</scope>
vasraz99ac5dc2023-03-06 15:56:57 +0000306 <exclusions>
307 <exclusion>
308 <groupId>javax.servlet</groupId>
309 <artifactId>javax.servlet-api</artifactId>
310 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100311 <exclusion>
312 <groupId>com.squareup.okhttp3</groupId>
313 <artifactId>okhttp</artifactId>
314 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000315 </exclusions>
JulienBe930ed252020-08-25 22:20:30 +0200316 </dependency>
317 <dependency>
318 <groupId>org.seleniumhq.selenium</groupId>
319 <artifactId>selenium-firefox-driver</artifactId>
320 <version>${selenium.version}</version>
321 <scope>test</scope>
vasrazdfe98bd2023-07-05 22:22:43 +0100322 <exclusions>
323 <exclusion>
324 <groupId>com.squareup.okhttp3</groupId>
325 <artifactId>okhttp</artifactId>
326 </exclusion>
327 </exclusions>
JulienBe930ed252020-08-25 22:20:30 +0200328 </dependency>
329
330 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200331 <groupId>net.lightbody.bmp</groupId>
332 <!-- To use the legacy, Jetty-based implementation, change the artifactId
333 to browsermob-core -->
334 <artifactId>browsermob-core</artifactId>
335 <version>2.1.4</version>
336 <scope>test</scope>
337 <exclusions>
338 <exclusion>
339 <groupId>com.fasterxml.jackson.core</groupId>
340 <artifactId>jackson-core</artifactId>
341 </exclusion>
vasraz987fc742021-11-29 17:42:02 +0000342 <exclusion>
343 <groupId>org.slf4j</groupId>
344 <artifactId>jcl-over-slf4j</artifactId>
345 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100346 <exclusion>
347 <groupId>org.bouncycastle</groupId>
vasraz7b8acdf2023-07-12 18:58:06 +0100348 <artifactId>*</artifactId>
vasrazdfe98bd2023-07-05 22:22:43 +0100349 </exclusion>
sebdetc5c60bf2020-08-25 12:31:39 +0200350 </exclusions>
351 </dependency>
352 <dependency>
353 <groupId>com.paulhammant</groupId>
354 <artifactId>ngwebdriver</artifactId>
355 <version>0.9.7</version>
356 <scope>test</scope>
357 </dependency>
358 <dependency>
359 <groupId>com.github.markusbernhardt</groupId>
360 <artifactId>proxy-vole</artifactId>
361 <version>1.0.2</version>
362 <scope>test</scope>
vasraz987fc742021-11-29 17:42:02 +0000363 <exclusions>
364 <exclusion>
365 <groupId>net.java.dev.jna</groupId>
366 <artifactId>jna</artifactId>
367 </exclusion>
368 <exclusion>
369 <groupId>net.java.dev.jna</groupId>
370 <artifactId>jna-platform</artifactId>
371 </exclusion>
372 </exclusions>
sebdetc5c60bf2020-08-25 12:31:39 +0200373 </dependency>
374 <dependency>
sebdetc5c60bf2020-08-25 12:31:39 +0200375 <groupId>commons-net</groupId>
376 <artifactId>commons-net</artifactId>
377 <version>3.3</version>
378 <scope>test</scope>
379 </dependency>
sebdeta9fffd22020-10-08 13:28:36 +0200380 <dependency>
vasraz8dbc7322021-06-26 14:23:12 +0100381 <groupId>org.springframework</groupId>
382 <artifactId>spring-core</artifactId>
383 <version>${spring.version}</version>
384 <scope>test</scope>
385 </dependency>
vasrazb08ac292021-10-21 17:32:16 +0100386 <dependency>
387 <groupId>org.onap.portal.sdk</groupId>
388 <artifactId>epsdk-fw</artifactId>
389 <version>${ecomp.version}</version>
390 <scope>test</scope>
vasraza8a58632021-12-30 13:59:00 +0000391 <exclusions>
392 <exclusion>
vasraza8a58632021-12-30 13:59:00 +0000393 <groupId>log4j</groupId>
vasraz584dfd72022-03-03 11:38:39 +0000394 <artifactId>log4j</artifactId>
395 </exclusion>
396 <exclusion>
397 <groupId>org.owasp.esapi</groupId>
398 <artifactId>esapi</artifactId>
vasraza8a58632021-12-30 13:59:00 +0000399 </exclusion>
vasraz99ac5dc2023-03-06 15:56:57 +0000400 <exclusion>
401 <groupId>javax.servlet</groupId>
402 <artifactId>javax.servlet-api</artifactId>
403 </exclusion>
vasrazdfe98bd2023-07-05 22:22:43 +0100404 <exclusion>
405 <groupId>org.onap.aaf.authz</groupId>
406 <artifactId>aaf-cadi-aaf</artifactId>
407 </exclusion>
408 <exclusion>
409 <groupId>org.onap.aaf.authz</groupId>
410 <artifactId>aaf-cadi-client</artifactId>
411 </exclusion>
412 <exclusion>
413 <groupId>org.onap.aaf.authz</groupId>
414 <artifactId>aaf-cadi-core</artifactId>
415 </exclusion>
vasraza8a58632021-12-30 13:59:00 +0000416 </exclusions>
vasrazb08ac292021-10-21 17:32:16 +0100417 </dependency>
vasraze4055452022-07-13 23:11:18 +0100418 <dependency>
419 <groupId>org.functionaljava</groupId>
420 <artifactId>functionaljava</artifactId>
421 <version>${functionaljava.version}</version>
422 <scope>test</scope>
423 </dependency>
sebdet056998c2020-08-13 10:32:41 -0700424 </dependencies>
425
426 <build>
427 <plugins>
428 <!-- Section for Integration tests -->
429 <plugin>
430 <artifactId>maven-resources-plugin</artifactId>
431 <executions>
432 <execution>
sebdet5b057082020-09-01 23:47:27 +0200433 <id>copy-chef-resources</id>
sebdet056998c2020-08-13 10:32:41 -0700434 <phase>pre-integration-test</phase>
435 <goals>
436 <goal>copy-resources</goal>
437 </goals>
438 <configuration>
439 <outputDirectory>${it.chef.config}</outputDirectory>
440 <resources>
441 <resource>
JulienBeb1679462020-08-19 11:12:59 +0200442 <directory>environments</directory>
sebdet056998c2020-08-13 10:32:41 -0700443 <filtering>true</filtering>
444 <includes>
445 <include>integration-test.json</include>
andre.schmid209019b2022-09-14 16:24:24 +0100446 </includes>
447 </resource>
448 <resource>
449 <directory>environments</directory>
450 <filtering>false</filtering>
451 <includes>
JulienBe930ed252020-08-25 22:20:30 +0200452 <include>plugins-configuration.yaml</include>
sebdet056998c2020-08-13 10:32:41 -0700453 </includes>
454 </resource>
455 </resources>
456 </configuration>
457 </execution>
andre.schmid662fcba2020-08-21 11:31:47 +0100458 <execution>
459 <id>copy-sdc-be-plugins</id>
460 <phase>pre-integration-test</phase>
461 <goals>
462 <goal>copy-resources</goal>
463 </goals>
464 <configuration>
465 <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
466 <resources>
467 <resource>
vasraz787cfd52021-03-23 17:47:51 +0000468 <directory>
469 ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target
470 </directory>
andre.schmid662fcba2020-08-21 11:31:47 +0100471 <filtering>false</filtering>
472 <includes>
vasraz787cfd52021-03-23 17:47:51 +0000473 <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar
474 </include>
andre.schmid662fcba2020-08-21 11:31:47 +0100475 </includes>
476 </resource>
477 </resources>
478 </configuration>
479 </execution>
JvD_Ericsson2cecd882023-06-13 08:48:16 +0100480 <execution>
481 <id>copy-normatives</id>
482 <phase>pre-integration-test</phase>
483 <goals>
484 <goal>copy-resources</goal>
485 </goals>
486 <configuration>
487 <outputDirectory>
488 integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default
489 </outputDirectory>
490 <resources>
491 <resource>
492 <directory>${project.build.directory}</directory>
493 <includes>
494 <include>normatives.tar.gz</include>
495 </includes>
496 </resource>
497 </resources>
498 </configuration>
499 </execution>
500 <execution>
501 <id>copy-sdc-be-py</id>
502 <phase>pre-integration-test</phase>
503 <goals>
504 <goal>copy-resources</goal>
505 </goals>
506 <configuration>
507 <outputDirectory>
508 integration-tests-init/
509 </outputDirectory>
510 <resources>
511 <resource>
512 <directory>
513 ${project.parent.basedir}/catalog-be/src/main/resources/
514 </directory>
515 <includes>
516 <include>scripts/sdcBePy/**</include>
517 <inculde>scripts/setup.py</inculde>
518 </includes>
519 </resource>
520 </resources>
521 </configuration>
522 </execution>
523 <execution>
524 <id>copy-be-configuration</id>
525 <phase>pre-integration-test</phase>
526 <goals>
527 <goal>copy-resources</goal>
528 </goals>
529 <configuration>
530 <overwrite>true</overwrite>
531 <outputDirectory>
532 integration-tests-init/
533 </outputDirectory>
534 <resources>
535 <resource>
536 <directory>
537 ${project.parent.basedir}/catalog-be/src/main/docker/backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/
538 </directory>
539 <includes>
540 <include>BE-configuration.yaml.erb</include>
541 </includes>
542 </resource>
543 </resources>
544 </configuration>
545 </execution>
sebdet056998c2020-08-13 10:32:41 -0700546 </executions>
547 </plugin>
548 <plugin>
JulienBe930ed252020-08-25 22:20:30 +0200549 <groupId>org.codehaus.mojo</groupId>
550 <artifactId>wagon-maven-plugin</artifactId>
551 <version>2.0.0</version>
552 <executions>
553 <execution>
554 <id>download-gecko</id>
555 <phase>validate</phase>
556 <goals>
557 <goal>download-single</goal>
558 </goals>
559 <configuration>
560 <url>https://github.com</url>
561 <fromFile>
562 mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz
563 </fromFile>
564 <toDir>${project.build.directory}/gecko</toDir>
565 </configuration>
566 </execution>
567 </executions>
568 </plugin>
569 <plugin>
vasraz787cfd52021-03-23 17:47:51 +0000570 <groupId>org.apache.maven.plugins</groupId>
sebdet056998c2020-08-13 10:32:41 -0700571 <artifactId>maven-antrun-plugin</artifactId>
vasraz787cfd52021-03-23 17:47:51 +0000572 <version>${maven-antrun-plugin.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700573 <executions>
574 <execution>
JulienBe930ed252020-08-25 22:20:30 +0200575 <id>set-folder-permission</id>
sebdet056998c2020-08-13 10:32:41 -0700576 <phase>pre-integration-test</phase>
577 <configuration>
578 <target>
sebdet5b057082020-09-01 23:47:27 +0200579 <mkdir dir="/tmp/sdc-integration-tests"/>
580 <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/>
581 <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/>
vasraz787cfd52021-03-23 17:47:51 +0000582 <chmod dir="/tmp/sdc-integration-tests/downloadAutomation"
583 type="dir"
584 perm="ugo+rwx"/>
JulienBe930ed252020-08-25 22:20:30 +0200585 </target>
586 </configuration>
587 <goals>
588 <goal>run</goal>
589 </goals>
590 </execution>
591 <execution>
592 <id>untar-gecko</id>
593 <phase>pre-integration-test</phase>
594 <configuration>
595 <target>
vasraz787cfd52021-03-23 17:47:51 +0000596 <untar
597 src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz"
598 compression="gzip" dest="${project.build.directory}/gecko/"/>
599 <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir"
600 perm="ugo+rwx"/>
sebdet056998c2020-08-13 10:32:41 -0700601 </target>
602 </configuration>
603 <goals>
604 <goal>run</goal>
605 </goals>
606 </execution>
JvD_Ericsson2cecd882023-06-13 08:48:16 +0100607 <execution>
608 <id>add-test-model-to-config</id>
609 <phase>pre-integration-test</phase>
610 <goals>
611 <goal>run</goal>
612 </goals>
613 <configuration>
614 <target name="replace config" unless="${it.test-model.disabled}">
615 <ant antfile="src/main/assembly/replace.xml">
616 <target name="BE-configuration"/>
617 </ant>
618 </target>
619 </configuration>
620 </execution>
sebdet056998c2020-08-13 10:32:41 -0700621 </executions>
622 </plugin>
623 <plugin>
624 <groupId>org.codehaus.mojo</groupId>
625 <artifactId>build-helper-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700626 <executions>
627 <execution>
628 <id>reserve-port-for-tests</id>
629 <phase>validate</phase>
630 <goals>
631 <goal>reserve-network-port</goal>
632 </goals>
633 <configuration>
634 <portNames>
635 <portName>sdc.it.docker.cassandra.port</portName>
636 </portNames>
637 </configuration>
638 </execution>
639 </executions>
640 </plugin>
641 <plugin>
JvD_Ericsson2cecd882023-06-13 08:48:16 +0100642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-assembly-plugin</artifactId>
644 <version>${mvn.assembly.version}</version>
645 <executions>
646 <execution>
647 <id>normatives</id>
648 <phase>prepare-package</phase>
649 <goals>
650 <goal>single</goal>
651 </goals>
652 <configuration>
653 <finalName>normatives</finalName>
654 <appendAssemblyId>false</appendAssemblyId>
655 <descriptors>
656 <descriptor>src/main/assembly/normatives.xml</descriptor>
657 </descriptors>
658 </configuration>
659 </execution>
660 </executions>
661 </plugin>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-clean-plugin</artifactId>
665 <executions>
666 <execution>
667 <id>clean.test.folder</id>
668 <phase>clean</phase>
669 <goals>
670 <goal>clean</goal>
671 </goals>
672 <configuration>
673 <filesets>
674 <fileset>
675 <directory>
676 integration-tests-init/chef-repo/cookbooks/sdc-integration-tests-setup/files/default
677 </directory>
678 <followSymlinks>false</followSymlinks>
679 <includes>
680 <include>normatives.tar.gz</include>
681 </includes>
682 </fileset>
683 </filesets>
684 </configuration>
685 </execution>
686 </executions>
687 </plugin>
688 <plugin>
sebdet056998c2020-08-13 10:32:41 -0700689 <groupId>io.fabric8</groupId>
690 <artifactId>docker-maven-plugin</artifactId>
sebdet056998c2020-08-13 10:32:41 -0700691 <dependencies>
692 <dependency>
vasrazdfe98bd2023-07-05 22:22:43 +0100693 <groupId>org.apache.httpcomponents.client5</groupId>
694 <artifactId>httpclient5</artifactId>
vasraz66af7c52021-07-20 23:22:45 +0100695 <version>${httpclient.version}</version>
sebdet056998c2020-08-13 10:32:41 -0700696 </dependency>
697 </dependencies>
698 <configuration>
sebdetdf353be2020-09-21 22:13:05 +0200699 <verbose>${verbose}</verbose>
sebdet591810d2020-09-17 15:07:23 +0200700 <apiVersion>${docker.api.version}</apiVersion>
sebdet056998c2020-08-13 10:32:41 -0700701 <autoCreateCustomNetworks>true</autoCreateCustomNetworks>
vasrazb08ac292021-10-21 17:32:16 +0100702 <startParallel>true</startParallel>
sebdet056998c2020-08-13 10:32:41 -0700703 <images>
704 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000705 <name>${docker.namespace}/sdc-cassandra:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700706 <alias>sdc-cassandra</alias>
707 <run>
708 <env>
709 <RELEASE>${project.version}</RELEASE>
710 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
711 <ENVNAME>${it.env.name}</ENVNAME>
712 <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE>
713 <HEAP_NEWSIZE>512M</HEAP_NEWSIZE>
714 </env>
715 <hostname>sdc-cs</hostname>
716 <volumes>
717 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000718 <volume>${it.chef.config}:/root/chef-solo/environments
719 </volume>
sebdet056998c2020-08-13 10:32:41 -0700720 </bind>
721 </volumes>
722 <ulimits>
723 <ulimit>
724 <name>memlock</name>
725 <hard>-1</hard>
726 <soft>-1</soft>
727 </ulimit>
728 <ulimit>
729 <name>nofile</name>
730 <hard>100000</hard>
731 <soft>100000</soft>
732 </ulimit>
733 </ulimits>
734 <wait>
735 <time>120000</time>
736 <tcp>
737 <host>sdc-cs</host>
738 <mode>direct</mode>
739 <ports>
740 <port>9042</port>
741 </ports>
742 </tcp>
743 </wait>
744 <ports>
745 <port>9042:9042</port>
746 </ports>
747 <network>
748 <mode>custom</mode>
749 <name>sdc-network</name>
750 <alias>sdc-cs</alias>
751 </network>
752 </run>
753 </image>
754 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000755 <name>${docker.namespace}/sdc-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700756 <alias>sdc-cassandra-init</alias>
757 <run>
758 <dependsOn>
759 <container>sdc-cassandra</container>
760 </dependsOn>
761 <env>
762 <RELEASE>${project.version}</RELEASE>
763 <SDC_USER>${it.sdc.user}</SDC_USER>
764 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
765 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
766 <ENVNAME>${it.env.name}</ENVNAME>
767 </env>
768 <hostname>sdc-cs-init</hostname>
769 <volumes>
770 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000771 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
772 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200773
sebdet056998c2020-08-13 10:32:41 -0700774 </bind>
775 </volumes>
776 <wait>
777 <time>300000</time>
778 <log>SdcSchemaFileImport successfully completed</log>
779 </wait>
780 <network>
781 <mode>custom</mode>
782 <name>sdc-network</name>
783 <alias>sdc-cs-init</alias>
784 </network>
785 </run>
786 </image>
787 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000788 <name>${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700789 <alias>sdc-cassandra-onboard-init</alias>
790 <run>
791 <dependsOn>
vasrazb08ac292021-10-21 17:32:16 +0100792 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700793 </dependsOn>
794 <env>
795 <RELEASE>${project.version}</RELEASE>
796 <SDC_USER>${it.sdc.user}</SDC_USER>
797 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
798 <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD>
799 <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT>
800 <ENVNAME>${it.env.name}</ENVNAME>
801 <CS_HOST_IP>sdc-cs</CS_HOST_IP>
802 </env>
803 <hostname>sdc-cs-onboard-init</hostname>
804 <volumes>
805 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000806 <volume>${it.chef.config}:/home/sdc/chef-solo/environments
807 </volume>
sebdet056998c2020-08-13 10:32:41 -0700808 </bind>
809 </volumes>
810 <wait>
811 <time>30000</time>
andre.schmidb8bfef32021-08-12 23:05:15 +0100812 <log>Onboarding init was successful</log>
sebdet056998c2020-08-13 10:32:41 -0700813 </wait>
814 <network>
815 <mode>custom</mode>
816 <name>sdc-network</name>
817 <alias>sdc-cs-onboard-init</alias>
818 </network>
819 </run>
820 </image>
821 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000822 <name>${docker.namespace}/sdc-onboard-backend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700823 <alias>sdc-onboard-backend</alias>
824 <run>
vasrazb08ac292021-10-21 17:32:16 +0100825 <dependsOn>
sebdet056998c2020-08-13 10:32:41 -0700826 <container>sdc-cassandra-onboard-init</container>
827 </dependsOn>
828 <env>
vasraz787cfd52021-03-23 17:47:51 +0000829 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
830 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700831 <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME>
832 <SDC_USER>${it.sdc.user}</SDC_USER>
833 <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD>
834 <ENVNAME>${it.env.name}</ENVNAME>
835 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
vasraz787cfd52021-03-23 17:47:51 +0000836 <JAVA_OPTIONS>
837 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001
838 -Xmx1g -Xms1g
839 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700840 </env>
841 <hostname>sdc-onboard-BE</hostname>
842 <volumes>
843 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200844 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
845 <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000846 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200847 <volume>${it.shared.volume}:/app/jetty/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700848 </bind>
849 </volumes>
850 <wait>
sebdet30670ac2020-08-04 14:16:00 +0200851 <time>300000</time>
sebdet056998c2020-08-13 10:32:41 -0700852 <tcp>
853 <host>sdc-onboard-BE</host>
854 <mode>direct</mode>
855 <ports>
856 <port>8445</port>
857 <port>8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200858 <port>4001</port>
sebdet056998c2020-08-13 10:32:41 -0700859 </ports>
860 </tcp>
861 </wait>
862 <ports>
863 <port>8445:8445</port>
864 <port>8081:8081</port>
JulienBeb1679462020-08-19 11:12:59 +0200865 <port>4001:4001</port>
sebdet056998c2020-08-13 10:32:41 -0700866 </ports>
867 <network>
868 <mode>custom</mode>
869 <name>sdc-network</name>
870 <alias>sdc-onboard-BE</alias>
871 </network>
872 </run>
873 </image>
874 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000875 <name>${docker.namespace}/sdc-backend-all-plugins:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700876 <alias>sdc-backend</alias>
877 <run>
878 <dependsOn>
sebdet5b057082020-09-01 23:47:27 +0200879 <container>sdc-cassandra-init</container>
sebdet056998c2020-08-13 10:32:41 -0700880 </dependsOn>
881 <env>
vasraz787cfd52021-03-23 17:47:51 +0000882 <cassandra_ssl_enabled>${it.cassandra.ssl.enabled}
883 </cassandra_ssl_enabled>
sebdet056998c2020-08-13 10:32:41 -0700884 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000885 <JAVA_OPTIONS>
886 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000
887 -Xmx1536m -Xms1536m
888 </JAVA_OPTIONS>
andre.schmid13b39122021-01-28 17:53:22 +0000889 <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR>
890 <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME>
sebdet056998c2020-08-13 10:32:41 -0700891 </env>
892 <hostname>sdc-BE</hostname>
893 <volumes>
894 <bind>
JvD_Ericsson2cecd882023-06-13 08:48:16 +0100895 <volume>
896 ${project.basedir}/integration-tests-init/BE-configuration.yaml.erb:/app/jetty/chef-solo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
897 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200898 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
899 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000900 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200901 ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert
vasraz787cfd52021-03-23 17:47:51 +0000902 </volume>
sebdet056998c2020-08-13 10:32:41 -0700903 </bind>
904 </volumes>
905 <wait>
906 <time>60000</time>
907 <tcp>
908 <host>sdc-BE</host>
909 <mode>direct</mode>
910 <ports>
911 <port>8443</port>
912 <port>8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200913 <port>4000</port>
sebdet056998c2020-08-13 10:32:41 -0700914 </ports>
915 </tcp>
916 </wait>
917 <ports>
918 <port>8443:8443</port>
919 <port>8080:8080</port>
JulienBeb1679462020-08-19 11:12:59 +0200920 <port>4000:4000</port>
sebdet056998c2020-08-13 10:32:41 -0700921 </ports>
922 <network>
923 <mode>custom</mode>
924 <name>sdc-network</name>
925 <alias>sdc-BE</alias>
926 </network>
927 </run>
928 </image>
929 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000930 <name>${docker.namespace}/sdc-backend-init:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700931 <alias>sdc-backend-init</alias>
932 <run>
933 <dependsOn>
934 <container>sdc-backend</container>
935 </dependsOn>
936 <env>
937 <ENVNAME>${it.env.name}</ENVNAME>
938 </env>
939 <hostname>sdc-BE-init</hostname>
940 <volumes>
941 <bind>
vasraz787cfd52021-03-23 17:47:51 +0000942 <volume>
943 ${it.chef.config}:/home/onap/chef-solo/environments
944 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200945 <volume>${it.shared.volume}:/home/onap/logs</volume>
sebdet056998c2020-08-13 10:32:41 -0700946 </bind>
947 </volumes>
948 <wait>
xuegaoa856d542020-12-18 10:37:23 +0100949 <time>660000</time>
sebdet056998c2020-08-13 10:32:41 -0700950 <log>Chef Client finished</log>
951 </wait>
952 <network>
953 <mode>custom</mode>
954 <name>sdc-network</name>
955 <alias>sdc-BE-init</alias>
956 </network>
957 </run>
958 </image>
959 <image>
vasraz8b1002a2021-12-08 22:12:52 +0000960 <name>${docker.namespace}/sdc-frontend:${it.docker.version}</name>
sebdet056998c2020-08-13 10:32:41 -0700961 <alias>sdc-frontend</alias>
962 <run>
sebdet056998c2020-08-13 10:32:41 -0700963 <env>
964 <ENVNAME>${it.env.name}</ENVNAME>
vasraz787cfd52021-03-23 17:47:51 +0000965 <JAVA_OPTIONS>
966 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000
967 -Xmx256m -Xms256m
968 </JAVA_OPTIONS>
sebdet056998c2020-08-13 10:32:41 -0700969 </env>
970 <hostname>sdc-FE</hostname>
971 <volumes>
972 <bind>
sebdetdf353be2020-09-21 22:13:05 +0200973 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
974 <volume>${it.shared.volume}:/app/jetty/logs</volume>
vasraz787cfd52021-03-23 17:47:51 +0000975 <volume>
sebdetdf353be2020-09-21 22:13:05 +0200976 ${it.chef.config}/plugins-configuration.yaml:/app/jetty/config/catalog-fe/plugins-configuration.yaml
vasraz787cfd52021-03-23 17:47:51 +0000977 </volume>
sebdetdf353be2020-09-21 22:13:05 +0200978
sebdet056998c2020-08-13 10:32:41 -0700979 </bind>
980 </volumes>
981 <wait>
982 <time>60000</time>
983 <tcp>
984 <host>sdc-FE</host>
985 <mode>direct</mode>
986 <ports>
987 <port>9443</port>
988 <port>8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200989 <port>6000</port>
sebdet056998c2020-08-13 10:32:41 -0700990 </ports>
991 </tcp>
992 </wait>
993 <ports>
994 <port>9443:9443</port>
995 <port>8181:8181</port>
JulienBeb1679462020-08-19 11:12:59 +0200996 <port>6000:6000</port>
sebdet056998c2020-08-13 10:32:41 -0700997 </ports>
998 <network>
999 <mode>custom</mode>
1000 <name>sdc-network</name>
1001 <alias>sdc-FE</alias>
1002 </network>
1003 </run>
1004 </image>
JulienBeb1679462020-08-19 11:12:59 +02001005 <image>
vasraz8b1002a2021-12-08 22:12:52 +00001006 <name>${docker.namespace}/sdc-simulator:${it.docker.version}</name>
JulienBeb1679462020-08-19 11:12:59 +02001007 <alias>sdc-simulator</alias>
1008 <run>
JulienBeb1679462020-08-19 11:12:59 +02001009 <env>
1010 <!--<FE_URL>${it.env.name}</FE_URL>-->
1011 <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS>
1012 <ENVNAME>${it.env.name}</ENVNAME>
1013 </env>
1014 <hostname>sdc-sim</hostname>
1015 <volumes>
1016 <bind>
sebdetdf353be2020-09-21 22:13:05 +02001017 <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume>
1018 <volume>${it.shared.volume}:/app/jetty/logs</volume>
JulienBeb1679462020-08-19 11:12:59 +02001019 </bind>
1020 </volumes>
1021 <wait>
1022 <time>60000</time>
1023 <tcp>
1024 <host>sdc-sim</host>
1025 <mode>direct</mode>
1026 <ports>
1027 <port>8080</port>
1028 <port>8443</port>
vasrazb08ac292021-10-21 17:32:16 +01001029 <port>5000</port>
JulienBeb1679462020-08-19 11:12:59 +02001030 </ports>
1031 </tcp>
1032 </wait>
1033 <ports>
JulienBe930ed252020-08-25 22:20:30 +02001034 <!-- http://localhost:8285/login to access SDC -->
vasrazb08ac292021-10-21 17:32:16 +01001035 <port>8285:8080</port>
JulienBeb1679462020-08-19 11:12:59 +02001036 <port>8286:8443</port>
vasrazb08ac292021-10-21 17:32:16 +01001037 <port>5000:5000</port>
JulienBeb1679462020-08-19 11:12:59 +02001038 </ports>
1039 <network>
1040 <mode>custom</mode>
1041 <name>sdc-network</name>
1042 <alias>sdc-sim</alias>
1043 </network>
1044 </run>
1045 </image>
JulienBe930ed252020-08-25 22:20:30 +02001046 <image>
1047 <name>selenium/standalone-firefox:${it.ui.firefox.version}</name>
1048 <alias>firefox-standalone</alias>
1049 <run>
1050 <hostname>firefox-standalone</hostname>
1051 <wait>
1052 <time>20000</time>
1053 <tcp>
1054 <host>firefox-standalone</host>
1055 <mode>direct</mode>
1056 <ports>
1057 <!-- Selenium remote automation port -->
1058 <port>4444</port>
1059 <!--<port>5900</port>-->
1060 <!-- VNC port for viewing the browser result -->
1061 <!-- password to access is "secret" -->
JulienBe930ed252020-08-25 22:20:30 +02001062 </ports>
1063 </tcp>
1064 </wait>
1065 <env>
JulienBe930ed252020-08-25 22:20:30 +02001066 <JAVA_OPTS>-Xmx512m</JAVA_OPTS>
1067 <!--<START_XVFB>false</START_XVFB>-->
1068 <SCREEN_WIDTH>1920</SCREEN_WIDTH>
1069 <SCREEN_HEIGHT>1440</SCREEN_HEIGHT>
1070 </env>
1071 <ports>
1072 <port>4444:4444</port>
1073 <!--<port>5900:5900</port>-->
1074 </ports>
1075 <network>
1076 <mode>custom</mode>
1077 <name>sdc-network</name>
1078 <alias>firefox-standalone</alias>
1079 </network>
1080 <volumes>
1081 <bind>
1082 <volume>
sebdet5b057082020-09-01 23:47:27 +02001083 /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop
JulienBe930ed252020-08-25 22:20:30 +02001084 </volume>
1085 <volume>/dev/shm:/dev/shm</volume>
1086 </bind>
1087 </volumes>
1088 </run>
1089 </image>
vasrazb08ac292021-10-21 17:32:16 +01001090 <image>
Tomasz Wrobel69b3a6e2022-02-17 12:22:59 +01001091 <name>${docker.namespace}/sdc-helm-validator:${it.helm-validator.version}</name>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +02001092 <alias>helm-validator</alias>
vasrazb08ac292021-10-21 17:32:16 +01001093 <run>
1094 <skip>${it.helm-validator.disabled}</skip>
1095 <hostname>helm-validator</hostname>
1096 <wait>
1097 <time>20000</time>
1098 <tcp>
1099 <host>helm-validator</host>
1100 <mode>direct</mode>
1101 <ports>
1102 <port>8080</port>
1103 </ports>
1104 </tcp>
1105 </wait>
1106 <ports>
1107 <port>8085:8080</port>
1108 </ports>
1109 <network>
1110 <mode>custom</mode>
1111 <name>sdc-network</name>
1112 <alias>helm-validator</alias>
1113 </network>
1114 </run>
1115 </image>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001116 <image>
1117 <name>${docker.namespace}/sdc-integration-tests-init</name>
1118 <alias>integration-tests-init</alias>
1119 <build>
vasraz03f8b0f2023-07-11 15:45:30 +01001120 <skip>${it.test-model.disabled}</skip>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001121 <cleanup>try</cleanup>
1122 <dockerFileDir>${project.basedir}/integration-tests-init</dockerFileDir>
1123 <tags>
1124 <tag>latest</tag>
1125 <tag>
1126 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
1127 </tag>
1128 <tag>
1129 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}
1130 </tag>
1131 </tags>
1132 </build>
1133 <run>
1134 <skip>${it.test-model.disabled}</skip>
1135 <dependsOn>
1136 <container>sdc-backend-init</container>
1137 </dependsOn>
1138 <env>
1139 <ENVNAME>${it.env.name}</ENVNAME>
1140 </env>
1141 <hostname>integration-tests-init</hostname>
1142 <volumes>
1143 <bind>
1144 <volume>
1145 ${it.chef.config}:/home/onap/chef-solo/environments
1146 </volume>
1147 </bind>
1148 </volumes>
1149 <wait>
1150 <time>660000</time>
1151 <log>Chef Client finished</log>
1152 </wait>
1153 <network>
1154 <mode>custom</mode>
1155 <name>sdc-network</name>
1156 <alias>sdc-integration-tests-init</alias>
1157 </network>
1158 </run>
1159 </image>
sebdet056998c2020-08-13 10:32:41 -07001160 </images>
1161 </configuration>
sebdet056998c2020-08-13 10:32:41 -07001162 <executions>
1163 <execution>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001164 <id>docker-build-for-it</id>
1165 <phase>pre-integration-test</phase>
1166 <goals>
1167 <goal>build</goal>
1168 </goals>
1169 </execution>
1170 <execution>
sebdet056998c2020-08-13 10:32:41 -07001171 <id>docker-start-for-it</id>
1172 <phase>pre-integration-test</phase>
1173 <goals>
1174 <goal>start</goal>
1175 </goals>
1176 </execution>
1177 <execution>
1178 <id>docker-stop-for-it</id>
1179 <phase>post-integration-test</phase>
1180 <goals>
1181 <goal>stop</goal>
1182 </goals>
1183 </execution>
1184 </executions>
1185 </plugin>
JulienBeb1679462020-08-19 11:12:59 +02001186 <plugin>
1187 <groupId>org.apache.maven.plugins</groupId>
1188 <artifactId>maven-surefire-plugin</artifactId>
1189 <configuration>
1190 <skip>true</skip>
1191 </configuration>
1192 </plugin>
1193 <plugin>
1194 <groupId>org.apache.maven.plugins</groupId>
1195 <artifactId>maven-failsafe-plugin</artifactId>
1196 <configuration>
sebdet5b057082020-09-01 23:47:27 +02001197 <forkCount>1</forkCount>
1198 <reuseForks>true</reuseForks>
vasraze5ce5b12023-08-22 15:27:30 +01001199 <systemPropertyVariables>
1200 <testng.dtd.http>true</testng.dtd.http>
1201 </systemPropertyVariables>
JulienBeb1679462020-08-19 11:12:59 +02001202 <suiteXmlFiles>
sebdetc5c60bf2020-08-25 12:31:39 +02001203 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
JulienBe930ed252020-08-25 22:20:30 +02001204 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
JulienBeb1679462020-08-19 11:12:59 +02001205 <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>-->
1206 <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>-->
1207 <!--<file>src/test/resources/ci/testSuites/category.xml</file>-->
1208 <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>-->
1209 <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>-->
1210 <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>-->
1211 <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +02001212 <!-- <file>src/test/resources/ci/testSuites/general.xml</file>-->
1213 <!-- <file>src/test/resources/ci/testSuites/imports.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +02001214 <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>-->
1215 <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>-->
1216 <!--<file>src/test/resources/ci/testSuites/pass.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +02001217 <!-- <file>src/test/resources/ci/testSuites/product.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +02001218 <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +02001219 <!-- <file>src/test/resources/ci/testSuites/property.xml</file>-->
1220 <!-- <file>src/test/resources/ci/testSuites/resource.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +02001221 <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>-->
1222 <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +02001223 <!-- <file>src/test/resources/ci/testSuites/service.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +02001224 <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>-->
JulienBe930ed252020-08-25 22:20:30 +02001225 <!-- <file>src/test/resources/ci/testSuites/user.xml</file>-->
JulienBeb1679462020-08-19 11:12:59 +02001226 </suiteXmlFiles>
JulienBeb1679462020-08-19 11:12:59 +02001227 </configuration>
1228 </plugin>
sebdet056998c2020-08-13 10:32:41 -07001229 </plugins>
1230 </build>
sebdet9d724fe2021-02-03 15:05:54 +01001231 <profiles>
1232 <profile>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001233 <id>add-test-model</id>
1234 <properties>
1235 <it.test-model.disabled>false</it.test-model.disabled>
1236 </properties>
1237 </profile>
1238 <profile>
sebdet9d724fe2021-02-03 15:05:54 +01001239 <id>all-for-integration-tests-only</id>
1240 <properties>
1241 <surefire.skip.tests>true</surefire.skip.tests>
1242 <skipTest>false</skipTest>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001243 <it.test-model.disabled>false</it.test-model.disabled>
sebdet9d724fe2021-02-03 15:05:54 +01001244 </properties>
1245 </profile>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +02001246 <profile>
1247 <id>integration-tests-with-helm-validator</id>
1248 <properties>
1249 <it.helm-validator.disabled>false</it.helm-validator.disabled>
JvD_Ericsson2cecd882023-06-13 08:48:16 +01001250 <it.test-model.disabled>false</it.test-model.disabled>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +02001251 </properties>
1252 <build>
1253 <plugins>
1254 <plugin>
1255 <groupId>org.apache.maven.plugins</groupId>
1256 <artifactId>maven-failsafe-plugin</artifactId>
1257 <configuration>
1258 <forkCount>1</forkCount>
1259 <reuseForks>true</reuseForks>
vasraze5ce5b12023-08-22 15:27:30 +01001260 <systemPropertyVariables>
1261 <testng.dtd.http>true</testng.dtd.http>
1262 </systemPropertyVariables>
Remigiusz Janeczekfcebea12021-05-21 14:50:40 +02001263 <suiteXmlFiles>
1264 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
1265 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
1266 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
1267 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
1268 </suiteXmlFiles>
1269 </configuration>
1270 </plugin>
1271 </plugins>
1272 </build>
1273 </profile>
vasraz6d4057b2023-06-28 19:59:14 +01001274 <profile>
1275 <id>run-integration-tests-api</id>
1276 <properties>
1277 <it.helm-validator.disabled>false</it.helm-validator.disabled>
1278 <skipYamlJsonValidator>true</skipYamlJsonValidator>
1279 <checkstyle.skip>true</checkstyle.skip>
1280 <surefire.skip.tests>true</surefire.skip.tests>
1281 <skipTest>false</skipTest>
1282 </properties>
1283 <build>
1284 <plugins>
1285 <plugin>
1286 <groupId>org.apache.maven.plugins</groupId>
1287 <artifactId>maven-failsafe-plugin</artifactId>
1288 <configuration>
1289 <forkCount>1</forkCount>
1290 <reuseForks>true</reuseForks>
vasraze5ce5b12023-08-22 15:27:30 +01001291 <systemPropertyVariables>
1292 <testng.dtd.http>true</testng.dtd.http>
1293 </systemPropertyVariables>
vasraz6d4057b2023-06-28 19:59:14 +01001294 <suiteXmlFiles>
1295 <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
1296 <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
1297 </suiteXmlFiles>
1298 </configuration>
1299 </plugin>
1300 </plugins>
1301 </build>
1302 </profile>
1303 <profile>
1304 <id>run-integration-tests-ui</id>
1305 <properties>
1306 <it.helm-validator.disabled>false</it.helm-validator.disabled>
1307 <skipYamlJsonValidator>true</skipYamlJsonValidator>
1308 <checkstyle.skip>true</checkstyle.skip>
1309 <surefire.skip.tests>true</surefire.skip.tests>
1310 <skipTest>false</skipTest>
1311 </properties>
1312 <build>
1313 <plugins>
1314 <plugin>
1315 <groupId>org.apache.maven.plugins</groupId>
1316 <artifactId>maven-failsafe-plugin</artifactId>
1317 <configuration>
1318 <forkCount>1</forkCount>
1319 <reuseForks>true</reuseForks>
vasraze5ce5b12023-08-22 15:27:30 +01001320 <systemPropertyVariables>
1321 <testng.dtd.http>true</testng.dtd.http>
1322 </systemPropertyVariables>
vasraz6d4057b2023-06-28 19:59:14 +01001323 <suiteXmlFiles>
1324 <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
1325 <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
1326 </suiteXmlFiles>
1327 </configuration>
1328 </plugin>
1329 </plugins>
1330 </build>
1331 </profile>
sebdet9d724fe2021-02-03 15:05:54 +01001332 </profiles>
sebdet056998c2020-08-13 10:32:41 -07001333</project>