blob: 62ca18a093614a8cd32a054f54e960c72a52a6f7 [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
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 ECOMP is a trademark and service mark of AT&T Intellectual Property.
21-->
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.dmaap.dbcapi</groupId>
26 <artifactId>dbcapi</artifactId>
27 <version>${artifact.version}</version>
28 <name>dmaap-dbcapi</name>
29 <parent>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
Gildas Lanilis89e6d8f2018-03-15 17:35:40 -070032 <version>1.1.0</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050033 <relativePath />
34 </parent>
35 <build>
36 <finalName>dbcapi</finalName>
37 <resources>
38 <resource>
39 <directory>src/main/java/org/onap/dmaap/dbcapi/logging</directory>
40 </resource>
41 <resource>
42 <directory>src/main/resources</directory>
43 </resource>
44 </resources>
45 <plugins>
46 <!-- reference: https://tech.homeaway.com/development/2016/06/02/generating-swagger-spec.html -->
47 <plugin>
48 <groupId>com.github.kongchen</groupId>
49 <artifactId>swagger-maven-plugin</artifactId>
50 <version>3.1.5</version>
51 <configuration>
52 <apiSources>
53 <apiSource>
54 <springmvc>false</springmvc>
55 <locations>
56 <location>org.onap.dmaap.dbcapi.resources</location>
57 </locations>
58 <schemes>
59 <scheme>http</scheme>
60 <scheme>https</scheme>
61 </schemes>
62 <host>www.[host]:[port]</host>
63 <basePath>/webapi</basePath>
64 <info>
65 <title>DMaaP Bus Controller REST API</title>
66 <version>1.1.0</version>
67 <description>
68 provides an API for OpenDCAE components which need to provision
69 underlying DMaaP technologies (Data Router and Message Router).
70 Primary clients for this API are anticipated to be the OpenDCAE
71 Controller, OpenDCAE Orchestrator, OpenDCAE Inventory and the
72 ECOMP Portal.
ATT default cloud usera05efb72017-08-31 21:01:21 +000073
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050074 Objects managed by DMaaP are deployed in a dcaeLocation which is a
75 unique identifier for an OpenStack tenant for a dcaeLayer,
76 opendcae-central (aka ecomp) or opendcae-local-ntc (aka edge).
ATT default cloud usera05efb72017-08-31 21:01:21 +000077
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050078 A dcaeEnvironment (e.g. FTL or prod) has a single DMaaP. A
79 DMaaP is managed by a one or more stateless DMaaP Bus
80 Controller(s), though Bus Controller relies on PGaaS for
81 persistence. Each DMaaP has a single instance of Data Router,
82 which has 1 or more DR_Nodes deployed at each dcaeLocation. DR
83 Clients of type DR_Pub generally publish to a DR_Node that is
84 local to its dcaeLocation. Routing for a Feed is determined by
85 the dcaelocation of its DR_Sub clients.
ATT default cloud usera05efb72017-08-31 21:01:21 +000086
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050087 A DMaaP may have many Message Router instances. Each instance is
88 deployed as an MR_Cluster. One MR_Cluster is deployed at each
89 dcaeLocation. MR_Clients generally communicate to the
90 MR_Cluster at the same dcaeLocation. Replication of messages
91 between MR_Clusters is accomplished by MR Bridge, which is
92 provioned by DMaaP Bus Controller based on Topic attributes.
ATT default cloud usera05efb72017-08-31 21:01:21 +000093
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050094 Therefore, the role of DMaaP Bus Controller is to support other
95 DCAE infrastructure components to dynamically provision DMaaP
96 services on behalf of DMaaP clients, and to assist in any
97 management or discovery activity of its clients.
ATT default cloud usera05efb72017-08-31 21:01:21 +000098
Sunil Unnava0afd0dd2018-02-27 03:39:09 -050099 A convention of this API is to return JSON responses per
100 OpenStack style.
101 </description>
102 <termsOfService>
103 http://www.apache.org/licenses/LICENSE-2.0
104 </termsOfService>
105 <contact>
106 <url>http://www.onap.org</url>
107 </contact>
108 <license>
109 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
110 <name>Licensed under the Apache License, Version 2.0</name>
111 </license>
112 </info>
113 <swaggerDirectory>target/generated-sources/</swaggerDirectory>
114 </apiSource>
115 </apiSources>
116 </configuration>
117 <executions>
118 <execution>
119 <phase>compile</phase>
120 <goals>
121 <goal>generate</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
126
dglFromAttdb082652018-03-13 18:19:42 -0400127 <!-- for Staging -->
128 <plugin>
129 <groupId>org.sonatype.plugins</groupId>
130 <artifactId>nexus-staging-maven-plugin</artifactId>
131 <version>1.6.7</version>
132 <extensions>true</extensions>
133 <configuration>
134 <serverId>ecomp-staging</serverId>
135 <nexusUrl>${nexusproxy}</nexusUrl>
136 <stagingProfileId>176c31dfe190a</stagingProfileId>
137 </configuration>
138 </plugin>
139
140
dglFromAttd174e932018-03-03 23:53:39 -0500141 <!-- for Distribution Managment -->
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-site-plugin</artifactId>
145 <version>3.6</version>
146 <dependencies>
147 <dependency>
148 <groupId>org.apache.maven.wagon</groupId>
149 <artifactId>wagon-webdav-jackrabbit</artifactId>
150 <version>2.10</version>
151 </dependency>
152 </dependencies>
153 </plugin>
154
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500155 </plugins>
156 <pluginManagement>
157 <plugins>
158 <!--This plugin's configuration is used to store Eclipse m2e settings
159 only. It has no influence on the Maven build itself. -->
160 <plugin>
161 <groupId>org.eclipse.m2e</groupId>
162 <artifactId>lifecycle-mapping</artifactId>
163 <version>1.0.0</version>
164 <configuration>
165 <lifecycleMappingMetadata>
166 <pluginExecutions>
167 <pluginExecution>
168 <pluginExecutionFilter>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-dependency-plugin</artifactId>
171 <versionRange>[2.10,)</versionRange>
172 <goals>
173 <goal>copy-dependencies</goal>
174 </goals>
175 </pluginExecutionFilter>
176 <action>
177 <ignore />
178 </action>
179 </pluginExecution>
180 </pluginExecutions>
181 </lifecycleMappingMetadata>
182 </configuration>
183 </plugin>
184 </plugins>
185 </pluginManagement>
186 </build>
187 <dependencyManagement>
188 <dependencies>
189 <dependency>
190 <groupId>org.glassfish.jersey</groupId>
191 <artifactId>jersey-bom</artifactId>
192 <version>${jersey.version}</version>
193 <type>pom</type>
194 <scope>import</scope>
195 </dependency>
196 </dependencies>
197 </dependencyManagement>
198 <dependencies>
dglFromAtt4a0a3c62018-08-22 15:20:07 -0400199 <dependency>
200 <groupId>org.onap.aaf.authz</groupId>
201 <artifactId>aaf-cadi-aaf</artifactId>
202 <version>2.1.2-SNAPSHOT</version>
203 <classifier>full</classifier>
204 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500205 <dependency>
206 <groupId>com.fasterxml.jackson.core</groupId>
207 <artifactId>jackson-annotations</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500208 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500209 </dependency>
210 <dependency>
211 <groupId>com.fasterxml.jackson.core</groupId>
212 <artifactId>jackson-databind</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500213<!-- for DMAAP-205, a point release on the common version
214 addresses a security issue. Note the add notation here
dglFromAttbc9afa12018-03-04 02:45:07 -0500215 <version>${jackson.version}.1</version>
dglFromAtt32522022018-08-24 21:53:16 -0400216 -->
217 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500218 </dependency>
219 <dependency>
220 <groupId>com.fasterxml.jackson.dataformat</groupId>
221 <artifactId>jackson-dataformat-yaml</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500222 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500223 </dependency>
224 <dependency>
225 <groupId>ch.qos.logback</groupId>
226 <artifactId>logback-core</artifactId>
227 <version>1.2.0</version>
228 </dependency>
229 <dependency>
230 <groupId>ch.qos.logback</groupId>
231 <artifactId>logback-classic</artifactId>
232 <version>1.2.0</version>
233 </dependency>
dglFromAtt32522022018-08-24 21:53:16 -0400234<!-- DMAAP-656:
dglFromAtte54c6de2018-08-25 03:32:40 -0400235 - override this dependency because it utilized a third party
236 - lib called com.google.guava:20.0 which had severe security threat identified.
237 -->
238 <dependency>
239 <groupId>com.google.guava</groupId>
240 <artifactId>guava</artifactId>
241 <version>24.1.1-jre</version>
242 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500243 <dependency>
244 <groupId>io.swagger</groupId>
245 <artifactId>swagger-core</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400246 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500247 </dependency>
248 <dependency>
249 <groupId>io.swagger</groupId>
250 <artifactId>swagger-jersey2-jaxrs</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400251 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500252 </dependency>
253 <dependency>
254 <groupId>io.swagger</groupId>
255 <artifactId>swagger-annotations</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400256 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500257 </dependency>
258 <dependency>
259 <groupId>org.glassfish.jersey.containers</groupId>
260 <artifactId>jersey-container-servlet-core</artifactId>
261 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
262 <!-- artifactId>jersey-container-servlet</artifactId -->
263 </dependency>
264 <dependency>
265 <groupId>org.glassfish.jersey.media</groupId>
266 <artifactId>jersey-media-moxy</artifactId>
267 </dependency>
268 <dependency>
269 <groupId>log4j</groupId>
270 <artifactId>log4j</artifactId>
271 <version>1.2.17</version>
272 </dependency>
273 <dependency>
274 <groupId>org.eclipse.jetty</groupId>
275 <artifactId>jetty-server</artifactId>
276 <version>${jettyVersion}</version>
277 </dependency>
278 <dependency>
279 <groupId>org.eclipse.jetty</groupId>
280 <artifactId>jetty-servlet</artifactId>
281 <version>${jettyVersion}</version>
282 <scope>compile</scope>
283 </dependency>
284 <dependency>
285 <groupId>org.eclipse.jetty</groupId>
286 <artifactId>jetty-servlets</artifactId>
287 <version>${jettyVersion}</version>
288 <scope>compile</scope>
289 </dependency>
290 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
291 <dependency>
292 <groupId>com.googlecode.json-simple</groupId>
293 <artifactId>json-simple</artifactId>
294 <version>1.1.1</version>
295 </dependency>
296 <dependency>
297 <groupId>commons-codec</groupId>
298 <artifactId>commons-codec</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400299 <version>1.11</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500300 </dependency>
301 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
302 <dependency>
303 <groupId>org.postgresql</groupId>
304 <artifactId>postgresql</artifactId>
305 <version>9.4.1208.jre7</version>
306 </dependency>
307 <dependency>
308 <groupId>com.att.eelf</groupId>
309 <artifactId>eelf-core</artifactId>
310 <version>${eelf.version}</version>
311 </dependency>
312 <dependency>
313 <groupId>org.slf4j</groupId>
314 <artifactId>slf4j-api</artifactId>
315 <version>1.7.22</version>
316 </dependency>
dglFromAtt503da872018-02-28 08:00:19 -0500317 <dependency>
318 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
319 <!-- use this if compatibility issues with jetty artifactId:
320 <artifactId>jersey-test-framework-provider-jetty</artifactId>
321 <version>${jersey.version}</version>
322 -->
323 <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
324 <version>2.22.1</version>
325 </dependency>
326 <dependency>
327 <groupId>org.glassfish.jersey.inject</groupId>
328 <artifactId>jersey-hk2</artifactId>
329 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500330 </dependencies>
331 <reporting>
332 <plugins>
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-javadoc-plugin</artifactId>
336 <version>2.10.4</version>
337 <configuration>
338 <failOnError>false</failOnError>
339 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
340 <docletArtifact>
341 <groupId>org.umlgraph</groupId>
342 <artifactId>umlgraph</artifactId>
343 <version>5.6</version>
344 </docletArtifact>
345 <additionalparam>-views</additionalparam>
346 <useStandardDocletOptions>true</useStandardDocletOptions>
347 </configuration>
348 </plugin>
349 </plugins>
350 </reporting>
dglFromAttd174e932018-03-03 23:53:39 -0500351 <distributionManagement>
352 <site>
353 <id>ecomp-site</id>
354 <url>dav:${nexusproxy}${sitePath}</url>
355 </site>
356 </distributionManagement>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500357 <properties>
dglFromAtt32522022018-08-24 21:53:16 -0400358 <swagger.version>1.5.19</swagger.version>
359 <jackson.version>2.9.5</jackson.version>
dglFromAtt503da872018-02-28 08:00:19 -0500360 <jersey.version>2.26</jersey.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500361 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
dglFromAtt0f2eac22018-08-24 23:12:51 -0400362 <jettyVersion>9.4.12.RC0</jettyVersion>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500363 <eelf.version>0.0.1</eelf.version>
dglFromAtt32522022018-08-24 21:53:16 -0400364 <artifact.version>1.0.15-SNAPSHOT</artifact.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500365 <!-- SONAR -->
366 <jacoco.version>0.7.7.201606060606</jacoco.version>
367 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
368 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
369 <!-- Default Sonar configuration -->
370 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
371 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
372 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
373 below -->
374 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
dglFromAttd174e932018-03-03 23:53:39 -0500375
376 <!-- for Distribution Management -->
377 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
dglFromAttd5d37c02018-03-11 23:02:41 -0400378 <nexusproxy>https://nexus.onap.org</nexusproxy>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500379 </properties>
380 <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 +0000381</project>