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.6.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.assertj</groupId>
37 <artifactId>assertj-core</artifactId>
41 <groupId>org.hamcrest</groupId>
42 <artifactId>hamcrest-all</artifactId>
43 <version>${hamcrest-all.version}</version>
47 <groupId>org.testng</groupId>
48 <artifactId>testng</artifactId>
49 <version>${testng.version}</version>
50 <scope>compile</scope>
54 <groupId>com.aventstack</groupId>
55 <artifactId>extentreports</artifactId>
56 <version>3.0.6</version>
57 <scope>compile</scope>
61 <groupId>org.mockito</groupId>
62 <artifactId>mockito-core</artifactId>
67 <groupId>com.typesafe</groupId>
68 <artifactId>config</artifactId>
69 <version>1.0.2</version>
70 <scope>compile</scope>
74 <groupId>log4j</groupId>
75 <artifactId>log4j</artifactId>
76 <version>1.2.17</version>
77 <scope>compile</scope>
81 <groupId>com.jcraft.jsch</groupId>
82 <artifactId>com.springsource.com.jcraft.jsch</artifactId>
83 <version>0.1.41</version>
84 <scope>compile</scope>
88 <groupId>org.openecomp.sdc</groupId>
89 <artifactId>common-app-api</artifactId>
90 <version>${project.version}</version>
91 <scope>compile</scope>
95 <groupId>org.openecomp.sdc.be</groupId>
96 <artifactId>common-be</artifactId>
97 <version>${project.version}</version>
98 <scope>compile</scope>
101 <!-- CHECK CATLOG MODEL -->
103 <groupId>org.openecomp.sdc.be</groupId>
104 <artifactId>catalog-model</artifactId>
105 <version>${project.version}</version>
106 <scope>compile</scope>
111 <groupId>org.openecomp.sdc.be</groupId>
112 <artifactId>catalog-dao</artifactId>
113 <version>${project.version}</version>
114 <scope>compile</scope>
116 <!-- functional java -->
118 <groupId>org.functionaljava</groupId>
119 <artifactId>functionaljava</artifactId>
120 <version>${functionaljava.version}</version>
121 <scope>compile</scope>
125 <groupId>com.datastax.cassandra</groupId>
126 <artifactId>cassandra-driver-core</artifactId>
127 <version>${cassandra.driver.version}</version>
128 <scope>compile</scope>
130 <!-- CASSANDRA END -->
132 <!-- slf4j + logback -->
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-api</artifactId>
136 <version>${slf4j-api.version}</version>
137 <scope>compile</scope>
141 <groupId>ch.qos.logback</groupId>
142 <artifactId>logback-classic</artifactId>
143 <version>${logback.version}</version>
144 <scope>compile</scope>
148 <groupId>ch.qos.logback</groupId>
149 <artifactId>logback-core</artifactId>
150 <version>${logback.version}</version>
151 <scope>compile</scope>
155 <groupId>com.googlecode.json-simple</groupId>
156 <artifactId>json-simple</artifactId>
157 <version>${json-simple.version}</version>
158 <scope>compile</scope>
161 <!-- File changes listener -->
163 <groupId>org.apache.commons</groupId>
164 <artifactId>commons-jci-core</artifactId>
165 <version>${commons-jci-core.version}</version>
166 <scope>compile</scope>
170 <groupId>commons-codec</groupId>
171 <artifactId>commons-codec</artifactId>
172 <version>${commons-codec}</version>
173 <scope>compile</scope>
178 <groupId>com.google.code.gson</groupId>
179 <artifactId>gson</artifactId>
180 <version>${gson.version}</version>
181 <scope>compile</scope>
186 <groupId>org.yaml</groupId>
187 <artifactId>snakeyaml</artifactId>
188 <version>${snakeyaml.version}</version>
189 <scope>compile</scope>
194 <groupId>org.apache.httpcomponents</groupId>
195 <artifactId>httpclient</artifactId>
196 <version>${httpclient.version}</version>
197 <scope>compile</scope>
201 <groupId>org.apache.httpcomponents</groupId>
202 <artifactId>httpmime</artifactId>
203 <version>${httpclient.version}</version>
204 <scope>compile</scope>
208 <groupId>commons-io</groupId>
209 <artifactId>commons-io</artifactId>
210 <version>2.5</version>
211 <scope>compile</scope>
215 <groupId>commons-logging</groupId>
216 <artifactId>commons-logging</artifactId>
217 <version>${commons-logging}</version>
218 <scope>compile</scope>
223 <groupId>org.apache.httpcomponents</groupId>
224 <artifactId>httpcore</artifactId>
225 <version>${httpcore.version}</version>
226 <scope>compile</scope>
230 <groupId>org.janusgraph</groupId>
231 <artifactId>janusgraph-core</artifactId>
232 <version>${janusgraph.version}</version>
233 <scope>compile</scope>
236 <artifactId>slf4j-log4j12</artifactId>
237 <groupId>org.slf4j</groupId>
240 <artifactId>commons-collections</artifactId>
241 <groupId>commons-collections</groupId>
244 <artifactId>groovy</artifactId>
245 <groupId>org.codehaus.groovy</groupId>
248 <groupId>org.apache.thrift</groupId>
249 <artifactId>libthrift</artifactId>
255 <groupId>org.janusgraph</groupId>
256 <artifactId>janusgraph-cassandra</artifactId>
257 <version>${janusgraph.version}</version>
258 <scope>compile</scope>
261 <artifactId>slf4j-log4j12</artifactId>
262 <groupId>org.slf4j</groupId>
268 <groupId>org.codehaus.jackson</groupId>
269 <artifactId>jackson-mapper-asl</artifactId>
270 <version>1.9.2</version>
271 <scope>compile</scope>
275 <groupId>com.fasterxml.jackson.core</groupId>
276 <artifactId>jackson-databind</artifactId>
277 <version>${jackson.version}</version>
278 <scope>compile</scope>
282 <groupId>com.fasterxml.jackson.core</groupId>
283 <artifactId>jackson-core</artifactId>
284 <version>${jackson.version}</version>
285 <scope>compile</scope>
289 <groupId>org.onap.portal.sdk</groupId>
290 <artifactId>epsdk-fw</artifactId>
291 <version>${ecomp.version}</version>
292 <scope>compile</scope>
295 <artifactId>slf4j-log4j12</artifactId>
296 <groupId>org.slf4j</groupId>
302 <groupId>org.json</groupId>
303 <artifactId>json</artifactId>
304 <version>20131018</version>
308 <groupId>org.onap.sdc.sdc-tosca</groupId>
309 <artifactId>sdc-tosca</artifactId>
310 <version>${sdc-tosca-parser.version}</version>
314 <groupId>info.cukes</groupId>
315 <artifactId>cucumber-junit</artifactId>
316 <version>1.2.4</version>
321 <groupId>info.cukes</groupId>
322 <artifactId>cucumber-core</artifactId>
323 <version>1.2.4</version>
328 <groupId>info.cukes</groupId>
329 <artifactId>gherkin</artifactId>
330 <version>2.12.2</version>
333 <groupId>info.cukes</groupId>
334 <artifactId>cucumber-java</artifactId>
335 <version>1.2.5</version>
340 <groupId>info.cukes</groupId>
341 <artifactId>cucumber-jvm-deps</artifactId>
342 <version>1.0.5</version>
346 <groupId>org.mock-server</groupId>
347 <artifactId>mockserver-netty</artifactId>
348 <version>${mockserver.netty.version}</version>
352 <artifactId>commons-collections</artifactId>
353 <groupId>commons-collections</groupId>
359 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
360 <artifactId>sdc-distribution-client</artifactId>
361 <version>1.2.2</version>
367 <groupId>info.cukes</groupId>
368 <artifactId>cucumber-testng</artifactId>
369 <version>1.2.5</version>
374 <groupId>org.springframework</groupId>
375 <artifactId>spring-context</artifactId>
376 <version>${spring.version}</version>
377 <scope>compile</scope>
382 <groupId>com.datastax.cassandra</groupId>
383 <artifactId>cassandra-driver-mapping</artifactId>
384 <version>${cassandra.driver.version}</version>
385 <scope>compile</scope>
388 <groupId>org.apache.thrift</groupId>
389 <artifactId>libthrift</artifactId>
390 <version>${libthrift.version}</version>
392 <!-- CASSANDRA END -->
395 <groupId>org.codehaus.groovy</groupId>
396 <artifactId>groovy</artifactId>
400 <groupId>io.netty</groupId>
401 <artifactId>netty-all</artifactId>
405 <groupId>io.netty</groupId>
406 <artifactId>netty-handler</artifactId>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-clean-plugin</artifactId>
418 <id>clean.testsuit.folder</id>
427 <directory>${project.basedir}/sdc-api-tests</directory>
428 <followSymlinks>false</followSymlinks>
430 <include>*.jar</include>
433 <!-- Sanity test suites -->
436 ${project.basedir}/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
438 <followSymlinks>false</followSymlinks>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-deploy-plugin</artifactId>
454 <!-- ============================================= -->
455 <!-- Create the JAR file with its dependencies -->
456 <!-- ============================================= -->
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-assembly-plugin</artifactId>
462 <id>create.jar.with.dependencies</id>
463 <phase>package</phase>
470 <mainClass>org.openecomp.sdc.ci.tests.run.StartTest</mainClass>
474 <descriptorRef>jar-with-dependencies</descriptorRef>
481 <groupId>com.github.sylvainlaurent.maven</groupId>
482 <artifactId>yaml-json-validator-maven-plugin</artifactId>
486 <phase>validate</phase>
488 <goal>validate</goal>
494 <include>src/main/resources/**/*.y*ml</include>
495 <include>src/test/resources/**/*.y*ml</include>
499 src/test/resources/CI/tests/importToscaResourceByCreateUrl/occurencyFalure*.y*ml
502 src/test/resources/CI/tests/importToscaResourceByCreateUrl/noContent*.y*ml
504 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.y*ml
510 <include>src/main/resources/**/*.json</include>
511 <include>src/test/resources/**/*.json</include>
514 <exclude>src/test/resources/CI/tests/HeatDeploymentArtifacts/invalid*.json
529 <activeByDefault>false</activeByDefault>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-resources-plugin</artifactId>
538 <id>copy-tests-suites</id>
539 <phase>verify</phase>
541 <goal>copy-resources</goal>
545 sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/testSuites
550 ${project.parent.basedir}/test-apis-ci/src/main/resources/ci/testSuites
561 <id>copy-resources-test-apis-ci</id>
562 <phase>verify</phase>
564 <goal>copy-resources</goal>
567 <outputDirectory>sdc-api-tests</outputDirectory>
570 <directory>${project.parent.basedir}/test-apis-ci/target</directory>
572 <include>test-apis-ci-${project.version}-jar-with-dependencies.jar</include>
582 <groupId>io.fabric8</groupId>
583 <artifactId>docker-maven-plugin</artifactId>
585 <apiVersion>1.23</apiVersion>
586 <registry>nexus3.onap.org:10001</registry>
589 <username>docker</username>
590 <password>docker</password>
594 <!-- Build sanity image -->
596 <name>onap/sdc-api-tests</name>
597 <alias>sdc-api-tests</alias>
599 <cleanup>try</cleanup>
600 <dockerFileDir>${project.basedir}/sdc-api-tests</dockerFileDir>
602 <tag>${docker.tag}</tag>
604 ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
613 <id>clean-images</id>
614 <phase>pre-clean</phase>
619 <removeAll>true</removeAll>
620 <image>onap/sdc-api-tests</image>
625 <id>generate-images</id>
626 <phase>install</phase>
634 <phase>deploy</phase>
639 <image>onap/sdc-api-tests</image>