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 | f50b050 | 2022-02-02 13:19:27 +0000 | [diff] [blame] | 35 | <version>1.10.1-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> |
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> |
| 336 | <artifactId>log4j</artifactId> |
| 337 | <groupId>log4j</groupId> |
| 338 | </exclusion> |
| 339 | </exclusions> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 340 | </dependency> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 341 | </dependencies> |
| 342 | |
| 343 | <build> |
| 344 | <plugins> |
| 345 | <!-- Section for Integration tests --> |
| 346 | <plugin> |
| 347 | <artifactId>maven-resources-plugin</artifactId> |
| 348 | <executions> |
| 349 | <execution> |
sebdet | 5b05708 | 2020-09-01 23:47:27 +0200 | [diff] [blame] | 350 | <id>copy-chef-resources</id> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 351 | <phase>pre-integration-test</phase> |
| 352 | <goals> |
| 353 | <goal>copy-resources</goal> |
| 354 | </goals> |
| 355 | <configuration> |
| 356 | <outputDirectory>${it.chef.config}</outputDirectory> |
| 357 | <resources> |
| 358 | <resource> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 359 | <directory>environments</directory> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 360 | <filtering>true</filtering> |
| 361 | <includes> |
| 362 | <include>integration-test.json</include> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 363 | <include>plugins-configuration.yaml</include> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 364 | </includes> |
| 365 | </resource> |
| 366 | </resources> |
| 367 | </configuration> |
| 368 | </execution> |
andre.schmid | 662fcba | 2020-08-21 11:31:47 +0100 | [diff] [blame] | 369 | <execution> |
| 370 | <id>copy-sdc-be-plugins</id> |
| 371 | <phase>pre-integration-test</phase> |
| 372 | <goals> |
| 373 | <goal>copy-resources</goal> |
| 374 | </goals> |
| 375 | <configuration> |
| 376 | <outputDirectory>${it.sdc-be.plugins}</outputDirectory> |
| 377 | <resources> |
| 378 | <resource> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 379 | <directory> |
| 380 | ../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target |
| 381 | </directory> |
andre.schmid | 662fcba | 2020-08-21 11:31:47 +0100 | [diff] [blame] | 382 | <filtering>false</filtering> |
| 383 | <includes> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 384 | <include>etsi-nfv-nsd-csar-plugin-${project.version}.jar |
| 385 | </include> |
andre.schmid | 662fcba | 2020-08-21 11:31:47 +0100 | [diff] [blame] | 386 | </includes> |
| 387 | </resource> |
| 388 | </resources> |
| 389 | </configuration> |
| 390 | </execution> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 391 | </executions> |
| 392 | </plugin> |
| 393 | <plugin> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 394 | <groupId>org.codehaus.mojo</groupId> |
| 395 | <artifactId>wagon-maven-plugin</artifactId> |
| 396 | <version>2.0.0</version> |
| 397 | <executions> |
| 398 | <execution> |
| 399 | <id>download-gecko</id> |
| 400 | <phase>validate</phase> |
| 401 | <goals> |
| 402 | <goal>download-single</goal> |
| 403 | </goals> |
| 404 | <configuration> |
| 405 | <url>https://github.com</url> |
| 406 | <fromFile> |
| 407 | mozilla/geckodriver/releases/download/v${gecko.driver.version}/geckodriver-v${gecko.driver.version}-linux64.tar.gz |
| 408 | </fromFile> |
| 409 | <toDir>${project.build.directory}/gecko</toDir> |
| 410 | </configuration> |
| 411 | </execution> |
| 412 | </executions> |
| 413 | </plugin> |
| 414 | <plugin> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 415 | <groupId>org.apache.maven.plugins</groupId> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 416 | <artifactId>maven-antrun-plugin</artifactId> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 417 | <version>${maven-antrun-plugin.version}</version> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 418 | <executions> |
| 419 | <execution> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 420 | <id>set-folder-permission</id> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 421 | <phase>pre-integration-test</phase> |
| 422 | <configuration> |
| 423 | <target> |
sebdet | 5b05708 | 2020-09-01 23:47:27 +0200 | [diff] [blame] | 424 | <mkdir dir="/tmp/sdc-integration-tests"/> |
| 425 | <chmod dir="/tmp/sdc-integration-tests" type="dir" perm="ugo+rwx"/> |
| 426 | <mkdir dir="/tmp/sdc-integration-tests/downloadAutomation"/> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 427 | <chmod dir="/tmp/sdc-integration-tests/downloadAutomation" |
| 428 | type="dir" |
| 429 | perm="ugo+rwx"/> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 430 | </target> |
| 431 | </configuration> |
| 432 | <goals> |
| 433 | <goal>run</goal> |
| 434 | </goals> |
| 435 | </execution> |
| 436 | <execution> |
| 437 | <id>untar-gecko</id> |
| 438 | <phase>pre-integration-test</phase> |
| 439 | <configuration> |
| 440 | <target> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 441 | <untar |
| 442 | src="${project.build.directory}/gecko/geckodriver-v${gecko.driver.version}-linux64.tar.gz" |
| 443 | compression="gzip" dest="${project.build.directory}/gecko/"/> |
| 444 | <chmod dir="${project.build.directory}/gecko/geckodriver" type="dir" |
| 445 | perm="ugo+rwx"/> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 446 | </target> |
| 447 | </configuration> |
| 448 | <goals> |
| 449 | <goal>run</goal> |
| 450 | </goals> |
| 451 | </execution> |
| 452 | </executions> |
| 453 | </plugin> |
| 454 | <plugin> |
| 455 | <groupId>org.codehaus.mojo</groupId> |
| 456 | <artifactId>build-helper-maven-plugin</artifactId> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 457 | <executions> |
| 458 | <execution> |
| 459 | <id>reserve-port-for-tests</id> |
| 460 | <phase>validate</phase> |
| 461 | <goals> |
| 462 | <goal>reserve-network-port</goal> |
| 463 | </goals> |
| 464 | <configuration> |
| 465 | <portNames> |
| 466 | <portName>sdc.it.docker.cassandra.port</portName> |
| 467 | </portNames> |
| 468 | </configuration> |
| 469 | </execution> |
| 470 | </executions> |
| 471 | </plugin> |
| 472 | <plugin> |
| 473 | <groupId>io.fabric8</groupId> |
| 474 | <artifactId>docker-maven-plugin</artifactId> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 475 | <dependencies> |
| 476 | <dependency> |
| 477 | <groupId>org.apache.httpcomponents</groupId> |
| 478 | <artifactId>httpclient</artifactId> |
vasraz | 66af7c5 | 2021-07-20 23:22:45 +0100 | [diff] [blame] | 479 | <version>${httpclient.version}</version> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 480 | </dependency> |
| 481 | </dependencies> |
| 482 | <configuration> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 483 | <verbose>${verbose}</verbose> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 484 | <apiVersion>${docker.api.version}</apiVersion> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 485 | <autoCreateCustomNetworks>true</autoCreateCustomNetworks> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 486 | <startParallel>true</startParallel> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 487 | <images> |
| 488 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 489 | <name>${docker.namespace}/sdc-cassandra:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 490 | <alias>sdc-cassandra</alias> |
| 491 | <run> |
| 492 | <env> |
| 493 | <RELEASE>${project.version}</RELEASE> |
| 494 | <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD> |
| 495 | <ENVNAME>${it.env.name}</ENVNAME> |
| 496 | <MAX_HEAP_SIZE>1536M</MAX_HEAP_SIZE> |
| 497 | <HEAP_NEWSIZE>512M</HEAP_NEWSIZE> |
| 498 | </env> |
| 499 | <hostname>sdc-cs</hostname> |
| 500 | <volumes> |
| 501 | <bind> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 502 | <volume>${it.chef.config}:/root/chef-solo/environments |
| 503 | </volume> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 504 | </bind> |
| 505 | </volumes> |
| 506 | <ulimits> |
| 507 | <ulimit> |
| 508 | <name>memlock</name> |
| 509 | <hard>-1</hard> |
| 510 | <soft>-1</soft> |
| 511 | </ulimit> |
| 512 | <ulimit> |
| 513 | <name>nofile</name> |
| 514 | <hard>100000</hard> |
| 515 | <soft>100000</soft> |
| 516 | </ulimit> |
| 517 | </ulimits> |
| 518 | <wait> |
| 519 | <time>120000</time> |
| 520 | <tcp> |
| 521 | <host>sdc-cs</host> |
| 522 | <mode>direct</mode> |
| 523 | <ports> |
| 524 | <port>9042</port> |
| 525 | </ports> |
| 526 | </tcp> |
| 527 | </wait> |
| 528 | <ports> |
| 529 | <port>9042:9042</port> |
| 530 | </ports> |
| 531 | <network> |
| 532 | <mode>custom</mode> |
| 533 | <name>sdc-network</name> |
| 534 | <alias>sdc-cs</alias> |
| 535 | </network> |
| 536 | </run> |
| 537 | </image> |
| 538 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 539 | <name>${docker.namespace}/sdc-cassandra-init:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 540 | <alias>sdc-cassandra-init</alias> |
| 541 | <run> |
| 542 | <dependsOn> |
| 543 | <container>sdc-cassandra</container> |
| 544 | </dependsOn> |
| 545 | <env> |
| 546 | <RELEASE>${project.version}</RELEASE> |
| 547 | <SDC_USER>${it.sdc.user}</SDC_USER> |
| 548 | <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD> |
| 549 | <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD> |
| 550 | <ENVNAME>${it.env.name}</ENVNAME> |
| 551 | </env> |
| 552 | <hostname>sdc-cs-init</hostname> |
| 553 | <volumes> |
| 554 | <bind> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 555 | <volume>${it.chef.config}:/home/sdc/chef-solo/environments |
| 556 | </volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 557 | |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 558 | </bind> |
| 559 | </volumes> |
| 560 | <wait> |
| 561 | <time>300000</time> |
| 562 | <log>SdcSchemaFileImport successfully completed</log> |
| 563 | </wait> |
| 564 | <network> |
| 565 | <mode>custom</mode> |
| 566 | <name>sdc-network</name> |
| 567 | <alias>sdc-cs-init</alias> |
| 568 | </network> |
| 569 | </run> |
| 570 | </image> |
| 571 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 572 | <name>${docker.namespace}/sdc-onboard-cassandra-init:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 573 | <alias>sdc-cassandra-onboard-init</alias> |
| 574 | <run> |
| 575 | <dependsOn> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 576 | <container>sdc-cassandra-init</container> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 577 | </dependsOn> |
| 578 | <env> |
| 579 | <RELEASE>${project.version}</RELEASE> |
| 580 | <SDC_USER>${it.sdc.user}</SDC_USER> |
| 581 | <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD> |
| 582 | <CS_PASSWORD>${it.cassandra.password}</CS_PASSWORD> |
| 583 | <CS_HOST_PORT>${it.cassandra.port}</CS_HOST_PORT> |
| 584 | <ENVNAME>${it.env.name}</ENVNAME> |
| 585 | <CS_HOST_IP>sdc-cs</CS_HOST_IP> |
| 586 | </env> |
| 587 | <hostname>sdc-cs-onboard-init</hostname> |
| 588 | <volumes> |
| 589 | <bind> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 590 | <volume>${it.chef.config}:/home/sdc/chef-solo/environments |
| 591 | </volume> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 592 | </bind> |
| 593 | </volumes> |
| 594 | <wait> |
| 595 | <time>30000</time> |
andre.schmid | b8bfef3 | 2021-08-12 23:05:15 +0100 | [diff] [blame] | 596 | <log>Onboarding init was successful</log> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 597 | </wait> |
| 598 | <network> |
| 599 | <mode>custom</mode> |
| 600 | <name>sdc-network</name> |
| 601 | <alias>sdc-cs-onboard-init</alias> |
| 602 | </network> |
| 603 | </run> |
| 604 | </image> |
| 605 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 606 | <name>${docker.namespace}/sdc-onboard-backend:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 607 | <alias>sdc-onboard-backend</alias> |
| 608 | <run> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 609 | <dependsOn> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 610 | <container>sdc-cassandra-onboard-init</container> |
| 611 | </dependsOn> |
| 612 | <env> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 613 | <cassandra_ssl_enabled>${it.cassandra.ssl.enabled} |
| 614 | </cassandra_ssl_enabled> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 615 | <SDC_CLUSTER_NAME>${it.sdc.cluster.name}</SDC_CLUSTER_NAME> |
| 616 | <SDC_USER>${it.sdc.user}</SDC_USER> |
| 617 | <SDC_PASSWORD>${it.sdc.password}</SDC_PASSWORD> |
| 618 | <ENVNAME>${it.env.name}</ENVNAME> |
| 619 | <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 620 | <JAVA_OPTIONS> |
| 621 | -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4001 |
| 622 | -Xmx1g -Xms1g |
| 623 | </JAVA_OPTIONS> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 624 | </env> |
| 625 | <hostname>sdc-onboard-BE</hostname> |
| 626 | <volumes> |
| 627 | <bind> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 628 | <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume> |
| 629 | <volume>${project.basedir}/src/test/resources/cert/onboarding-be:/app/jetty/onap/cert |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 630 | </volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 631 | <volume>${it.shared.volume}:/app/jetty/logs</volume> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 632 | </bind> |
| 633 | </volumes> |
| 634 | <wait> |
sebdet | 30670ac | 2020-08-04 14:16:00 +0200 | [diff] [blame] | 635 | <time>300000</time> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 636 | <tcp> |
| 637 | <host>sdc-onboard-BE</host> |
| 638 | <mode>direct</mode> |
| 639 | <ports> |
| 640 | <port>8445</port> |
| 641 | <port>8081</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 642 | <port>4001</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 643 | </ports> |
| 644 | </tcp> |
| 645 | </wait> |
| 646 | <ports> |
| 647 | <port>8445:8445</port> |
| 648 | <port>8081:8081</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 649 | <port>4001:4001</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 650 | </ports> |
| 651 | <network> |
| 652 | <mode>custom</mode> |
| 653 | <name>sdc-network</name> |
| 654 | <alias>sdc-onboard-BE</alias> |
| 655 | </network> |
| 656 | </run> |
| 657 | </image> |
| 658 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 659 | <name>${docker.namespace}/sdc-backend-all-plugins:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 660 | <alias>sdc-backend</alias> |
| 661 | <run> |
| 662 | <dependsOn> |
sebdet | 5b05708 | 2020-09-01 23:47:27 +0200 | [diff] [blame] | 663 | <container>sdc-cassandra-init</container> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 664 | </dependsOn> |
| 665 | <env> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 666 | <cassandra_ssl_enabled>${it.cassandra.ssl.enabled} |
| 667 | </cassandra_ssl_enabled> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 668 | <ENVNAME>${it.env.name}</ENVNAME> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 669 | <JAVA_OPTIONS> |
| 670 | -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4000 |
| 671 | -Xmx1536m -Xms1536m |
| 672 | </JAVA_OPTIONS> |
andre.schmid | 13b3912 | 2021-01-28 17:53:22 +0000 | [diff] [blame] | 673 | <SDC_CERT_DIR>onap/cert</SDC_CERT_DIR> |
| 674 | <SDC_NSD_CERT_NAME>nsdCert</SDC_NSD_CERT_NAME> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 675 | </env> |
| 676 | <hostname>sdc-BE</hostname> |
| 677 | <volumes> |
| 678 | <bind> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 679 | <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume> |
| 680 | <volume>${it.shared.volume}:/app/jetty/logs</volume> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 681 | <volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 682 | ${project.basedir}/src/test/resources/cert/catalog-be:/app/jetty/onap/cert |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 683 | </volume> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 684 | </bind> |
| 685 | </volumes> |
| 686 | <wait> |
| 687 | <time>60000</time> |
| 688 | <tcp> |
| 689 | <host>sdc-BE</host> |
| 690 | <mode>direct</mode> |
| 691 | <ports> |
| 692 | <port>8443</port> |
| 693 | <port>8080</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 694 | <port>4000</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 695 | </ports> |
| 696 | </tcp> |
| 697 | </wait> |
| 698 | <ports> |
| 699 | <port>8443:8443</port> |
| 700 | <port>8080:8080</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 701 | <port>4000:4000</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 702 | </ports> |
| 703 | <network> |
| 704 | <mode>custom</mode> |
| 705 | <name>sdc-network</name> |
| 706 | <alias>sdc-BE</alias> |
| 707 | </network> |
| 708 | </run> |
| 709 | </image> |
| 710 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 711 | <name>${docker.namespace}/sdc-backend-init:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 712 | <alias>sdc-backend-init</alias> |
| 713 | <run> |
| 714 | <dependsOn> |
| 715 | <container>sdc-backend</container> |
| 716 | </dependsOn> |
| 717 | <env> |
| 718 | <ENVNAME>${it.env.name}</ENVNAME> |
| 719 | </env> |
| 720 | <hostname>sdc-BE-init</hostname> |
| 721 | <volumes> |
| 722 | <bind> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 723 | <volume> |
| 724 | ${it.chef.config}:/home/onap/chef-solo/environments |
| 725 | </volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 726 | <volume>${it.shared.volume}:/home/onap/logs</volume> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 727 | </bind> |
| 728 | </volumes> |
| 729 | <wait> |
xuegao | a856d54 | 2020-12-18 10:37:23 +0100 | [diff] [blame] | 730 | <time>660000</time> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 731 | <log>Chef Client finished</log> |
| 732 | </wait> |
| 733 | <network> |
| 734 | <mode>custom</mode> |
| 735 | <name>sdc-network</name> |
| 736 | <alias>sdc-BE-init</alias> |
| 737 | </network> |
| 738 | </run> |
| 739 | </image> |
| 740 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 741 | <name>${docker.namespace}/sdc-frontend:${it.docker.version}</name> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 742 | <alias>sdc-frontend</alias> |
| 743 | <run> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 744 | <env> |
| 745 | <ENVNAME>${it.env.name}</ENVNAME> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 746 | <JAVA_OPTIONS> |
| 747 | -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:6000 |
| 748 | -Xmx256m -Xms256m |
| 749 | </JAVA_OPTIONS> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 750 | </env> |
| 751 | <hostname>sdc-FE</hostname> |
| 752 | <volumes> |
| 753 | <bind> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 754 | <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume> |
| 755 | <volume>${it.shared.volume}:/app/jetty/logs</volume> |
vasraz | 787cfd5 | 2021-03-23 17:47:51 +0000 | [diff] [blame] | 756 | <volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 757 | ${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] | 758 | </volume> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 759 | |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 760 | </bind> |
| 761 | </volumes> |
| 762 | <wait> |
| 763 | <time>60000</time> |
| 764 | <tcp> |
| 765 | <host>sdc-FE</host> |
| 766 | <mode>direct</mode> |
| 767 | <ports> |
| 768 | <port>9443</port> |
| 769 | <port>8181</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 770 | <port>6000</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 771 | </ports> |
| 772 | </tcp> |
| 773 | </wait> |
| 774 | <ports> |
| 775 | <port>9443:9443</port> |
| 776 | <port>8181:8181</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 777 | <port>6000:6000</port> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 778 | </ports> |
| 779 | <network> |
| 780 | <mode>custom</mode> |
| 781 | <name>sdc-network</name> |
| 782 | <alias>sdc-FE</alias> |
| 783 | </network> |
| 784 | </run> |
| 785 | </image> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 786 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 787 | <name>${docker.namespace}/sdc-simulator:${it.docker.version}</name> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 788 | <alias>sdc-simulator</alias> |
| 789 | <run> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 790 | <env> |
| 791 | <!--<FE_URL>${it.env.name}</FE_URL>--> |
| 792 | <JAVA_OPTIONS>-Xmx128m -Xms128m -Xss1m</JAVA_OPTIONS> |
| 793 | <ENVNAME>${it.env.name}</ENVNAME> |
| 794 | </env> |
| 795 | <hostname>sdc-sim</hostname> |
| 796 | <volumes> |
| 797 | <bind> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 798 | <volume>${it.chef.config}:/app/jetty/chef-solo/environments</volume> |
| 799 | <volume>${it.shared.volume}:/app/jetty/logs</volume> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 800 | </bind> |
| 801 | </volumes> |
| 802 | <wait> |
| 803 | <time>60000</time> |
| 804 | <tcp> |
| 805 | <host>sdc-sim</host> |
| 806 | <mode>direct</mode> |
| 807 | <ports> |
| 808 | <port>8080</port> |
| 809 | <port>8443</port> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 810 | <port>5000</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 811 | </ports> |
| 812 | </tcp> |
| 813 | </wait> |
| 814 | <ports> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 815 | <!-- http://localhost:8285/login to access SDC --> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 816 | <port>8285:8080</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 817 | <port>8286:8443</port> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 818 | <port>5000:5000</port> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 819 | </ports> |
| 820 | <network> |
| 821 | <mode>custom</mode> |
| 822 | <name>sdc-network</name> |
| 823 | <alias>sdc-sim</alias> |
| 824 | </network> |
| 825 | </run> |
| 826 | </image> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 827 | |
| 828 | <image> |
| 829 | <name>selenium/standalone-firefox:${it.ui.firefox.version}</name> |
| 830 | <alias>firefox-standalone</alias> |
| 831 | <run> |
| 832 | <hostname>firefox-standalone</hostname> |
| 833 | <wait> |
| 834 | <time>20000</time> |
| 835 | <tcp> |
| 836 | <host>firefox-standalone</host> |
| 837 | <mode>direct</mode> |
| 838 | <ports> |
| 839 | <!-- Selenium remote automation port --> |
| 840 | <port>4444</port> |
| 841 | <!--<port>5900</port>--> |
| 842 | <!-- VNC port for viewing the browser result --> |
| 843 | <!-- password to access is "secret" --> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 844 | </ports> |
| 845 | </tcp> |
| 846 | </wait> |
| 847 | <env> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 848 | <JAVA_OPTS>-Xmx512m</JAVA_OPTS> |
| 849 | <!--<START_XVFB>false</START_XVFB>--> |
| 850 | <SCREEN_WIDTH>1920</SCREEN_WIDTH> |
| 851 | <SCREEN_HEIGHT>1440</SCREEN_HEIGHT> |
| 852 | </env> |
| 853 | <ports> |
| 854 | <port>4444:4444</port> |
| 855 | <!--<port>5900:5900</port>--> |
| 856 | </ports> |
| 857 | <network> |
| 858 | <mode>custom</mode> |
| 859 | <name>sdc-network</name> |
| 860 | <alias>firefox-standalone</alias> |
| 861 | </network> |
| 862 | <volumes> |
| 863 | <bind> |
| 864 | <volume> |
sebdet | 5b05708 | 2020-09-01 23:47:27 +0200 | [diff] [blame] | 865 | /tmp/sdc-integration-tests/downloadAutomation/:/home/seluser/Desktop |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 866 | </volume> |
| 867 | <volume>/dev/shm:/dev/shm</volume> |
| 868 | </bind> |
| 869 | </volumes> |
| 870 | </run> |
| 871 | </image> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 872 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 873 | <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] | 874 | <alias>helm-validator</alias> |
vasraz | b08ac29 | 2021-10-21 17:32:16 +0100 | [diff] [blame] | 875 | <run> |
| 876 | <skip>${it.helm-validator.disabled}</skip> |
| 877 | <hostname>helm-validator</hostname> |
| 878 | <wait> |
| 879 | <time>20000</time> |
| 880 | <tcp> |
| 881 | <host>helm-validator</host> |
| 882 | <mode>direct</mode> |
| 883 | <ports> |
| 884 | <port>8080</port> |
| 885 | </ports> |
| 886 | </tcp> |
| 887 | </wait> |
| 888 | <ports> |
| 889 | <port>8085:8080</port> |
| 890 | </ports> |
| 891 | <network> |
| 892 | <mode>custom</mode> |
| 893 | <name>sdc-network</name> |
| 894 | <alias>helm-validator</alias> |
| 895 | </network> |
| 896 | </run> |
| 897 | </image> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 898 | </images> |
| 899 | </configuration> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 900 | <executions> |
| 901 | <execution> |
| 902 | <id>docker-start-for-it</id> |
| 903 | <phase>pre-integration-test</phase> |
| 904 | <goals> |
| 905 | <goal>start</goal> |
| 906 | </goals> |
| 907 | </execution> |
| 908 | <execution> |
| 909 | <id>docker-stop-for-it</id> |
| 910 | <phase>post-integration-test</phase> |
| 911 | <goals> |
| 912 | <goal>stop</goal> |
| 913 | </goals> |
| 914 | </execution> |
| 915 | </executions> |
| 916 | </plugin> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 917 | |
| 918 | <plugin> |
| 919 | <groupId>org.apache.maven.plugins</groupId> |
| 920 | <artifactId>maven-surefire-plugin</artifactId> |
| 921 | <configuration> |
| 922 | <skip>true</skip> |
| 923 | </configuration> |
| 924 | </plugin> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 925 | |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 926 | <plugin> |
| 927 | <groupId>org.apache.maven.plugins</groupId> |
| 928 | <artifactId>maven-failsafe-plugin</artifactId> |
| 929 | <configuration> |
sebdet | 5b05708 | 2020-09-01 23:47:27 +0200 | [diff] [blame] | 930 | <forkCount>1</forkCount> |
| 931 | <reuseForks>true</reuseForks> |
amohamad | 44c6c0d | 2020-08-09 20:27:40 -0400 | [diff] [blame] | 932 | <systemProperties> |
| 933 | <property> |
| 934 | <name>testng.dtd.http</name> |
| 935 | <value>true</value> |
| 936 | </property> |
| 937 | </systemProperties> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 938 | <suiteXmlFiles> |
sebdet | c5c60bf | 2020-08-25 12:31:39 +0200 | [diff] [blame] | 939 | <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 940 | <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 941 | <!--<file>src/test/resources/ci/testSuites/artifacts.xml</file>--> |
| 942 | <!--<file>src/test/resources/ci/testSuites/cap_req.xml</file>--> |
| 943 | <!--<file>src/test/resources/ci/testSuites/category.xml</file>--> |
| 944 | <!--<file>src/test/resources/ci/testSuites/ciFull.xml</file>--> |
| 945 | <!--<file>src/test/resources/ci/testSuites/CRUDArtifacts.xml</file>--> |
| 946 | <!--<file>src/test/resources/ci/testSuites/externalAPIs.xml</file>--> |
| 947 | <!--<file>src/test/resources/ci/testSuites/ExternalApiSanity.xml</file>--> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 948 | <!-- <file>src/test/resources/ci/testSuites/general.xml</file>--> |
| 949 | <!-- <file>src/test/resources/ci/testSuites/imports.xml</file>--> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 950 | <!--<file>src/test/resources/ci/testSuites/normatives.xml</file>--> |
| 951 | <!--<file>src/test/resources/ci/testSuites/onapApiSanity.xml</file>--> |
| 952 | <!--<file>src/test/resources/ci/testSuites/pass.xml</file>--> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 953 | <!-- <file>src/test/resources/ci/testSuites/product.xml</file>--> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 954 | <!--<file>src/test/resources/ci/testSuites/productAPIs.xml</file>--> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 955 | <!-- <file>src/test/resources/ci/testSuites/property.xml</file>--> |
| 956 | <!-- <file>src/test/resources/ci/testSuites/resource.xml</file>--> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 957 | <!--<file>src/test/resources/ci/testSuites/sanity.xml</file>--> |
| 958 | <!--<file>src/test/resources/ci/testSuites/SearchExternalAPI.xml</file>--> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 959 | <!-- <file>src/test/resources/ci/testSuites/service.xml</file>--> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 960 | <!--<file>src/test/resources/ci/testSuites/testngLifeCycle.xml</file>--> |
JulienBe | 930ed25 | 2020-08-25 22:20:30 +0200 | [diff] [blame] | 961 | <!-- <file>src/test/resources/ci/testSuites/user.xml</file>--> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 962 | </suiteXmlFiles> |
JulienBe | b167946 | 2020-08-19 11:12:59 +0200 | [diff] [blame] | 963 | </configuration> |
| 964 | </plugin> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 965 | </plugins> |
| 966 | </build> |
sebdet | 9d724fe | 2021-02-03 15:05:54 +0100 | [diff] [blame] | 967 | <profiles> |
| 968 | <profile> |
| 969 | <id>all-for-integration-tests-only</id> |
| 970 | <properties> |
| 971 | <surefire.skip.tests>true</surefire.skip.tests> |
| 972 | <skipTest>false</skipTest> |
| 973 | </properties> |
| 974 | </profile> |
Remigiusz Janeczek | fcebea1 | 2021-05-21 14:50:40 +0200 | [diff] [blame] | 975 | <profile> |
| 976 | <id>integration-tests-with-helm-validator</id> |
| 977 | <properties> |
| 978 | <it.helm-validator.disabled>false</it.helm-validator.disabled> |
| 979 | </properties> |
| 980 | <build> |
| 981 | <plugins> |
| 982 | <plugin> |
| 983 | <groupId>org.apache.maven.plugins</groupId> |
| 984 | <artifactId>maven-failsafe-plugin</artifactId> |
| 985 | <configuration> |
| 986 | <forkCount>1</forkCount> |
| 987 | <reuseForks>true</reuseForks> |
| 988 | <systemProperties> |
| 989 | <property> |
| 990 | <name>testng.dtd.http</name> |
| 991 | <value>true</value> |
| 992 | </property> |
| 993 | </systemProperties> |
| 994 | <suiteXmlFiles> |
| 995 | <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file> |
| 996 | <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file> |
| 997 | <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file> |
| 998 | <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file> |
| 999 | </suiteXmlFiles> |
| 1000 | </configuration> |
| 1001 | </plugin> |
| 1002 | </plugins> |
| 1003 | </build> |
| 1004 | </profile> |
sebdet | 9d724fe | 2021-02-03 15:05:54 +0100 | [diff] [blame] | 1005 | </profiles> |
sebdet | 056998c | 2020-08-13 10:32:41 -0700 | [diff] [blame] | 1006 | </project> |