1 <?xml version="1.0" encoding="UTF-8"?>
4 ============LICENSE_START=======================================================
6 ================================================================================
7 Copyright © 2018-2019 Nokia Intellectual Property. All rights reserved.
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
23 <project xmlns="http://maven.apache.org/POM/4.0.0"
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">
26 <modelVersion>4.0.0</modelVersion>
28 <groupId>org.onap.aai.aai-common</groupId>
29 <artifactId>local-setup</artifactId>
30 <version>1.4.1-SNAPSHOT</version>
34 <id>integration-test</id>
36 <skipITs>false</skipITs>
41 <!-- activate profile if environment variable `http_proxy` is set -->
44 <name>env.http_proxy</name>
48 <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>
54 <maven.compiler.target>1.8</maven.compiler.target>
55 <maven.compiler.source>1.8</maven.compiler.source>
56 <skipITs>true</skipITs>
58 <!-- docker related -->
59 <docker.name.janusgraph>onap/aai-janus-dev</docker.name.janusgraph>
60 <docker.name.haproxy>onap/aai-haproxy-dev</docker.name.haproxy>
61 <docker.dir.janusgraph>${project.basedir}/src/main/docker/janusgraph</docker.dir.janusgraph>
62 <docker.dir.haproxy>${project.basedir}/src/main/docker/haproxy</docker.dir.haproxy>
63 <docker.test.port>8443</docker.test.port>
65 <!-- dependencies versions -->
66 <assertj-core.version>3.11.1</assertj-core.version>
67 <commons-csv.version>1.6</commons-csv.version>
68 <docker-maven-plugin.version>0.28.0</docker-maven-plugin.version>
69 <http-request.version>6.0</http-request.version>
70 <jackson-databind.version>2.9.8</jackson-databind.version>
71 <jsonassert.version>1.5.0</jsonassert.version>
72 <json-path.version>2.4.0</json-path.version>
73 <junit.version>4.12</junit.version>
77 <!-- compile dependencies -->
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-csv</artifactId>
81 <version>${commons-csv.version}</version>
84 <groupId>com.github.kevinsawicki</groupId>
85 <artifactId>http-request</artifactId>
86 <version>${http-request.version}</version>
91 <groupId>com.fasterxml.jackson.core</groupId>
92 <artifactId>jackson-databind</artifactId>
93 <version>${jackson-databind.version}</version>
97 <groupId>com.jayway.jsonpath</groupId>
98 <artifactId>json-path</artifactId>
99 <version>${json-path.version}</version>
103 <groupId>org.skyscreamer</groupId>
104 <artifactId>jsonassert</artifactId>
105 <version>${jsonassert.version}</version>
109 <!-- test dependencies -->
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <version>${junit.version}</version>
117 <groupId>org.assertj</groupId>
118 <artifactId>assertj-core</artifactId>
119 <version>${assertj-core.version}</version>
127 <groupId>io.fabric8</groupId>
128 <artifactId>docker-maven-plugin</artifactId>
129 <version>${docker-maven-plugin.version}</version>
131 <skipRun>${skipITs}</skipRun>
132 <verbose>true</verbose>
135 <alias>aai-storage</alias>
136 <name>${docker.name.janusgraph}</name>
138 <dockerFileDir>${docker.dir.janusgraph}</dockerFileDir>
141 <skip>true</skip><!-- avoid multiple instances -->
145 <alias>aai-haproxy</alias>
146 <name>${docker.name.haproxy}</name>
148 <dockerFileDir>${docker.dir.haproxy}</dockerFileDir>
154 <host>localhost</host>
156 <!-- wait for janusgraph-server ports -->
172 <phase>package</phase>
179 <phase>pre-integration-test</phase>
186 <phase>post-integration-test</phase>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-failsafe-plugin</artifactId>
196 <version>3.0.0-M3</version>
200 <goal>integration-test</goal>