ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 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> |
| 9 | <parent> |
| 10 | <groupId>org.onap.oparent</groupId> |
| 11 | <artifactId>oparent</artifactId> |
| 12 | <version>0.1.1</version> |
| 13 | <relativePath /> |
| 14 | </parent> |
| 15 | <build> |
| 16 | <finalName>dbcapi</finalName> |
| 17 | <resources> |
| 18 | <resource> |
| 19 | <directory>src/main/java/org/onap/dmaap/dbcapi/logging</directory> |
| 20 | </resource> |
| 21 | <resource> |
| 22 | <directory>src/main/resources</directory> |
| 23 | </resource> |
| 24 | </resources> |
| 25 | <plugins> |
| 26 | <!-- reference: https://tech.homeaway.com/development/2016/06/02/generating-swagger-spec.html --> |
| 27 | <plugin> |
| 28 | <groupId>com.github.kongchen</groupId> |
| 29 | <artifactId>swagger-maven-plugin</artifactId> |
| 30 | <version>3.1.5</version> |
| 31 | <configuration> |
| 32 | <apiSources> |
| 33 | <apiSource> |
| 34 | <springmvc>false</springmvc> |
| 35 | <locations> |
| 36 | <location>org.onap.dmaap.dbcapi.resources</location> |
| 37 | </locations> |
| 38 | <schemes> |
| 39 | <scheme>http</scheme> |
| 40 | <scheme>https</scheme> |
| 41 | </schemes> |
| 42 | <host>www.[host]:[port]</host> |
| 43 | <basePath>/webapi</basePath> |
| 44 | <info> |
| 45 | <title>DMaaP Bus Controller REST API</title> |
| 46 | <version>1.1.0</version> |
| 47 | <description> |
| 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 |
| 52 | ECOMP Portal. |
ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 53 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 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). |
ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 57 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 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. |
ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 66 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 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. |
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 | 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. |
ATT default cloud user | a05efb7 | 2017-08-31 21:01:21 +0000 | [diff] [blame] | 78 | |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 79 | A convention of this API is to return JSON responses per |
| 80 | OpenStack style. |
| 81 | </description> |
| 82 | <termsOfService> |
| 83 | http://www.apache.org/licenses/LICENSE-2.0 |
| 84 | </termsOfService> |
| 85 | <contact> |
| 86 | <url>http://www.onap.org</url> |
| 87 | </contact> |
| 88 | <license> |
| 89 | <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| 90 | <name>Licensed under the Apache License, Version 2.0</name> |
| 91 | </license> |
| 92 | </info> |
| 93 | <swaggerDirectory>target/generated-sources/</swaggerDirectory> |
| 94 | </apiSource> |
| 95 | </apiSources> |
| 96 | </configuration> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <phase>compile</phase> |
| 100 | <goals> |
| 101 | <goal>generate</goal> |
| 102 | </goals> |
| 103 | </execution> |
| 104 | </executions> |
| 105 | </plugin> |
| 106 | |
| 107 | </plugins> |
| 108 | <pluginManagement> |
| 109 | <plugins> |
| 110 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 111 | only. It has no influence on the Maven build itself. --> |
| 112 | <plugin> |
| 113 | <groupId>org.eclipse.m2e</groupId> |
| 114 | <artifactId>lifecycle-mapping</artifactId> |
| 115 | <version>1.0.0</version> |
| 116 | <configuration> |
| 117 | <lifecycleMappingMetadata> |
| 118 | <pluginExecutions> |
| 119 | <pluginExecution> |
| 120 | <pluginExecutionFilter> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-dependency-plugin</artifactId> |
| 123 | <versionRange>[2.10,)</versionRange> |
| 124 | <goals> |
| 125 | <goal>copy-dependencies</goal> |
| 126 | </goals> |
| 127 | </pluginExecutionFilter> |
| 128 | <action> |
| 129 | <ignore /> |
| 130 | </action> |
| 131 | </pluginExecution> |
| 132 | </pluginExecutions> |
| 133 | </lifecycleMappingMetadata> |
| 134 | </configuration> |
| 135 | </plugin> |
| 136 | </plugins> |
| 137 | </pluginManagement> |
| 138 | </build> |
| 139 | <dependencyManagement> |
| 140 | <dependencies> |
| 141 | <dependency> |
| 142 | <groupId>org.glassfish.jersey</groupId> |
| 143 | <artifactId>jersey-bom</artifactId> |
| 144 | <version>${jersey.version}</version> |
| 145 | <type>pom</type> |
| 146 | <scope>import</scope> |
| 147 | </dependency> |
| 148 | </dependencies> |
| 149 | </dependencyManagement> |
| 150 | <dependencies> |
| 151 | <dependency> |
| 152 | <groupId>com.fasterxml.jackson.core</groupId> |
| 153 | <artifactId>jackson-annotations</artifactId> |
| 154 | <version>2.8.9</version> |
| 155 | </dependency> |
| 156 | <dependency> |
| 157 | <groupId>com.fasterxml.jackson.core</groupId> |
| 158 | <artifactId>jackson-databind</artifactId> |
| 159 | <version>2.8.9</version> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 163 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 164 | <version>2.8.9</version> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>ch.qos.logback</groupId> |
| 168 | <artifactId>logback-core</artifactId> |
| 169 | <version>1.2.0</version> |
| 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>ch.qos.logback</groupId> |
| 173 | <artifactId>logback-classic</artifactId> |
| 174 | <version>1.2.0</version> |
| 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>io.swagger</groupId> |
| 178 | <artifactId>swagger-core</artifactId> |
| 179 | <version>1.5.13</version> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>io.swagger</groupId> |
| 183 | <artifactId>swagger-jersey2-jaxrs</artifactId> |
| 184 | <version>1.5.13</version> |
| 185 | </dependency> |
| 186 | <dependency> |
| 187 | <groupId>io.swagger</groupId> |
| 188 | <artifactId>swagger-annotations</artifactId> |
| 189 | <version>1.5.13</version> |
| 190 | </dependency> |
| 191 | <dependency> |
| 192 | <groupId>org.glassfish.jersey.containers</groupId> |
| 193 | <artifactId>jersey-container-servlet-core</artifactId> |
| 194 | <!-- use the following artifactId if you don't need servlet 2.x compatibility --> |
| 195 | <!-- artifactId>jersey-container-servlet</artifactId --> |
| 196 | </dependency> |
| 197 | <dependency> |
| 198 | <groupId>org.glassfish.jersey.media</groupId> |
| 199 | <artifactId>jersey-media-moxy</artifactId> |
| 200 | </dependency> |
| 201 | <dependency> |
| 202 | <groupId>log4j</groupId> |
| 203 | <artifactId>log4j</artifactId> |
| 204 | <version>1.2.17</version> |
| 205 | </dependency> |
| 206 | <dependency> |
| 207 | <groupId>org.eclipse.jetty</groupId> |
| 208 | <artifactId>jetty-server</artifactId> |
| 209 | <version>${jettyVersion}</version> |
| 210 | </dependency> |
| 211 | <dependency> |
| 212 | <groupId>org.eclipse.jetty</groupId> |
| 213 | <artifactId>jetty-servlet</artifactId> |
| 214 | <version>${jettyVersion}</version> |
| 215 | <scope>compile</scope> |
| 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.eclipse.jetty</groupId> |
| 219 | <artifactId>jetty-servlets</artifactId> |
| 220 | <version>${jettyVersion}</version> |
| 221 | <scope>compile</scope> |
| 222 | </dependency> |
| 223 | <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple --> |
| 224 | <dependency> |
| 225 | <groupId>com.googlecode.json-simple</groupId> |
| 226 | <artifactId>json-simple</artifactId> |
| 227 | <version>1.1.1</version> |
| 228 | </dependency> |
| 229 | <dependency> |
| 230 | <groupId>commons-codec</groupId> |
| 231 | <artifactId>commons-codec</artifactId> |
| 232 | <version>1.6</version> |
| 233 | </dependency> |
| 234 | <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql --> |
| 235 | <dependency> |
| 236 | <groupId>org.postgresql</groupId> |
| 237 | <artifactId>postgresql</artifactId> |
| 238 | <version>9.4.1208.jre7</version> |
| 239 | </dependency> |
| 240 | <dependency> |
| 241 | <groupId>com.att.eelf</groupId> |
| 242 | <artifactId>eelf-core</artifactId> |
| 243 | <version>${eelf.version}</version> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>org.slf4j</groupId> |
| 247 | <artifactId>slf4j-api</artifactId> |
| 248 | <version>1.7.22</version> |
| 249 | </dependency> |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame^] | 250 | <dependency> |
| 251 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 252 | <!-- use this if compatibility issues with jetty artifactId: |
| 253 | <artifactId>jersey-test-framework-provider-jetty</artifactId> |
| 254 | <version>${jersey.version}</version> |
| 255 | --> |
| 256 | <artifactId>jersey-test-framework-provider-jdk-http</artifactId> |
| 257 | <version>2.22.1</version> |
| 258 | </dependency> |
| 259 | <dependency> |
| 260 | <groupId>org.glassfish.jersey.inject</groupId> |
| 261 | <artifactId>jersey-hk2</artifactId> |
| 262 | </dependency> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 263 | </dependencies> |
| 264 | <reporting> |
| 265 | <plugins> |
| 266 | <plugin> |
| 267 | <groupId>org.apache.maven.plugins</groupId> |
| 268 | <artifactId>maven-javadoc-plugin</artifactId> |
| 269 | <version>2.10.4</version> |
| 270 | <configuration> |
| 271 | <failOnError>false</failOnError> |
| 272 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 273 | <docletArtifact> |
| 274 | <groupId>org.umlgraph</groupId> |
| 275 | <artifactId>umlgraph</artifactId> |
| 276 | <version>5.6</version> |
| 277 | </docletArtifact> |
| 278 | <additionalparam>-views</additionalparam> |
| 279 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 280 | </configuration> |
| 281 | </plugin> |
| 282 | </plugins> |
| 283 | </reporting> |
| 284 | <properties> |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame^] | 285 | <jersey.version>2.26</jersey.version> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 286 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame^] | 287 | <jettyVersion>9.3.7.v20160115</jettyVersion> |
Sunil Unnava | 0afd0dd | 2018-02-27 03:39:09 -0500 | [diff] [blame] | 288 | <eelf.version>0.0.1</eelf.version> |
| 289 | <artifact.version>1.0.2-SNAPSHOT</artifact.version> |
| 290 | <!-- SONAR --> |
| 291 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 292 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 293 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 294 | <!-- Default Sonar configuration --> |
| 295 | <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> |
| 296 | <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 297 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list |
| 298 | below --> |
| 299 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 300 | </properties> |
| 301 | <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] | 302 | </project> |