2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.dmaap.dbcapi</groupId>
6 <artifactId>dbcapi</artifactId>
7 <version>${artifact.version}</version>
8 <name>dmaap-dbcapi</name>
10 <groupId>org.onap.oparent</groupId>
11 <artifactId>oparent</artifactId>
12 <version>1.1.0</version>
16 <finalName>dbcapi</finalName>
19 <directory>src/main/java/org/onap/dmaap/dbcapi/logging</directory>
22 <directory>src/main/resources</directory>
26 <!-- reference: https://tech.homeaway.com/development/2016/06/02/generating-swagger-spec.html -->
28 <groupId>com.github.kongchen</groupId>
29 <artifactId>swagger-maven-plugin</artifactId>
30 <version>3.1.5</version>
34 <springmvc>false</springmvc>
36 <location>org.onap.dmaap.dbcapi.resources</location>
40 <scheme>https</scheme>
42 <host>www.[host]:[port]</host>
43 <basePath>/webapi</basePath>
45 <title>DMaaP Bus Controller REST API</title>
46 <version>1.1.0</version>
48 provides an API for OpenDCAE components which need to provision
49 underlying DMaaP technologies (Data Router and Message Router).
50 Primary clients for this API are anticipated to be the OpenDCAE
51 Controller, OpenDCAE Orchestrator, OpenDCAE Inventory and the
54 Objects managed by DMaaP are deployed in a dcaeLocation which is a
55 unique identifier for an OpenStack tenant for a dcaeLayer,
56 opendcae-central (aka ecomp) or opendcae-local-ntc (aka edge).
58 A dcaeEnvironment (e.g. FTL or prod) has a single DMaaP. A
59 DMaaP is managed by a one or more stateless DMaaP Bus
60 Controller(s), though Bus Controller relies on PGaaS for
61 persistence. Each DMaaP has a single instance of Data Router,
62 which has 1 or more DR_Nodes deployed at each dcaeLocation. DR
63 Clients of type DR_Pub generally publish to a DR_Node that is
64 local to its dcaeLocation. Routing for a Feed is determined by
65 the dcaelocation of its DR_Sub clients.
67 A DMaaP may have many Message Router instances. Each instance is
68 deployed as an MR_Cluster. One MR_Cluster is deployed at each
69 dcaeLocation. MR_Clients generally communicate to the
70 MR_Cluster at the same dcaeLocation. Replication of messages
71 between MR_Clusters is accomplished by MR Bridge, which is
72 provioned by DMaaP Bus Controller based on Topic attributes.
74 Therefore, the role of DMaaP Bus Controller is to support other
75 DCAE infrastructure components to dynamically provision DMaaP
76 services on behalf of DMaaP clients, and to assist in any
77 management or discovery activity of its clients.
79 A convention of this API is to return JSON responses per
83 http://www.apache.org/licenses/LICENSE-2.0
86 <url>http://www.onap.org</url>
89 <url>http://www.apache.org/licenses/LICENSE-2.0</url>
90 <name>Licensed under the Apache License, Version 2.0</name>
93 <swaggerDirectory>target/generated-sources/</swaggerDirectory>
99 <phase>compile</phase>
101 <goal>generate</goal>
109 <groupId>org.sonatype.plugins</groupId>
110 <artifactId>nexus-staging-maven-plugin</artifactId>
111 <version>1.6.7</version>
112 <extensions>true</extensions>
114 <serverId>ecomp-staging</serverId>
115 <nexusUrl>${nexusproxy}</nexusUrl>
116 <stagingProfileId>176c31dfe190a</stagingProfileId>
121 <!-- for Distribution Managment -->
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-site-plugin</artifactId>
125 <version>3.6</version>
128 <groupId>org.apache.maven.wagon</groupId>
129 <artifactId>wagon-webdav-jackrabbit</artifactId>
130 <version>2.10</version>
138 <!--This plugin's configuration is used to store Eclipse m2e settings
139 only. It has no influence on the Maven build itself. -->
141 <groupId>org.eclipse.m2e</groupId>
142 <artifactId>lifecycle-mapping</artifactId>
143 <version>1.0.0</version>
145 <lifecycleMappingMetadata>
148 <pluginExecutionFilter>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-dependency-plugin</artifactId>
151 <versionRange>[2.10,)</versionRange>
153 <goal>copy-dependencies</goal>
155 </pluginExecutionFilter>
161 </lifecycleMappingMetadata>
167 <dependencyManagement>
170 <groupId>org.glassfish.jersey</groupId>
171 <artifactId>jersey-bom</artifactId>
172 <version>${jersey.version}</version>
174 <scope>import</scope>
177 </dependencyManagement>
180 <groupId>com.fasterxml.jackson.core</groupId>
181 <artifactId>jackson-annotations</artifactId>
182 <version>${jackson.version}</version>
185 <groupId>com.fasterxml.jackson.core</groupId>
186 <artifactId>jackson-databind</artifactId>
187 <!-- for DMAAP-205, a point release on the common version
188 addresses a security issue. Note the add notation here
190 <version>${jackson.version}.1</version>
193 <groupId>com.fasterxml.jackson.dataformat</groupId>
194 <artifactId>jackson-dataformat-yaml</artifactId>
195 <version>${jackson.version}</version>
198 <groupId>ch.qos.logback</groupId>
199 <artifactId>logback-core</artifactId>
200 <version>1.2.0</version>
203 <groupId>ch.qos.logback</groupId>
204 <artifactId>logback-classic</artifactId>
205 <version>1.2.0</version>
208 <groupId>io.swagger</groupId>
209 <artifactId>swagger-core</artifactId>
210 <version>1.5.13</version>
213 <groupId>io.swagger</groupId>
214 <artifactId>swagger-jersey2-jaxrs</artifactId>
215 <version>1.5.13</version>
218 <groupId>io.swagger</groupId>
219 <artifactId>swagger-annotations</artifactId>
220 <version>1.5.13</version>
223 <groupId>org.glassfish.jersey.containers</groupId>
224 <artifactId>jersey-container-servlet-core</artifactId>
225 <!-- use the following artifactId if you don't need servlet 2.x compatibility -->
226 <!-- artifactId>jersey-container-servlet</artifactId -->
229 <groupId>org.glassfish.jersey.media</groupId>
230 <artifactId>jersey-media-moxy</artifactId>
233 <groupId>log4j</groupId>
234 <artifactId>log4j</artifactId>
235 <version>1.2.17</version>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-server</artifactId>
240 <version>${jettyVersion}</version>
243 <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-servlet</artifactId>
245 <version>${jettyVersion}</version>
246 <scope>compile</scope>
249 <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-servlets</artifactId>
251 <version>${jettyVersion}</version>
252 <scope>compile</scope>
254 <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
256 <groupId>com.googlecode.json-simple</groupId>
257 <artifactId>json-simple</artifactId>
258 <version>1.1.1</version>
261 <groupId>commons-codec</groupId>
262 <artifactId>commons-codec</artifactId>
263 <version>1.6</version>
265 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
267 <groupId>org.postgresql</groupId>
268 <artifactId>postgresql</artifactId>
269 <version>9.4.1208.jre7</version>
272 <groupId>com.att.eelf</groupId>
273 <artifactId>eelf-core</artifactId>
274 <version>${eelf.version}</version>
277 <groupId>org.slf4j</groupId>
278 <artifactId>slf4j-api</artifactId>
279 <version>1.7.22</version>
282 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
283 <!-- use this if compatibility issues with jetty artifactId:
284 <artifactId>jersey-test-framework-provider-jetty</artifactId>
285 <version>${jersey.version}</version>
287 <artifactId>jersey-test-framework-provider-jdk-http</artifactId>
288 <version>2.22.1</version>
291 <groupId>org.glassfish.jersey.inject</groupId>
292 <artifactId>jersey-hk2</artifactId>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-javadoc-plugin</artifactId>
300 <version>2.10.4</version>
302 <failOnError>false</failOnError>
303 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
305 <groupId>org.umlgraph</groupId>
306 <artifactId>umlgraph</artifactId>
307 <version>5.6</version>
309 <additionalparam>-views</additionalparam>
310 <useStandardDocletOptions>true</useStandardDocletOptions>
315 <distributionManagement>
318 <url>dav:${nexusproxy}${sitePath}</url>
320 </distributionManagement>
322 <jackson.version>2.8.11</jackson.version>
323 <jersey.version>2.26</jersey.version>
324 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
325 <jettyVersion>9.3.9.v20160517</jettyVersion>
326 <eelf.version>0.0.1</eelf.version>
327 <artifact.version>1.0.6-SNAPSHOT</artifact.version>
329 <jacoco.version>0.7.7.201606060606</jacoco.version>
330 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
331 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
332 <!-- Default Sonar configuration -->
333 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
334 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
335 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
337 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
339 <!-- for Distribution Management -->
340 <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath>
341 <nexusproxy>https://nexus.onap.org</nexusproxy>
343 <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>