X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=blobdiff_plain;f=dmaap-bc%2Fpom.xml;h=e14110074efafd223d4b392c91d87fb0100f57a2;hp=24f9e425a2a746e2b29d0fee4bc25f683d94d312;hb=71d3d0925874247de5e657821638b1c08360f571;hpb=a2f7b3212b5105eeb5942d75ca25c0a5dbebae52 diff --git a/dmaap-bc/pom.xml b/dmaap-bc/pom.xml index 24f9e42..e141100 100644 --- a/dmaap-bc/pom.xml +++ b/dmaap-bc/pom.xml @@ -19,325 +19,40 @@ ============LICENSE_END============================================ ECOMP is a trademark and service mark of AT&T Intellectual Property. --> - 4.0.0 - org.onap.dmaap.buscontroller dmaap-bc - ${artifact.version} + ${revision} dmaap-bc + jar - org.onap.oparent - oparent - 1.2.2 - + org.onap.dmaap.buscontroller + parent + ${revision} + ../pom.xml - - dmaap-bc - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-no-snapshots - - enforce - - - - - No Snapshots Allowed! - - org.onap.dmaap.dbcapi:dbcapi - org.onap.aaf.authz:aaf-cadi-client - org.onap.aaf.authz:aaf-misc-env - org.onap.aaf.authz:aaf-cadi-aaf - org.onap.aaf.authz:aaf-auth-client - org.onap.aaf.authz:aaf-cadi-core - org.onap.aaf.authz:aaf-misc-rosetta - - - - true - - - - - - - - org.apache.maven.plugins - maven-shade-plugin - 2.4.3 - - - - package - - shade - - - false - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - - - org.onap.dmaap.dbcapi.server.Main - - - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - true - - ecomp-staging - ${nexusproxy} - 176c31dfe190a - - - - - - org.apache.maven.plugins - maven-site-plugin - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [2.10,) - install - - copy-dependencies - - - - - - - - - - - - - - - - docker - - false - false - true - - - - - - ${basedir}/target/docker-stage - ${basedir}/src/main/resources - - Dockerfile - - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/etc - ${basedir}/misc - - LocalKey - logback.xml - org.onap.dmaap-bc.cred.props - org.onap.dmaap-bc.crontab.sh - org.onap.dmaap-bc.jks - org.onap.dmaap-bc.keyfile - org.onap.dmaap-bc.location.props - org.onap.dmaap-bc.p12 - org.onap.dmaap-bc.props - org.onap.dmaap-bc.showpass - org.onap.dmaap-bc.trust.jks - - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/etc - ${basedir} - - version.properties - - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/misc - ${basedir}/misc - - opensource.env - *.tmpl - - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/misc - ${multiproject.basedir}/misc - - cert-client-init.sh - aaf-ca.crt - - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/bin - ${basedir}/misc - - dmaapbc - doaction - - - - - - - maven-resources-plugin - 2.7 - - - copy-jar - package - - copy-resources - - - ${basedir}/target/docker-stage/opt/app/dmaapbc/lib - - - ${multiproject.basedir}/dmaap-bc/target - - dmaap-bc.jar - - - - - - - - - - - org.codehaus.groovy.maven - gmaven-plugin - - - validate - - execute - - - - ${project.version} - ${maven.build.timestamp} - - - println 'ver: ' + project.properties['ver']; - if ( project.properties['ver'].endsWith("-SNAPSHOT") ) { - project.properties['dockertag1']=project.properties['ver'] + "-latest"; - project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp']; - } else { - project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest"; - project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; - } - println 'docker tag 1: ' + project.properties['dockertag1']; - println 'docker tag 2: ' + project.properties['dockertag2']; - - - - - + 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. + + + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + + 1.0.0 + ${docker.image.root}${project.artifactId} + 1.5.19 + 2.9.5 + 2.29 + UTF-8 + 9.4.40.v20210413 + 1.0.0 + 4.12 + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + /target/docker-stage/opt/app/dmaapbc/ + - - io.fabric8 - docker-maven-plugin - 0.28.0 - - ${docker.verbose} - ${docker.apiVersion} - ${docker.pull.registry} - ${docker.push.registry} - - - ${docker.image} - - try - ${basedir}/target/docker-stage - Dockerfile - - ${dockertag1} - ${dockertag2} - - - - - - - - generate-images - install - - build - - - - push-images - deploy - - push - - - - - - - - @@ -349,41 +64,33 @@ + - io.swagger - swagger-core - ${swagger.version} - - - io.swagger - swagger-jersey2-jaxrs - ${swagger.version} - - - io.swagger - swagger-annotations - ${swagger.version} + org.glassfish.jersey.media + jersey-media-json-jackson org.glassfish.jersey.containers jersey-container-servlet-core - - org.glassfish.jersey.media jersey-media-moxy - log4j - log4j - 1.2.17 + org.glassfish.jersey.test-framework.providers + + jersey-test-framework-provider-jdk-http + 2.29.1 - org.eclipse.jetty - jetty-server - ${jettyVersion} + org.glassfish.jersey.inject + jersey-hk2 + 2.29.1 org.onap.aaf.authz @@ -391,7 +98,62 @@ 2.1.7 full - + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + + + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${jackson.version} + + + ch.qos.logback + logback-core + 1.2.3 + + + ch.qos.logback + logback-classic + 1.2.3 + + + + com.google.guava + guava + 24.1.1-jre + + + io.swagger + swagger-core + ${swagger.version} + + + com.fasterxml.jackson.core + jackson-databind + + + + + io.swagger + swagger-jersey2-jaxrs + ${swagger.version} + + + io.swagger + swagger-annotations + ${swagger.version} + + + org.eclipse.jetty + jetty-server + ${jettyVersion} + compile + org.eclipse.jetty jetty-servlet @@ -413,21 +175,295 @@ commons-codec commons-codec - 1.11 + 1.15 org.postgresql postgresql - 42.2.5 + 42.2.14 + + + org.slf4j + slf4j-api + 1.7.22 + + + + javax.xml.bind + jaxb-api + 2.3.1 - - org.onap.dmaap.dbcapi - dbcapi - 1.0.24-SNAPSHOT + junit + junit + ${junit.version} + test + + + pl.pragmatists + JUnitParams + 1.1.0 + test + + + + org.mockito + mockito-core + 3.9.0 + test + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + com.att.eelf + eelf-core + ${eelf.version} + + + org.mockito + mockito-core + + + org.powermock + powermock-module-junit4 + + + org.powermock + powermock-api-mockito + + + + dmaap-bc + + + + ${basedir}/target/docker-stage + ${basedir}/src/main/resources/docker + + Dockerfile + + + + ${basedir}${docker-stage.target.path}etc + ${basedir}/src/main/resources/misc + + logback.xml + LocalKey + + + + ${basedir}${docker-stage.target.path}etc + ${multiproject.basedir} + + version.properties + + + + ${basedir}${docker-stage.target.path}misc + ${basedir}/src/main/resources/misc + + *.tmpl + + + + ${basedir}${docker-stage.target.path}bin + ${basedir}/src/main/resources/misc + + dmaapbc + + + + ${basedir}${docker-stage.target.path}misc + ${basedir}/src/main/resources/misc + + schema_all.sql + + + + + + maven-assembly-plugin + 2.4 + + + jar-with-dependencies + + ${basedir}/target/docker-stage/opt/app/dmaapbc/lib + + + true + org.onap.dmaap.dbcapi.server.Main + + + dmaap-bc.jar + false + + + + make-assembly + + package + + + single + + + + + + maven-checkstyle-plugin + + + onap-java-style + + false + + + + + + + com.github.kongchen + swagger-maven-plugin + 3.1.5 + + + + false + + org.onap.dmaap.dbcapi.resources + + + http + https + + www.[host]:[port] + /webapi + + DMaaP Bus Controller REST API + 1.1.0 + + provides an API for OpenDCAE components which need to provision + underlying DMaaP technologies (Data Router and Message Router). + Primary clients for this API are anticipated to be the OpenDCAE + Controller, OpenDCAE Orchestrator, OpenDCAE Inventory and the + ECOMP Portal. + + Objects managed by DMaaP are deployed in a dcaeLocation which is + a unique identifier for an OpenStack tenant for a dcaeLayer, + opendcae-central (aka ecomp) or opendcae-local-ntc (aka edge). + + A dcaeEnvironment (e.g. FTL or prod) has a single DMaaP. A + DMaaP is managed by a one or more stateless DMaaP Bus + Controller(s), though Bus Controller relies on PGaaS for + persistence. Each DMaaP has a single instance of Data Router, + which has 1 or more DR_Nodes deployed at each dcaeLocation. DR + Clients of type DR_Pub generally publish to a DR_Node that is + local to its dcaeLocation. Routing for a Feed is determined by + the dcaelocation of its DR_Sub clients. + + A DMaaP may have many Message Router instances. Each instance is + deployed as an MR_Cluster. One MR_Cluster is deployed at each + dcaeLocation. MR_Clients generally communicate to the + MR_Cluster at the same dcaeLocation. Replication of messages + between MR_Clusters is accomplished by MR Bridge, which is + provioned by DMaaP Bus Controller based on Topic attributes. + + Therefore, the role of DMaaP Bus Controller is to support other + DCAE infrastructure components to dynamically provision DMaaP + services on behalf of DMaaP clients, and to assist in any + management or discovery activity of its clients. + + A convention of this API is to return JSON responses per + OpenStack style. + + + http://www.apache.org/licenses/LICENSE-2.0 + + + http://www.onap.org + + + http://www.apache.org/licenses/LICENSE-2.0 + Licensed under the Apache License, Version 2.0 + + + target/generated-sources/ + + + + + + compile + + generate + + + + + + + + + docker + + ${skip.docker.build} + ${skip.docker.tag} + false + + + + + io.fabric8 + docker-maven-plugin + 0.28.0 + + ${docker.verbose} + ${docker.apiVersion} + ${docker.pull.registry} + ${docker.push.registry} + + + ${dmaapbc.image.name} + + try + ${basedir}/target/docker-stage + Dockerfile + + ${dockertag1} + ${dockertag2} + + + + + + + + generate-images + install + + build + + + + push-images + deploy + + push + + + + + + + + @@ -448,43 +484,10 @@ - ecomp-site dav:${nexusproxy}${sitePath} - - ${basedir}/.. - 1.0.0 - 2.16 - UTF-8 - 9.4.12.RC2 - 1.0.0 - 1.5.19 - 1.1.2 - - 0.7.7.201606060606 - 3.2 - jacoco - - target/code-coverage/jacoco-ut.exec - target/code-coverage/jacoco-it.exec - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - - - onap/dmaap/dmaap-bc - - https://nexus.onap.org - 10.12.5.45:5000 - - ${maven.build.timestamp} - yyyyMMdd'T'HHmmss'Z' - - - /content/sites/site/org/onap/dmaap/dmaap-bc/${artifact.version} - - Packaging Platform (DMaaP) Bus Controller API as a Docker container.