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