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