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