blob: f78118d750999868d804775a05eaa51053d7e8b0 [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>
dglFromAtt9bd45d62019-01-18 20:21:37 -050031 <version>1.2.2</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 -->
127 <plugin>
128 <groupId>org.sonatype.plugins</groupId>
129 <artifactId>nexus-staging-maven-plugin</artifactId>
130 <version>1.6.7</version>
131 <extensions>true</extensions>
132 <configuration>
133 <serverId>ecomp-staging</serverId>
134 <nexusUrl>${nexusproxy}</nexusUrl>
135 <stagingProfileId>176c31dfe190a</stagingProfileId>
136 </configuration>
137 </plugin>
138
139
dglFromAttd174e932018-03-03 23:53:39 -0500140 <!-- for Distribution Managment -->
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-site-plugin</artifactId>
144 <version>3.6</version>
145 <dependencies>
146 <dependency>
147 <groupId>org.apache.maven.wagon</groupId>
148 <artifactId>wagon-webdav-jackrabbit</artifactId>
149 <version>2.10</version>
150 </dependency>
151 </dependencies>
152 </plugin>
153
dglFromAttcea5c302018-09-11 21:29:50 -0400154 <!-- prevent SNAPSHOT dependencies -->
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-enforcer-plugin</artifactId>
158 <executions>
159 <execution>
160 <id>enforce-no-snapshots</id>
161 <goals>
162 <goal>enforce</goal>
163 </goals>
164 <configuration>
165 <rules>
166 <requireReleaseDeps>
167 <message>No Snapshots Allowed!</message>
168 <excludes>
169 <exclude>org.onap.aaf.authz:aaf-cadi-client</exclude>
170 <exclude>org.onap.aaf.authz:aaf-misc-env</exclude>
171 <exclude>org.onap.aaf.authz:aaf-cadi-aaf</exclude>
172 <exclude>org.onap.aaf.authz:aaf-auth-client</exclude>
173 <exclude>org.onap.aaf.authz:aaf-cadi-core</exclude>
174 <exclude>org.onap.aaf.authz:aaf-misc-rosetta</exclude>
175 </excludes>
176 </requireReleaseDeps>
177 </rules>
178 <fail>true</fail>
179 </configuration>
180 </execution>
181 </executions>
182 </plugin>
183
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500184 </plugins>
185 <pluginManagement>
186 <plugins>
187 <!--This plugin's configuration is used to store Eclipse m2e settings
188 only. It has no influence on the Maven build itself. -->
189 <plugin>
190 <groupId>org.eclipse.m2e</groupId>
191 <artifactId>lifecycle-mapping</artifactId>
192 <version>1.0.0</version>
193 <configuration>
194 <lifecycleMappingMetadata>
195 <pluginExecutions>
196 <pluginExecution>
197 <pluginExecutionFilter>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-dependency-plugin</artifactId>
200 <versionRange>[2.10,)</versionRange>
201 <goals>
202 <goal>copy-dependencies</goal>
203 </goals>
204 </pluginExecutionFilter>
205 <action>
Gary Wub4a6f792018-08-24 15:22:30 -0700206 <ignore/>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500207 </action>
208 </pluginExecution>
209 </pluginExecutions>
210 </lifecycleMappingMetadata>
211 </configuration>
212 </plugin>
213 </plugins>
214 </pluginManagement>
215 </build>
216 <dependencyManagement>
217 <dependencies>
218 <dependency>
219 <groupId>org.glassfish.jersey</groupId>
220 <artifactId>jersey-bom</artifactId>
221 <version>${jersey.version}</version>
222 <type>pom</type>
223 <scope>import</scope>
224 </dependency>
225 </dependencies>
226 </dependencyManagement>
227 <dependencies>
dglFromAtt4a0a3c62018-08-22 15:20:07 -0400228 <dependency>
229 <groupId>org.onap.aaf.authz</groupId>
230 <artifactId>aaf-cadi-aaf</artifactId>
dglFromAtt78336312018-11-28 16:17:33 -0500231 <version>2.1.7</version>
dglFromAtt4a0a3c62018-08-22 15:20:07 -0400232 <classifier>full</classifier>
233 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500234 <dependency>
235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-annotations</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500237 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500238 </dependency>
239 <dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500240 <groupId>com.fasterxml.jackson.dataformat</groupId>
241 <artifactId>jackson-dataformat-yaml</artifactId>
dglFromAttbc9afa12018-03-04 02:45:07 -0500242 <version>${jackson.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500243 </dependency>
244 <dependency>
245 <groupId>ch.qos.logback</groupId>
246 <artifactId>logback-core</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400247 <version>1.2.3</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500248 </dependency>
249 <dependency>
250 <groupId>ch.qos.logback</groupId>
251 <artifactId>logback-classic</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400252 <version>1.2.3</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500253 </dependency>
dglFromAtt32522022018-08-24 21:53:16 -0400254<!-- DMAAP-656:
dglFromAtte54c6de2018-08-25 03:32:40 -0400255 - override this dependency because it utilized a third party
256 - lib called com.google.guava:20.0 which had severe security threat identified.
257 -->
258 <dependency>
259 <groupId>com.google.guava</groupId>
260 <artifactId>guava</artifactId>
261 <version>24.1.1-jre</version>
262 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500263 <dependency>
264 <groupId>io.swagger</groupId>
265 <artifactId>swagger-core</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400266 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500267 </dependency>
268 <dependency>
269 <groupId>io.swagger</groupId>
270 <artifactId>swagger-jersey2-jaxrs</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400271 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500272 </dependency>
273 <dependency>
274 <groupId>io.swagger</groupId>
275 <artifactId>swagger-annotations</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400276 <version>${swagger.version}</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500277 </dependency>
278 <dependency>
279 <groupId>org.glassfish.jersey.containers</groupId>
280 <artifactId>jersey-container-servlet-core</artifactId>
281 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
282 <!-- artifactId>jersey-container-servlet</artifactId -->
283 </dependency>
284 <dependency>
285 <groupId>org.glassfish.jersey.media</groupId>
286 <artifactId>jersey-media-moxy</artifactId>
287 </dependency>
288 <dependency>
289 <groupId>log4j</groupId>
290 <artifactId>log4j</artifactId>
291 <version>1.2.17</version>
292 </dependency>
293 <dependency>
294 <groupId>org.eclipse.jetty</groupId>
295 <artifactId>jetty-server</artifactId>
296 <version>${jettyVersion}</version>
297 </dependency>
298 <dependency>
299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-servlet</artifactId>
301 <version>${jettyVersion}</version>
302 <scope>compile</scope>
303 </dependency>
304 <dependency>
305 <groupId>org.eclipse.jetty</groupId>
306 <artifactId>jetty-servlets</artifactId>
307 <version>${jettyVersion}</version>
308 <scope>compile</scope>
309 </dependency>
310 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
311 <dependency>
312 <groupId>com.googlecode.json-simple</groupId>
313 <artifactId>json-simple</artifactId>
314 <version>1.1.1</version>
315 </dependency>
316 <dependency>
317 <groupId>commons-codec</groupId>
318 <artifactId>commons-codec</artifactId>
dglFromAtt32522022018-08-24 21:53:16 -0400319 <version>1.11</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500320 </dependency>
321 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
322 <dependency>
323 <groupId>org.postgresql</groupId>
324 <artifactId>postgresql</artifactId>
dglFromAttb16582c2018-10-23 17:15:14 -0400325 <version>42.2.5</version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500326 </dependency>
327 <dependency>
328 <groupId>com.att.eelf</groupId>
329 <artifactId>eelf-core</artifactId>
330 <version>${eelf.version}</version>
331 </dependency>
332 <dependency>
333 <groupId>org.slf4j</groupId>
334 <artifactId>slf4j-api</artifactId>
335 <version>1.7.22</version>
336 </dependency>
dglFromAtt503da872018-02-28 08:00:19 -0500337 <dependency>
338 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
339 <!-- use this if compatibility issues with jetty artifactId:
340 <artifactId>jersey-test-framework-provider-jetty</artifactId>
341 <version>${jersey.version}</version>
342 -->
343 <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
344 <version>2.22.1</version>
345 </dependency>
346 <dependency>
347 <groupId>org.glassfish.jersey.inject</groupId>
348 <artifactId>jersey-hk2</artifactId>
349 </dependency>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500350 </dependencies>
351 <reporting>
352 <plugins>
353 <plugin>
354 <groupId>org.apache.maven.plugins</groupId>
355 <artifactId>maven-javadoc-plugin</artifactId>
356 <version>2.10.4</version>
357 <configuration>
358 <failOnError>false</failOnError>
359 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
360 <docletArtifact>
361 <groupId>org.umlgraph</groupId>
362 <artifactId>umlgraph</artifactId>
363 <version>5.6</version>
364 </docletArtifact>
365 <additionalparam>-views</additionalparam>
366 <useStandardDocletOptions>true</useStandardDocletOptions>
367 </configuration>
368 </plugin>
369 </plugins>
370 </reporting>
dglFromAttd174e932018-03-03 23:53:39 -0500371 <distributionManagement>
372 <site>
373 <id>ecomp-site</id>
374 <url>dav:${nexusproxy}${sitePath}</url>
375 </site>
376 </distributionManagement>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500377 <properties>
dglFromAtt32522022018-08-24 21:53:16 -0400378 <swagger.version>1.5.19</swagger.version>
379 <jackson.version>2.9.5</jackson.version>
dglFromAtt503da872018-02-28 08:00:19 -0500380 <jersey.version>2.26</jersey.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500381 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
dglFromAttca5d23b2019-01-18 18:29:18 -0500382 <jettyVersion>9.4.12.RC2</jettyVersion>
dglFromAttc9016e72018-10-23 17:56:32 -0400383 <eelf.version>1.0.0</eelf.version>
dglFromAttbfe1f522019-03-12 16:59:35 -0400384 <artifact.version>1.0.24-SNAPSHOT</artifact.version>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500385 <!-- SONAR -->
386 <jacoco.version>0.7.7.201606060606</jacoco.version>
387 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
388 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
389 <!-- Default Sonar configuration -->
390 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
391 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
392 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
393 below -->
394 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
dglFromAttd174e932018-03-03 23:53:39 -0500395
396 <!-- for Distribution Management -->
397 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
dglFromAttd5d37c02018-03-11 23:02:41 -0400398 <nexusproxy>https://nexus.onap.org</nexusproxy>
Sunil Unnava0afd0dd2018-02-27 03:39:09 -0500399 </properties>
400 <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 +0000401</project>