1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
7 <artifactId>test-apis-ci</artifactId>
10 <groupId>org.openecomp.sdc</groupId>
11 <artifactId>sdc-main</artifactId>
12 <version>1.7.0-SNAPSHOT</version>
16 <sonar.skip>true</sonar.skip>
17 <mockserver.netty.version>5.5.4</mockserver.netty.version>
22 <groupId>com.google.guava</groupId>
23 <artifactId>guava</artifactId>
24 <version>${guava.version}</version>
25 <scope>compile</scope>
29 <groupId>junit</groupId>
30 <artifactId>junit</artifactId>
31 <version>${junit.version}</version>
32 <scope>compile</scope>
36 <groupId>org.junit.jupiter</groupId>
37 <artifactId>junit-jupiter</artifactId>
38 <version>${junitJupiter.version}</version>
43 <groupId>org.mockito</groupId>
44 <artifactId>mockito-junit-jupiter</artifactId>
45 <version>${mockitoJupiter.version}</version>
50 <groupId>org.assertj</groupId>
51 <artifactId>assertj-core</artifactId>
55 <groupId>org.hamcrest</groupId>
56 <artifactId>hamcrest-all</artifactId>
57 <version>${hamcrest-all.version}</version>
61 <groupId>org.testng</groupId>
62 <artifactId>testng</artifactId>
63 <version>${testng.version}</version>
64 <scope>compile</scope>
68 <groupId>com.aventstack</groupId>
69 <artifactId>extentreports</artifactId>
70 <version>3.0.6</version>
71 <scope>compile</scope>
75 <groupId>org.mockito</groupId>
76 <artifactId>mockito-core</artifactId>
81 <groupId>com.typesafe</groupId>
82 <artifactId>config</artifactId>
83 <version>1.0.2</version>
84 <scope>compile</scope>
88 <groupId>log4j</groupId>
89 <artifactId>log4j</artifactId>
90 <version>1.2.17</version>
91 <scope>compile</scope>
95 <groupId>com.jcraft.jsch</groupId>
96 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
97 <version>0.1.41</version>
98 <scope>compile</scope>
102 <groupId>org.openecomp.sdc</groupId>
103 <artifactId>common-app-api</artifactId>
104 <version>${project.version}</version>
108 <groupId>org.openecomp.sdc.be</groupId>
109 <artifactId>common-be</artifactId>
110 <version>${project.version}</version>
113 <!-- CHECK CATLOG MODEL -->
115 <groupId>org.openecomp.sdc.be</groupId>
116 <artifactId>catalog-model</artifactId>
117 <version>${project.version}</version>
122 <groupId>org.openecomp.sdc.be</groupId>
123 <artifactId>catalog-dao</artifactId>
124 <version>${project.version}</version>
126 <!-- functional java -->
128 <groupId>org.functionaljava</groupId>
129 <artifactId>functionaljava</artifactId>
130 <version>${functionaljava.version}</version>
131 <scope>compile</scope>
135 <groupId>com.datastax.cassandra</groupId>
136 <artifactId>cassandra-driver-core</artifactId>
137 <version>${cassandra.driver.version}</version>
138 <scope>compile</scope>
140 <!-- CASSANDRA END -->
142 <!-- slf4j + logback -->
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-api</artifactId>
146 <version>${slf4j-api.version}</version>
147 <scope>compile</scope>
151 <groupId>ch.qos.logback</groupId>
152 <artifactId>logback-classic</artifactId>
153 <version>${logback.version}</version>
154 <scope>compile</scope>
158 <groupId>ch.qos.logback</groupId>
159 <artifactId>logback-core</artifactId>
160 <version>${logback.version}</version>
161 <scope>compile</scope>
165 <groupId>com.googlecode.json-simple</groupId>
166 <artifactId>json-simple</artifactId>
167 <version>${json-simple.version}</version>
168 <scope>compile</scope>
171 <!-- File changes listener -->
173 <groupId>org.apache.commons</groupId>
174 <artifactId>commons-jci-core</artifactId>
175 <version>${commons-jci-core.version}</version>
176 <scope>compile</scope>
180 <groupId>commons-codec</groupId>
181 <artifactId>commons-codec</artifactId>
182 <version>${commons-codec}</version>
183 <scope>compile</scope>
188 <groupId>com.google.code.gson</groupId>
189 <artifactId>gson</artifactId>
190 <version>${gson.version}</version>
191 <scope>compile</scope>
196 <groupId>org.yaml</groupId>
197 <artifactId>snakeyaml</artifactId>
198 <version>${snakeyaml.version}</version>
199 <scope>compile</scope>
204 <groupId>org.apache.httpcomponents</groupId>
205 <artifactId>httpclient</artifactId>
206 <version>${httpclient.version}</version>
207 <scope>compile</scope>
211 <groupId>org.apache.httpcomponents</groupId>
212 <artifactId>httpmime</artifactId>
213 <version>${httpclient.version}</version>
214 <scope>compile</scope>
218 <groupId>commons-io</groupId>
219 <artifactId>commons-io</artifactId>
220 <version>2.5</version>
221 <scope>compile</scope>
225 <groupId>commons-logging</groupId>
226 <artifactId>commons-logging</artifactId>
227 <version>${commons-logging}</version>
228 <scope>compile</scope>
233 <groupId>org.apache.httpcomponents</groupId>
234 <artifactId>httpcore</artifactId>
235 <version>${httpcore.version}</version>
236 <scope>compile</scope>
240 <groupId>org.janusgraph</groupId>
241 <artifactId>janusgraph-core</artifactId>
242 <version>${janusgraph.version}</version>
243 <scope>compile</scope>
246 <artifactId>slf4j-log4j12</artifactId>
247 <groupId>org.slf4j</groupId>
250 <artifactId>commons-collections</artifactId>
251 <groupId>commons-collections</groupId>
254 <artifactId>groovy</artifactId>
255 <groupId>org.codehaus.groovy</groupId>
258 <groupId>org.apache.thrift</groupId>
259 <artifactId>libthrift</artifactId>
265 <groupId>com.clearspring.analytics</groupId>
266 <artifactId>stream</artifactId>
267 <version>${clearspring.version}</version>
270 <groupId>org.janusgraph</groupId>
271 <artifactId>janusgraph-cql</artifactId>
272 <version>${janusgraph.version}</version>
273 <scope>compile</scope>
276 <groupId>org.slf4j</groupId>
277 <artifactId>slf4j-log4j12</artifactId>
280 <groupId>org.json</groupId>
281 <artifactId>json</artifactId>
284 <artifactId>commons-collections</artifactId>
285 <groupId>commons-collections</groupId>
288 <artifactId>groovy</artifactId>
289 <groupId>org.codehaus.groovy</groupId>
292 <groupId>io.netty</groupId>
293 <artifactId>netty-all</artifactId>
299 <groupId>org.codehaus.jackson</groupId>
300 <artifactId>jackson-mapper-asl</artifactId>
301 <version>1.9.2</version>
302 <scope>compile</scope>
306 <groupId>com.fasterxml.jackson.core</groupId>
307 <artifactId>jackson-databind</artifactId>
308 <version>${jackson.version}</version>
309 <scope>compile</scope>
313 <groupId>com.fasterxml.jackson.core</groupId>
314 <artifactId>jackson-core</artifactId>
315 <version>${jackson.version}</version>
316 <scope>compile</scope>
320 <groupId>org.onap.portal.sdk</groupId>
321 <artifactId>epsdk-fw</artifactId>
322 <version>${ecomp.version}</version>
323 <scope>compile</scope>
326 <artifactId>slf4j-log4j12</artifactId>
327 <groupId>org.slf4j</groupId>
333 <groupId>org.json</groupId>
334 <artifactId>json</artifactId>
335 <version>20131018</version>
339 <groupId>org.onap.sdc.sdc-tosca</groupId>
340 <artifactId>sdc-tosca</artifactId>
341 <version>${sdc-tosca-parser.version}</version>
345 <groupId>info.cukes</groupId>
346 <artifactId>cucumber-junit</artifactId>
347 <version>1.2.4</version>
352 <groupId>info.cukes</groupId>
353 <artifactId>cucumber-core</artifactId>
354 <version>1.2.4</version>
359 <groupId>info.cukes</groupId>
360 <artifactId>gherkin</artifactId>
361 <version>2.12.2</version>
364 <groupId>info.cukes</groupId>
365 <artifactId>cucumber-java</artifactId>
366 <version>1.2.5</version>
371 <groupId>info.cukes</groupId>
372 <artifactId>cucumber-jvm-deps</artifactId>
373 <version>1.0.5</version>
377 <groupId>org.mock-server</groupId>
378 <artifactId>mockserver-netty</artifactId>
379 <version>${mockserver.netty.version}</version>
383 <artifactId>commons-collections</artifactId>
384 <groupId>commons-collections</groupId>
390 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
391 <artifactId>sdc-distribution-client</artifactId>
392 <version>1.2.2</version>
398 <groupId>info.cukes</groupId>
399 <artifactId>cucumber-testng</artifactId>
400 <version>1.2.5</version>
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-context</artifactId>
407 <version>${spring.version}</version>
408 <scope>compile</scope>
413 <groupId>com.datastax.cassandra</groupId>
414 <artifactId>cassandra-driver-mapping</artifactId>
415 <version>${cassandra.driver.version}</version>
416 <scope>compile</scope>
418 <!-- CASSANDRA END -->
421 <groupId>org.codehaus.groovy</groupId>
422 <artifactId>groovy</artifactId>
426 <groupId>io.netty</groupId>
427 <artifactId>netty-all</artifactId>
431 <groupId>io.netty</groupId>
432 <artifactId>netty-handler</artifactId>
440 <groupId>org.apache.maven.plugins</groupId>
441 <artifactId>maven-clean-plugin</artifactId>
444 <id>clean.testsuit.folder</id>
453 <directory>${project.basedir}/sdc-api-tests</directory>
454 <followSymlinks>false</followSymlinks>
456 <include>*.jar</include>
459 <!-- Sanity test suites -->
462 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
464 <followSymlinks>false</followSymlinks>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-deploy-plugin</artifactId>
480 <!-- ============================================= -->
481 <!-- Create the JAR file with its dependencies -->
482 <!-- ============================================= -->
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-assembly-plugin</artifactId>
488 <id>create.jar.with.dependencies</id>
489 <phase>package</phase>
496 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
500 <descriptorRef>jar-with-dependencies</descriptorRef>
507 <groupId>com.github.sylvainlaurent.maven</groupId>
508 <artifactId>yaml-json-validator-maven-plugin</artifactId>
512 <phase>validate</phase>
514 <goal>validate</goal>
520 <include>src/main/resources/**/*.y*ml</include>
521 <include>src/test/resources/**/*.y*ml</include>
525 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
528 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
530 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
536 <include>src/main/resources/**/*.json</include>
537 <include>src/test/resources/**/*.json</include>
540 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
555 <activeByDefault>false</activeByDefault>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-resources-plugin</artifactId>
564 <id>copy-tests-suites</id>
565 <phase>verify</phase>
567 <goal>copy-resources</goal>
571 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
576 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
587 <id>copy-resources-test-apis-ci</id>
588 <phase>verify</phase>
590 <goal>copy-resources</goal>
593 <outputDirectory>sdc-api-tests</outputDirectory>
596 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
598 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
608 <groupId>io.fabric8</groupId>
609 <artifactId>docker-maven-plugin</artifactId>
611 <apiVersion>1.23</apiVersion>
612 <registry>nexus3.onap.org:10001</registry>
615 <username>docker</username>
616 <password>docker</password>
620 <!-- Build sanity image -->
622 <name>onap/sdc-api-tests</name>
623 <alias>sdc-api-tests</alias>
625 <cleanup>try</cleanup>
626 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
628 <tag>${docker.tag}</tag>
630 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
639 <id>clean-images</id>
640 <phase>pre-clean</phase>
645 <removeAll>true</removeAll>
646 <image>onap/sdc-api-tests</image>
651 <id>generate-images</id>
652 <phase>install</phase>
660 <phase>deploy</phase>
665 <image>onap/sdc-api-tests</image>