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