3 ============LICENSE_START==========================================
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
12 http://www.apache.org/licenses/LICENSE-2.0
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.
22 <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">
23 <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>
29 <groupId>org.onap.oparent</groupId>
30 <artifactId>oparent</artifactId>
31 <version>1.2.2</version>
35 <finalName>dbcapi</finalName>
38 <directory>src/main/java/org/onap/dmaap/dbcapi/logging</directory>
41 <directory>src/main/resources</directory>
45 <!-- reference: https://tech.homeaway.com/development/2016/06/02/generating-swagger-spec.html -->
47 <groupId>com.github.kongchen</groupId>
48 <artifactId>swagger-maven-plugin</artifactId>
49 <version>3.1.5</version>
53 <springmvc>false</springmvc>
55 <location>org.onap.dmaap.dbcapi.resources</location>
59 <scheme>https</scheme>
61 <host>www.[host]:[port]</host>
62 <basePath>/webapi</basePath>
64 <title>DMaaP Bus Controller REST API</title>
65 <version>1.1.0</version>
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
73 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).
77 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.
86 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.
93 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.
98 A convention of this API is to return JSON responses per
102 http://www.apache.org/licenses/LICENSE-2.0
105 <url>http://www.onap.org</url>
108 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
109 <name>Licensed under the Apache License, Version 2.0</name>
112 <swaggerDirectory>target/generated-sources/</swaggerDirectory>
118 <phase>compile</phase>
120 <goal>generate</goal>
128 <groupId>org.sonatype.plugins</groupId>
129 <artifactId>nexus-staging-maven-plugin</artifactId>
130 <version>1.6.7</version>
131 <extensions>true</extensions>
133 <serverId>ecomp-staging</serverId>
134 <nexusUrl>${nexusproxy}</nexusUrl>
135 <stagingProfileId>176c31dfe190a</stagingProfileId>
140 <!-- for Distribution Managment -->
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-site-plugin</artifactId>
144 <version>3.6</version>
147 <groupId>org.apache.maven.wagon</groupId>
148 <artifactId>wagon-webdav-jackrabbit</artifactId>
149 <version>2.10</version>
154 <!-- prevent SNAPSHOT dependencies -->
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-enforcer-plugin</artifactId>
160 <id>enforce-no-snapshots</id>
167 <message>No Snapshots Allowed!</message>
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>
176 </requireReleaseDeps>
187 <!--This plugin's configuration is used to store Eclipse m2e settings
188 only. It has no influence on the Maven build itself. -->
190 <groupId>org.eclipse.m2e</groupId>
191 <artifactId>lifecycle-mapping</artifactId>
192 <version>1.0.0</version>
194 <lifecycleMappingMetadata>
197 <pluginExecutionFilter>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-dependency-plugin</artifactId>
200 <versionRange>[2.10,)</versionRange>
202 <goal>copy-dependencies</goal>
204 </pluginExecutionFilter>
210 </lifecycleMappingMetadata>
216 <dependencyManagement>
219 <groupId>org.glassfish.jersey</groupId>
220 <artifactId>jersey-bom</artifactId>
221 <version>${jersey.version}</version>
223 <scope>import</scope>
226 </dependencyManagement>
229 <groupId>org.onap.aaf.authz</groupId>
230 <artifactId>aaf-cadi-aaf</artifactId>
231 <version>2.1.7</version>
232 <classifier>full</classifier>
235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-annotations</artifactId>
237 <version>${jackson.version}</version>
240 <groupId>com.fasterxml.jackson.dataformat</groupId>
241 <artifactId>jackson-dataformat-yaml</artifactId>
242 <version>${jackson.version}</version>
245 <groupId>ch.qos.logback</groupId>
246 <artifactId>logback-core</artifactId>
247 <version>1.2.3</version>
250 <groupId>ch.qos.logback</groupId>
251 <artifactId>logback-classic</artifactId>
252 <version>1.2.3</version>
255 - override this dependency because it utilized a third party
256 - lib called com.google.guava:20.0 which had severe security threat identified.
259 <groupId>com.google.guava</groupId>
260 <artifactId>guava</artifactId>
261 <version>24.1.1-jre</version>
264 <groupId>io.swagger</groupId>
265 <artifactId>swagger-core</artifactId>
266 <version>${swagger.version}</version>
269 <groupId>io.swagger</groupId>
270 <artifactId>swagger-jersey2-jaxrs</artifactId>
271 <version>${swagger.version}</version>
274 <groupId>io.swagger</groupId>
275 <artifactId>swagger-annotations</artifactId>
276 <version>${swagger.version}</version>
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 -->
285 <groupId>org.glassfish.jersey.media</groupId>
286 <artifactId>jersey-media-moxy</artifactId>
289 <groupId>log4j</groupId>
290 <artifactId>log4j</artifactId>
291 <version>1.2.17</version>
294 <groupId>org.eclipse.jetty</groupId>
295 <artifactId>jetty-server</artifactId>
296 <version>${jettyVersion}</version>
299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-servlet</artifactId>
301 <version>${jettyVersion}</version>
302 <scope>compile</scope>
305 <groupId>org.eclipse.jetty</groupId>
306 <artifactId>jetty-servlets</artifactId>
307 <version>${jettyVersion}</version>
308 <scope>compile</scope>
310 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
312 <groupId>com.googlecode.json-simple</groupId>
313 <artifactId>json-simple</artifactId>
314 <version>1.1.1</version>
317 <groupId>commons-codec</groupId>
318 <artifactId>commons-codec</artifactId>
319 <version>1.11</version>
321 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
323 <groupId>org.postgresql</groupId>
324 <artifactId>postgresql</artifactId>
325 <version>42.2.5</version>
328 <groupId>com.att.eelf</groupId>
329 <artifactId>eelf-core</artifactId>
330 <version>${eelf.version}</version>
333 <groupId>org.slf4j</groupId>
334 <artifactId>slf4j-api</artifactId>
335 <version>1.7.22</version>
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>
343 <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
344 <version>2.22.1</version>
347 <groupId>org.glassfish.jersey.inject</groupId>
348 <artifactId>jersey-hk2</artifactId>
351 <groupId>pl.pragmatists</groupId>
352 <artifactId>JUnitParams</artifactId>
353 <version>1.1.0</version>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-javadoc-plugin</artifactId>
362 <version>2.10.4</version>
364 <failOnError>false</failOnError>
365 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
367 <groupId>org.umlgraph</groupId>
368 <artifactId>umlgraph</artifactId>
369 <version>5.6</version>
371 <additionalparam>-views</additionalparam>
372 <useStandardDocletOptions>true</useStandardDocletOptions>
377 <distributionManagement>
380 <url>dav:${nexusproxy}${sitePath}</url>
382 </distributionManagement>
384 <swagger.version>1.5.19</swagger.version>
385 <jackson.version>2.9.5</jackson.version>
386 <jersey.version>2.26</jersey.version>
387 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
388 <jettyVersion>9.4.12.RC2</jettyVersion>
389 <eelf.version>1.0.0</eelf.version>
390 <artifact.version>1.0.26-SNAPSHOT</artifact.version>
392 <jacoco.version>0.7.7.201606060606</jacoco.version>
393 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
394 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
395 <!-- Default Sonar configuration -->
396 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
397 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
398 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
400 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
402 <!-- for Distribution Management -->
403 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
404 <nexusproxy>https://nexus.onap.org</nexusproxy>
406 <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>