ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
dglFromAtt | 9308e9c | 2018-05-09 21:26:07 -0400 | [diff] [blame] | 2 | <!-- |
| 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 Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 22 | <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 Lanilis | 89e6d8f | 2018-03-15 17:35:40 -0700 | [diff] [blame] | 32 | <version>1.1.0</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 33 | <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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 73 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 74 | 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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 77 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 78 | 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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 86 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 87 | 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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 93 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 94 | 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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 98 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 99 | 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 | |
dglFromAtt | db08265 | 2018-03-13 18:19:42 -0400 | [diff] [blame] | 127 | <!-- 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 | |
dglFromAtt | d174e93 | 2018-03-03 23:53:39 -0500 | [diff] [blame] | 141 | <!-- 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 Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 155 | </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> |
dglFromAtt | 4a0a3c6 | 2018-08-22 15:20:07 -0400 | [diff] [blame] | 199 | <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 Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 205 | <dependency> |
| 206 | <groupId>com.fasterxml.jackson.core</groupId> |
| 207 | <artifactId>jackson-annotations</artifactId> |
dglFromAtt | bc9afa1 | 2018-03-04 02:45:07 -0500 | [diff] [blame] | 208 | <version>${jackson.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>com.fasterxml.jackson.core</groupId> |
| 212 | <artifactId>jackson-databind</artifactId> |
dglFromAtt | bc9afa1 | 2018-03-04 02:45:07 -0500 | [diff] [blame] | 213 | <!-- for DMAAP-205, a point release on the common version |
| 214 | addresses a security issue. Note the add notation here |
dglFromAtt | bc9afa1 | 2018-03-04 02:45:07 -0500 | [diff] [blame] | 215 | <version>${jackson.version}.1</version> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 216 | --> |
| 217 | <version>${jackson.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 221 | <artifactId>jackson-dataformat-yaml</artifactId> |
dglFromAtt | bc9afa1 | 2018-03-04 02:45:07 -0500 | [diff] [blame] | 222 | <version>${jackson.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 223 | </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> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 234 | <!-- DMAAP-656: |
dglFromAtt | e54c6de | 2018-08-25 03:32:40 -0400 | [diff] [blame^] | 235 | - 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 Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 243 | <dependency> |
| 244 | <groupId>io.swagger</groupId> |
| 245 | <artifactId>swagger-core</artifactId> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 246 | <version>${swagger.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 247 | </dependency> |
| 248 | <dependency> |
| 249 | <groupId>io.swagger</groupId> |
| 250 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 251 | <version>${swagger.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 252 | </dependency> |
| 253 | <dependency> |
| 254 | <groupId>io.swagger</groupId> |
| 255 | <artifactId>swagger-annotations</artifactId> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 256 | <version>${swagger.version}</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 257 | </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> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 299 | <version>1.11</version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 300 | </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> |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame] | 317 | <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 Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 330 | </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> |
dglFromAtt | d174e93 | 2018-03-03 23:53:39 -0500 | [diff] [blame] | 351 | <distributionManagement> |
| 352 | <site> |
| 353 | <id>ecomp-site</id> |
| 354 | <url>dav:${nexusproxy}${sitePath}</url> |
| 355 | </site> |
| 356 | </distributionManagement> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 357 | <properties> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 358 | <swagger.version>1.5.19</swagger.version> |
| 359 | <jackson.version>2.9.5</jackson.version> |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame] | 360 | <jersey.version>2.26</jersey.version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 361 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
dglFromAtt | 0f2eac2 | 2018-08-24 23:12:51 -0400 | [diff] [blame] | 362 | <jettyVersion>9.4.12.RC0</jettyVersion> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 363 | <eelf.version>0.0.1</eelf.version> |
dglFromAtt | 3252202 | 2018-08-24 21:53:16 -0400 | [diff] [blame] | 364 | <artifact.version>1.0.15-SNAPSHOT</artifact.version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 365 | <!-- 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> |
dglFromAtt | d174e93 | 2018-03-03 23:53:39 -0500 | [diff] [blame] | 375 | |
| 376 | <!-- for Distribution Management --> |
| 377 | <sitePath>/content/sites/site/org/onap/dmaap/buscontroller/${artifact.version}</sitePath> |
dglFromAtt | d5d37c0 | 2018-03-11 23:02:41 -0400 | [diff] [blame] | 378 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 379 | </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 user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 381 | </project> |