blob: 96488985183ed66d4d74d1c095ad45f15f003a9f [file] [log] [blame]
ATT default cloud usera05efb72017-08-31 21:01:21 +00001<?xml version="1.0"?>
dglFromAtt9308e9c2018-05-09 21:26:07 -04002<!--
3 ============LICENSE_START==========================================
4 org.onap.dmaap
5 ===================================================================
6 Copyright © 2018 AT&T Intellectual Property. All rights reserved.
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
Gary Wub4a6f792018-08-24 15:22:30 -070011
dglFromAtt9308e9c2018-05-09 21:26:07 -040012 http://www.apache.org/licenses/LICENSE-2.0
Gary Wub4a6f792018-08-24 15:22:30 -070013
dglFromAtt9308e9c2018-05-09 21:26:07 -040014 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 ECOMP is a trademark and service mark of AT&T Intellectual Property.
21-->
Gary Wub4a6f792018-08-24 15:22:30 -070022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050023 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.dmaap.dbcapi</groupId>
25 <artifactId>dbcapi</artifactId>
26 <version>${artifact.version}</version>
27 <name>dmaap-dbcapi</name>
28 <parent>
29 <groupId>org.onap.oparent</groupId>
30 <artifactId>oparent</artifactId>
dglFromAttb8b57882019-06-27 19:49:28 +000031 <version>2.0.0</version>
Gary Wub4a6f792018-08-24 15:22:30 -070032 <relativePath/>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050033 </parent>
34 <build>
35 <finalName>dbcapi</finalName>
36 <resources>
37 <resource>
38 <directory>src/main/java/org/onap/dmaap/dbcapi/logging</directory>
39 </resource>
40 <resource>
41 <directory>src/main/resources</directory>
42 </resource>
43 </resources>
44 <plugins>
45 <!-- reference: https://tech.homeaway.com/development/2016/06/02/generating-swagger-spec.html -->
46 <plugin>
47 <groupId>com.github.kongchen</groupId>
48 <artifactId>swagger-maven-plugin</artifactId>
49 <version>3.1.5</version>
50 <configuration>
51 <apiSources>
52 <apiSource>
53 <springmvc>false</springmvc>
54 <locations>
55 <location>org.onap.dmaap.dbcapi.resources</location>
56 </locations>
57 <schemes>
58 <scheme>http</scheme>
59 <scheme>https</scheme>
60 </schemes>
61 <host>www.[host]:[port]</host>
62 <basePath>/webapi</basePath>
63 <info>
64 <title>DMaaP Bus Controller REST API</title>
65 <version>1.1.0</version>
66 <description>
67 provides an API for OpenDCAE components which need to provision
68 underlying DMaaP technologies (Data Router and Message Router).
69 Primary clients for this API are anticipated to be the OpenDCAE
70 Controller, OpenDCAE Orchestrator, OpenDCAE Inventory and the
71 ECOMP Portal.
ATT default cloud usera05efb72017-08-31 21:01:21 +000072
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050073 Objects managed by DMaaP are deployed in a dcaeLocation which is a
74 unique identifier for an OpenStack tenant for a dcaeLayer,
75 opendcae-central (aka ecomp) or opendcae-local-ntc (aka edge).
ATT default cloud usera05efb72017-08-31 21:01:21 +000076
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050077 A dcaeEnvironment (e.g. FTL or prod) has a single DMaaP. A
78 DMaaP is managed by a one or more stateless DMaaP Bus
79 Controller(s), though Bus Controller relies on PGaaS for
80 persistence. Each DMaaP has a single instance of Data Router,
81 which has 1 or more DR_Nodes deployed at each dcaeLocation. DR
82 Clients of type DR_Pub generally publish to a DR_Node that is
83 local to its dcaeLocation. Routing for a Feed is determined by
84 the dcaelocation of its DR_Sub clients.
ATT default cloud usera05efb72017-08-31 21:01:21 +000085
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050086 A DMaaP may have many Message Router instances. Each instance is
87 deployed as an MR_Cluster. One MR_Cluster is deployed at each
88 dcaeLocation. MR_Clients generally communicate to the
89 MR_Cluster at the same dcaeLocation. Replication of messages
90 between MR_Clusters is accomplished by MR Bridge, which is
91 provioned by DMaaP Bus Controller based on Topic attributes.
ATT default cloud usera05efb72017-08-31 21:01:21 +000092
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050093 Therefore, the role of DMaaP Bus Controller is to support other
94 DCAE infrastructure components to dynamically provision DMaaP
95 services on behalf of DMaaP clients, and to assist in any
96 management or discovery activity of its clients.
ATT default cloud usera05efb72017-08-31 21:01:21 +000097
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050098 A convention of this API is to return JSON responses per
99 OpenStack style.
100 </description>
101 <termsOfService>
102 http://www.apache.org/licenses/LICENSE-2.0
103 </termsOfService>
104 <contact>
105 <url>http://www.onap.org</url>
106 </contact>
107 <license>
108 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
109 <name>Licensed under the Apache License, Version 2.0</name>
110 </license>
111 </info>
112 <swaggerDirectory>target/generated-sources/</swaggerDirectory>
113 </apiSource>
114 </apiSources>
115 </configuration>
116 <executions>
117 <execution>
118 <phase>compile</phase>
119 <goals>
120 <goal>generate</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
125
dglFromAttdb082652018-03-13 18:19:42 -0400126 <!-- for Staging -->
dglFromAttdb082652018-03-13 18:19:42 -0400127
128
dglFromAttd174e932018-03-03 23:53:39 -0500129 <!-- for Distribution Managment -->
130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-site-plugin</artifactId>
133 <version>3.6</version>
134 <dependencies>
135 <dependency>
136 <groupId>org.apache.maven.wagon</groupId>
137 <artifactId>wagon-webdav-jackrabbit</artifactId>
138 <version>2.10</version>
139 </dependency>
140 </dependencies>
141 </plugin>
142
dglFromAttcea5c302018-09-11 21:29:50 -0400143 <!-- prevent SNAPSHOT dependencies -->
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-enforcer-plugin</artifactId>
147 <executions>
148 <execution>
149 <id>enforce-no-snapshots</id>
150 <goals>
151 <goal>enforce</goal>
152 </goals>
153 <configuration>
154 <rules>
155 <requireReleaseDeps>
156 <message>No Snapshots Allowed!</message>
157 <excludes>
158 <exclude>org.onap.aaf.authz:aaf-cadi-client</exclude>
159 <exclude>org.onap.aaf.authz:aaf-misc-env</exclude>
160 <exclude>org.onap.aaf.authz:aaf-cadi-aaf</exclude>
161 <exclude>org.onap.aaf.authz:aaf-auth-client</exclude>
162 <exclude>org.onap.aaf.authz:aaf-cadi-core</exclude>
163 <exclude>org.onap.aaf.authz:aaf-misc-rosetta</exclude>
164 </excludes>
165 </requireReleaseDeps>
166 </rules>
167 <fail>true</fail>
168 </configuration>
169 </execution>
170 </executions>
171 </plugin>
172
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500173 </plugins>
174 <pluginManagement>
175 <plugins>
176 <!--This plugin's configuration is used to store Eclipse m2e settings
177 only. It has no influence on the Maven build itself. -->
178 <plugin>
179 <groupId>org.eclipse.m2e</groupId>
180 <artifactId>lifecycle-mapping</artifactId>
181 <version>1.0.0</version>
182 <configuration>
183 <lifecycleMappingMetadata>
184 <pluginExecutions>
185 <pluginExecution>
186 <pluginExecutionFilter>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-dependency-plugin</artifactId>
189 <versionRange>[2.10,)</versionRange>
190 <goals>
191 <goal>copy-dependencies</goal>
192 </goals>
193 </pluginExecutionFilter>
194 <action>
Gary Wub4a6f792018-08-24 15:22:30 -0700195 <ignore/>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500196 </action>
197 </pluginExecution>
198 </pluginExecutions>
199 </lifecycleMappingMetadata>
200 </configuration>
201 </plugin>
202 </plugins>
203 </pluginManagement>
204 </build>
205 <dependencyManagement>
206 <dependencies>
207 <dependency>
208 <groupId>org.glassfish.jersey</groupId>
209 <artifactId>jersey-bom</artifactId>
210 <version>${jersey.version}</version>
211 <type>pom</type>
212 <scope>import</scope>
213 </dependency>
214 </dependencies>
215 </dependencyManagement>
216 <dependencies>
dglFromAtt4a0a3c62018-08-22 15:20:07 -0400217 <dependency>
218 <groupId>org.onap.aaf.authz</groupId>
219 <artifactId>aaf-cadi-aaf</artifactId>
dglFromAtt78336312018-11-28 16:17:33 -0500220 <version>2.1.7</version>
dglFromAtt4a0a3c62018-08-22 15:20:07 -0400221 <classifier>full</classifier>
222 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500223 <dependency>
224 <groupId>com.fasterxml.jackson.core</groupId>
225 <artifactId>jackson-annotations</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500226 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500227 </dependency>
228 <dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500229 <groupId>com.fasterxml.jackson.dataformat</groupId>
230 <artifactId>jackson-dataformat-yaml</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500231 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500232 </dependency>
233 <dependency>
234 <groupId>ch.qos.logback</groupId>
235 <artifactId>logback-core</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400236 <version>1.2.3</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500237 </dependency>
238 <dependency>
239 <groupId>ch.qos.logback</groupId>
240 <artifactId>logback-classic</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400241 <version>1.2.3</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500242 </dependency>
dglFromAtt32522022018-08-24 21:53:16 -0400243<!-- DMAAP-656:
dglFromAtte54c6de2018-08-25 03:32:40 -0400244 - override this dependency because it utilized a third party
245 - lib called com.google.guava:20.0 which had severe security threat identified.
246 -->
247 <dependency>
248 <groupId>com.google.guava</groupId>
249 <artifactId>guava</artifactId>
250 <version>24.1.1-jre</version>
251 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500252 <dependency>
253 <groupId>io.swagger</groupId>
254 <artifactId>swagger-core</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400255 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500256 </dependency>
257 <dependency>
258 <groupId>io.swagger</groupId>
259 <artifactId>swagger-jersey2-jaxrs</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400260 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500261 </dependency>
262 <dependency>
263 <groupId>io.swagger</groupId>
264 <artifactId>swagger-annotations</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400265 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500266 </dependency>
267 <dependency>
268 <groupId>org.glassfish.jersey.containers</groupId>
269 <artifactId>jersey-container-servlet-core</artifactId>
270 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
271 <!-- artifactId>jersey-container-servlet</artifactId -->
272 </dependency>
273 <dependency>
274 <groupId>org.glassfish.jersey.media</groupId>
275 <artifactId>jersey-media-moxy</artifactId>
276 </dependency>
277 <dependency>
278 <groupId>log4j</groupId>
279 <artifactId>log4j</artifactId>
280 <version>1.2.17</version>
281 </dependency>
282 <dependency>
283 <groupId>org.eclipse.jetty</groupId>
284 <artifactId>jetty-server</artifactId>
285 <version>${jettyVersion}</version>
286 </dependency>
287 <dependency>
288 <groupId>org.eclipse.jetty</groupId>
289 <artifactId>jetty-servlet</artifactId>
290 <version>${jettyVersion}</version>
291 <scope>compile</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.eclipse.jetty</groupId>
295 <artifactId>jetty-servlets</artifactId>
296 <version>${jettyVersion}</version>
297 <scope>compile</scope>
298 </dependency>
299 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
300 <dependency>
301 <groupId>com.googlecode.json-simple</groupId>
302 <artifactId>json-simple</artifactId>
303 <version>1.1.1</version>
304 </dependency>
305 <dependency>
306 <groupId>commons-codec</groupId>
307 <artifactId>commons-codec</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400308 <version>1.11</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500309 </dependency>
310 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
311 <dependency>
312 <groupId>org.postgresql</groupId>
313 <artifactId>postgresql</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400314 <version>42.2.5</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500315 </dependency>
316 <dependency>
317 <groupId>com.att.eelf</groupId>
318 <artifactId>eelf-core</artifactId>
319 <version>${eelf.version}</version>
320 </dependency>
321 <dependency>
322 <groupId>org.slf4j</groupId>
323 <artifactId>slf4j-api</artifactId>
324 <version>1.7.22</version>
325 </dependency>
dglFromAtt503da872018-02-28 08:00:19 -0500326 <dependency>
327 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
328 <!-- use this if compatibility issues with jetty artifactId:
329 <artifactId>jersey-test-framework-provider-jetty</artifactId>
330 <version>${jersey.version}</version>
331 -->
332 <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
333 <version>2.22.1</version>
334 </dependency>
335 <dependency>
336 <groupId>org.glassfish.jersey.inject</groupId>
337 <artifactId>jersey-hk2</artifactId>
338 </dependency>
pkaras45ccf582019-05-30 11:11:54 +0200339 <dependency>
340 <groupId>junit</groupId>
341 <artifactId>junit</artifactId>
342 <version>${junit.version}</version>
343 <scope>test</scope>
344 </dependency>
Pawel3e4946f2019-03-27 02:31:46 -0400345 <dependency>
346 <groupId>pl.pragmatists</groupId>
347 <artifactId>JUnitParams</artifactId>
348 <version>1.1.0</version>
349 <scope>test</scope>
350 </dependency>
351 </dependencies>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500352 <reporting>
353 <plugins>
354 <plugin>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-javadoc-plugin</artifactId>
357 <version>2.10.4</version>
358 <configuration>
359 <failOnError>false</failOnError>
360 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
361 <docletArtifact>
362 <groupId>org.umlgraph</groupId>
363 <artifactId>umlgraph</artifactId>
364 <version>5.6</version>
365 </docletArtifact>
366 <additionalparam>-views</additionalparam>
367 <useStandardDocletOptions>true</useStandardDocletOptions>
368 </configuration>
369 </plugin>
370 </plugins>
371 </reporting>
dglFromAttd174e932018-03-03 23:53:39 -0500372 <distributionManagement>
373 <site>
374 <id>ecomp-site</id>
375 <url>dav:${nexusproxy}${sitePath}</url>
376 </site>
377 </distributionManagement>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500378 <properties>
dglFromAtt32522022018-08-24 21:53:16 -0400379 <swagger.version>1.5.19</swagger.version>
380 <jackson.version>2.9.5</jackson.version>
dglFromAtt503da872018-02-28 08:00:19 -0500381 <jersey.version>2.26</jersey.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500382 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
dglFromAttca5d23b2019-01-18 18:29:18 -0500383 <jettyVersion>9.4.12.RC2</jettyVersion>
dglFromAttc9016e72018-10-23 17:56:32 -0400384 <eelf.version>1.0.0</eelf.version>
dglFromAttb8b57882019-06-27 19:49:28 +0000385 <artifact.version>1.0.30-SNAPSHOT</artifact.version>
pkaras45ccf582019-05-30 11:11:54 +0200386 <junit.version>4.12</junit.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500387 <!-- SONAR -->
388 <jacoco.version>0.7.7.201606060606</jacoco.version>
389 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
390 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
391 <!-- Default Sonar configuration -->
392 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
393 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
394 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
395 below -->
396 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
dglFromAttd174e932018-03-03 23:53:39 -0500397
398 <!-- for Distribution Management -->
399 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
dglFromAttd5d37c02018-03-11 23:02:41 -0400400 <nexusproxy>https://nexus.onap.org</nexusproxy>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500401 </properties>
402 <description>Data Movement as a Platform (DMaaP) Bus Controller provides a REST API for other DCAE infrastructure components to provision DMaaP resources. A DMaaP resource is a Data Router Feed or a Message Router Topic, and their associated publishers and subscribers.</description>
ATT default cloud usera05efb72017-08-31 21:01:21 +0000403</project>