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