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