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