From d0a915d10c00314ecc1f07c2ecf9dd239ee47aad Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Mon, 18 Feb 2019 18:20:55 +0000 Subject: [PATCH] Restructure project for 2 images Change-Id: I05b858012a05b1c177a8a2e25ec610b0174b6a54 Signed-off-by: dglFromAtt Issue-ID: DMAAP-1046 Signed-off-by: dglFromAtt Patchset2 - corrected some typos Signed-off-by: dglFromAtt Signed-off-by: dglFromAtt Change-Id: I05b858012a05b1c177a8a2e25ec610b0174b6a54 Signed-off-by: dglFromAtt Patchset3 - use latest dbcapi.jar Change-Id: I05b858012a05b1c177a8a2e25ec610b0174b6a54 Signed-off-by: dglFromAtt --- README.md | 12 +- dbc-client/misc/dbc-client | 122 ++++++ dbc-client/pom.xml | 197 ++++++++++ .../version.properties | 2 +- {misc => dmaap-bc/misc}/LocalKey | 0 .../misc}/PolicyEngineApi.properties.tmpl | 0 {misc => dmaap-bc/misc}/dbc-api.jks | Bin {misc => dmaap-bc/misc}/dmaapbc | 2 +- {misc => dmaap-bc/misc}/dmaapbc.properties.tmpl | 0 {misc => dmaap-bc/misc}/doaction | 0 {misc => dmaap-bc/misc}/havecert.tmpl | 0 {misc => dmaap-bc/misc}/log4j.properties.tmpl | 0 {misc => dmaap-bc/misc}/logback.xml | 0 {misc => dmaap-bc/misc}/opensource.env | 0 .../misc}/org.onap.dmaap-bc.trust.jks | Bin {misc => dmaap-bc/misc}/policyLogger.properties | 0 dmaap-bc/pom.xml | 408 ++++++++++++++++++++ .../src}/main/resources/docker-compose.yml | 0 .../main/resources/docker-databus-controller.conf | 0 {src => dmaap-bc/src}/main/webapp/HelloJetty.html | 0 .../src}/main/webapp/WEB-INF/log4j.xml | 0 {src => dmaap-bc/src}/main/webapp/WEB-INF/web.xml | 0 {src => dmaap-bc/src}/main/webapp/index.jsp | 0 dmaap-bc/version.properties | 35 ++ pom.xml | 421 +++------------------ 25 files changed, 825 insertions(+), 374 deletions(-) create mode 100644 dbc-client/misc/dbc-client create mode 100644 dbc-client/pom.xml rename version.properties => dbc-client/version.properties (99%) rename {misc => dmaap-bc/misc}/LocalKey (100%) rename {misc => dmaap-bc/misc}/PolicyEngineApi.properties.tmpl (100%) rename {misc => dmaap-bc/misc}/dbc-api.jks (100%) rename {misc => dmaap-bc/misc}/dmaapbc (99%) rename {misc => dmaap-bc/misc}/dmaapbc.properties.tmpl (100%) rename {misc => dmaap-bc/misc}/doaction (100%) rename {misc => dmaap-bc/misc}/havecert.tmpl (100%) rename {misc => dmaap-bc/misc}/log4j.properties.tmpl (100%) rename {misc => dmaap-bc/misc}/logback.xml (100%) rename {misc => dmaap-bc/misc}/opensource.env (100%) rename {misc => dmaap-bc/misc}/org.onap.dmaap-bc.trust.jks (100%) rename {misc => dmaap-bc/misc}/policyLogger.properties (100%) create mode 100644 dmaap-bc/pom.xml rename {src => dmaap-bc/src}/main/resources/docker-compose.yml (100%) rename {src => dmaap-bc/src}/main/resources/docker-databus-controller.conf (100%) rename {src => dmaap-bc/src}/main/webapp/HelloJetty.html (100%) rename {src => dmaap-bc/src}/main/webapp/WEB-INF/log4j.xml (100%) rename {src => dmaap-bc/src}/main/webapp/WEB-INF/web.xml (100%) rename {src => dmaap-bc/src}/main/webapp/index.jsp (100%) create mode 100644 dmaap-bc/version.properties diff --git a/README.md b/README.md index bd8a327..e6bf74e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ Data Movement as a Platform (DMaaP) Bus Controller provides an API for other ONA A typical DMaaP resource is a Data Router Feed or a Message Router Topic, and their associated publishers and subscribers. Other infrastucture resources such as DR Nodes and MR Clusters are also provisioned through this API. +### Sub-components + +This project produces the following mvn modules in their respective sub-directories: +- dmaap-bc is a docker image intended to be used to instantiate the DMaaP Bus Controller container +- dbc-client is a docker image intended to serve as a temporary http client of the Bus Controller API. It will be instantiated in a container that is a Helm hook (e.g. post-install hook) that knows how to invoke the Bus Controller API. + ### Build Instructions for a Continuous Integration environment using Jenkins When this component is included in a Continuous Integration environment, such as structured by the Linux Foundation, the artifacts can be created and deployed via Jenkins. The following maven targets are currently supported in the Build step: @@ -38,7 +44,7 @@ clean install ### Build Instructions for external developers -This project is organized as a mvn project for a jar package. +This project is organized as a mvn project for a docker image. After cloning from this git repo: ``` @@ -119,8 +125,8 @@ DMAAPBC_PE_AAF_ENV=TBD Then the following steps could be used to pull and run the Bus Controller. (onap-nexus is just an example) ``` $ -$ docker pull nexus3.onap.org:10003/onap/dmaap/buscontroller:latest -$ docker run -d -p 18080:8080 -p 18443:8443 -v /tmp/docker-databus-controller.conf:/opt/app/config/conf nexus3.onap.org:10003/onap/dmaap/buscontroller:latest +$ docker pull nexus3.onap.org:10003/onap/dmaap/dmaap-bc:latest +$ docker run -d -p 18080:8080 -p 18443:8443 -v /tmp/docker-databus-controller.conf:/opt/app/config/conf nexus3.onap.org:10003/onap/dmaap/dmaap-bc:latest ``` ### Properties diff --git a/dbc-client/misc/dbc-client b/dbc-client/misc/dbc-client new file mode 100644 index 0000000..42e7282 --- /dev/null +++ b/dbc-client/misc/dbc-client @@ -0,0 +1,122 @@ +#!/bin/sh +# +# ============LICENSE_START========================================== +# org.onap.dmaap +# =================================================================== +# Copyright © 2019 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END============================================ +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +# +# + +umask 0022 +TZ=GMT0 +COMPONENT=dbc-client +APP_ROOT=/opt/app/$COMPONENT +USER=root +export TZ +PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin +export PATH +CONFIGMAP_ROOT=${CONFIGMAP_ROOT:-/opt/app/config} +CONTAINER_CONFIG=$CONFIGMAP_ROOT/conf/dbc-client.env + + + + +config() { + echo "ENTER config" + set -x + if [ ! -d $APP_ROOT ] + then + echo "Expected app root directory $APP_ROOT does not exist" + exit 1 + fi + cd $APP_ROOT + find . -type f -exec ls -l {} \; + find $CONFIGMAP_ROOT -type f -exec ls -l {} \; + if [ ! -f $CONTAINER_CONFIG ] + then + echo "WARNING: Expected env file $CONTAINER_CONFIG not found. Default behaviors in effect" + else + source $CONTAINER_CONFIG + fi + + if [ "$DMAAPBC_WAIT_TO_EXIT" != "Y" ] + then + echo "Creating $APP_ROOT/ok_to_exit so no waiting..." + > $APP_ROOT/ok_to_exit + else + echo "Not creating $APP_ROOT/ok_to_exit" + fi + + if [ ! -f $APP_ROOT/misc/cert-client-init.sh ] + then + echo "Did not find $APP_ROOT/misc/cert-client-init.sh to append to truststore" + exit 1 + fi + $APP_ROOT/misc/cert-client-init.sh + + set +x +} + + +init() { + echo "ENTER init" + if [ ! -d $CONFIGMAP_ROOT ] + then + echo $CONFIGMAP_ROOT does not exist + return + fi + + #loop on get /dmaap until we get a good response to indicate other provisioning can continue + rc=999 + while [ $rc != "200" ] + do + sleep 10 + rc=`curl -s -o /dev/null -I -w "%{http_code}" -X GET -H "Content-Type: application/json" http://dmaap-bc:8080/webapi/dmaap` + echo "get dmaap response=${rc}" + done +} +doprov() { + + cd $CONFIGMAP_ROOT + pwd + # order is important in this next list + for uri in dmaap dcaeLocations mr_clusters topics feeds mr_clients dr_pubs dr_subs + do + if [ -d ${uri} ] + then + for j in `ls ${uri}/*.json` + do + echo "POST $j to $uri" + rc=`curl -v -X POST -w "%{http_code}" -H "Content-Type: application/json" -d @${j} http://dmaap-bc:8080/webapi/${uri}` + echo "response=$rc" + done + fi + done +} + +set -x +config +init +doprov + +echo "Check $APP_ROOT/ok_to_exit" +while [ ! -f $APP_ROOT/ok_to_exit ] +do + echo "$APP_ROOT/ok_to_exit does not exist. Sticking around for debugging..." + sleep 10 +done +exit 0 diff --git a/dbc-client/pom.xml b/dbc-client/pom.xml new file mode 100644 index 0000000..945eeee --- /dev/null +++ b/dbc-client/pom.xml @@ -0,0 +1,197 @@ + + + + 4.0.0 + org.onap.dmaap.buscontroller + dbc-client + ${artifact.version} + dbc-client + + org.onap.oparent + oparent + 1.2.2 + + + + dbc-client + + + + + + 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 + + + + + com.spotify + docker-maven-plugin + ${docker.maven.plugin.version} + + alpine:3.8 + ${onap.nexus.dockerregistry.daily}/${docker.image} + ["./bin/dbc-client", "deploy"] + ${onap.nexus.dockerregistry.daily} + false + + ${artifact.version} + latest + + + /opt/app/dbc-client/log + + true + root + + + /opt/app/dmaapbc/etc + ${multiproject.basedir}/dbc-client + version.properties + + + /opt/app/dbc-client/misc + ${multiproject.basedir}/misc + cert-client-init.sh + + + /opt/app/dbc-client/bin + ${multiproject.basedir}/dbc-client/misc + dbc-client + + + + apk add --no-cache curl + chmod +x /opt/app/dbc-client/misc/cert-client-init.sh + chmod +x /opt/app/dbc-client/bin/* + mkdir /opt/app/dbc-client/logs + + /opt/app/dbc-client + + + + default + + build + push + + + + + + + + + + + + + ${basedir}/.. + 1.0.0 + 2.16 + UTF-8 + 9.4.12.RC2 + 1.0.0 + 1.5.19 + 1.0.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/dbc-client + + https://nexus.onap.org + nexus3.onap.org:10003 + + + /content/sites/site/org/onap/dmaap/dbc-client/${artifact.version} + + Packaging Platform (DMaaP) HTTP Client for Bus Controller Provisioning. + diff --git a/version.properties b/dbc-client/version.properties similarity index 99% rename from version.properties rename to dbc-client/version.properties index 8db0bb1..895a84e 100644 --- a/version.properties +++ b/dbc-client/version.properties @@ -27,7 +27,7 @@ major=1 minor=0 -patch=26 +patch=2 base_version=${major}.${minor}.${patch} # Release must be completed with git revision # in Jenkins diff --git a/misc/LocalKey b/dmaap-bc/misc/LocalKey similarity index 100% rename from misc/LocalKey rename to dmaap-bc/misc/LocalKey diff --git a/misc/PolicyEngineApi.properties.tmpl b/dmaap-bc/misc/PolicyEngineApi.properties.tmpl similarity index 100% rename from misc/PolicyEngineApi.properties.tmpl rename to dmaap-bc/misc/PolicyEngineApi.properties.tmpl diff --git a/misc/dbc-api.jks b/dmaap-bc/misc/dbc-api.jks similarity index 100% rename from misc/dbc-api.jks rename to dmaap-bc/misc/dbc-api.jks diff --git a/misc/dmaapbc b/dmaap-bc/misc/dmaapbc similarity index 99% rename from misc/dmaapbc rename to dmaap-bc/misc/dmaapbc index aca8f9e..f1e8ae7 100644 --- a/misc/dmaapbc +++ b/dmaap-bc/misc/dmaapbc @@ -213,7 +213,7 @@ case "$1" in 'deploy') config start - init + #init wait ;; 'start') diff --git a/misc/dmaapbc.properties.tmpl b/dmaap-bc/misc/dmaapbc.properties.tmpl similarity index 100% rename from misc/dmaapbc.properties.tmpl rename to dmaap-bc/misc/dmaapbc.properties.tmpl diff --git a/misc/doaction b/dmaap-bc/misc/doaction similarity index 100% rename from misc/doaction rename to dmaap-bc/misc/doaction diff --git a/misc/havecert.tmpl b/dmaap-bc/misc/havecert.tmpl similarity index 100% rename from misc/havecert.tmpl rename to dmaap-bc/misc/havecert.tmpl diff --git a/misc/log4j.properties.tmpl b/dmaap-bc/misc/log4j.properties.tmpl similarity index 100% rename from misc/log4j.properties.tmpl rename to dmaap-bc/misc/log4j.properties.tmpl diff --git a/misc/logback.xml b/dmaap-bc/misc/logback.xml similarity index 100% rename from misc/logback.xml rename to dmaap-bc/misc/logback.xml diff --git a/misc/opensource.env b/dmaap-bc/misc/opensource.env similarity index 100% rename from misc/opensource.env rename to dmaap-bc/misc/opensource.env diff --git a/misc/org.onap.dmaap-bc.trust.jks b/dmaap-bc/misc/org.onap.dmaap-bc.trust.jks similarity index 100% rename from misc/org.onap.dmaap-bc.trust.jks rename to dmaap-bc/misc/org.onap.dmaap-bc.trust.jks diff --git a/misc/policyLogger.properties b/dmaap-bc/misc/policyLogger.properties similarity index 100% rename from misc/policyLogger.properties rename to dmaap-bc/misc/policyLogger.properties diff --git a/dmaap-bc/pom.xml b/dmaap-bc/pom.xml new file mode 100644 index 0000000..f7f2bc1 --- /dev/null +++ b/dmaap-bc/pom.xml @@ -0,0 +1,408 @@ + + + + 4.0.0 + org.onap.dmaap.buscontroller + dmaap-bc + ${artifact.version} + dmaap-bc + + org.onap.oparent + oparent + 1.2.2 + + + + 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 + + + + + com.spotify + docker-maven-plugin + ${docker.maven.plugin.version} + + java:openjdk-8-jre + ${onap.nexus.dockerregistry.daily}/${docker.image} + ["./bin/dmaapbc", "deploy"] + ${onap.nexus.dockerregistry.daily} + false + + ${artifact.version} + latest + + + /opt/app/dmaapbc/log + + true + root + + + /opt/app/dmaapbc/lib + ${multiproject.basedir}/dmaap-bc/target + dmaap-bc.jar + + + /opt/app/dmaapbc/etc + ${multiproject.basedir}/dmaap-bc/misc + LocalKey + logback.xml + org.onap.dmaap-bc.trust.jks + dbc-api.jks + + + /opt/app/dmaapbc/etc + ${multiproject.basedir}/dmaap-bc + version.properties + + + /opt/app/dmaapbc/misc + ${multiproject.basedir}/dmaap-bc/misc + opensource.env + *.tmpl + + + /opt/app/dmaapbc/misc + ${multiproject.basedir}/misc + cert-client-init.sh + + + /opt/app/dmaapbc/bin + ${multiproject.basedir}/dmaap-bc/misc + dmaapbc + doaction + + + + mv /opt/app/dmaapbc/etc/dbc-api.jks /opt/app/dmaapbc/etc/keystore + chmod 600 /opt/app/dmaapbc/etc/keystore + chmod 600 /opt/app/dmaapbc/etc/org.onap.dmaap-bc.trust.jks + chmod +x /opt/app/dmaapbc/misc/cert-client-init.sh + chmod +x /opt/app/dmaapbc/bin/* + mkdir /opt/app/dmaapbc/logs + mkdir /opt/app/dmaapbc/www + mkdir /opt/app/dmaapbc/www/doc + + /opt/app/dmaapbc + + + + default + + build + push + + + + + + + + + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + + + + io.swagger + swagger-core + ${swagger.version} + + + io.swagger + swagger-jersey2-jaxrs + ${swagger.version} + + + io.swagger + swagger-annotations + ${swagger.version} + + + org.glassfish.jersey.containers + jersey-container-servlet-core + + + + + org.glassfish.jersey.media + jersey-media-moxy + + + log4j + log4j + 1.2.17 + + + org.eclipse.jetty + jetty-server + ${jettyVersion} + + + org.onap.aaf.authz + aaf-cadi-aaf + 2.1.7 + full + + + + org.eclipse.jetty + jetty-servlet + ${jettyVersion} + compile + + + org.eclipse.jetty + jetty-servlets + ${jettyVersion} + compile + + + + com.googlecode.json-simple + json-simple + 1.1.1 + + + commons-codec + commons-codec + 1.11 + + + + org.postgresql + postgresql + 42.2.5 + + + + org.onap.dmaap.dbcapi + dbcapi + 1.0.23-SNAPSHOT + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + -views + true + + + + + + + + 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.1 + + 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 + + + /content/sites/site/org/onap/dmaap/dmaap-bc/${artifact.version} + + Packaging Platform (DMaaP) Bus Controller API as a Docker container. + diff --git a/src/main/resources/docker-compose.yml b/dmaap-bc/src/main/resources/docker-compose.yml similarity index 100% rename from src/main/resources/docker-compose.yml rename to dmaap-bc/src/main/resources/docker-compose.yml diff --git a/src/main/resources/docker-databus-controller.conf b/dmaap-bc/src/main/resources/docker-databus-controller.conf similarity index 100% rename from src/main/resources/docker-databus-controller.conf rename to dmaap-bc/src/main/resources/docker-databus-controller.conf diff --git a/src/main/webapp/HelloJetty.html b/dmaap-bc/src/main/webapp/HelloJetty.html similarity index 100% rename from src/main/webapp/HelloJetty.html rename to dmaap-bc/src/main/webapp/HelloJetty.html diff --git a/src/main/webapp/WEB-INF/log4j.xml b/dmaap-bc/src/main/webapp/WEB-INF/log4j.xml similarity index 100% rename from src/main/webapp/WEB-INF/log4j.xml rename to dmaap-bc/src/main/webapp/WEB-INF/log4j.xml diff --git a/src/main/webapp/WEB-INF/web.xml b/dmaap-bc/src/main/webapp/WEB-INF/web.xml similarity index 100% rename from src/main/webapp/WEB-INF/web.xml rename to dmaap-bc/src/main/webapp/WEB-INF/web.xml diff --git a/src/main/webapp/index.jsp b/dmaap-bc/src/main/webapp/index.jsp similarity index 100% rename from src/main/webapp/index.jsp rename to dmaap-bc/src/main/webapp/index.jsp diff --git a/dmaap-bc/version.properties b/dmaap-bc/version.properties new file mode 100644 index 0000000..67e2f3a --- /dev/null +++ b/dmaap-bc/version.properties @@ -0,0 +1,35 @@ +### +# ============LICENSE_START======================================================= +# org.onap.dmaap +# ================================================================================ +# Copyright (C) 2017 AT&T Intellectual Property. All rights +# reserved. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END============================================ +# =================================================================== +# ECOMP is a trademark and service mark of AT&T Intellectual Property. +### + +# Versioning variables +# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) +# because they are used in Jenkins, whose plug-in doesn't support + +major=1 +minor=1 +patch=1 +base_version=${major}.${minor}.${patch} + +# Release must be completed with git revision # in Jenkins +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT diff --git a/pom.xml b/pom.xml index 99251e7..41f0847 100644 --- a/pom.xml +++ b/pom.xml @@ -1,386 +1,69 @@ - - - + + 4.0.0 - org.onap.dmaap.buscontroller - buscontroller - ${artifact.version} + org.onap.dmaap + parent + 1.1.0-SNAPSHOT dmaap-buscontroller + pom + - org.onap.oparent - oparent - 1.2.2 - + org.onap.oparent + oparent + 1.2.2 - - buscontroller - - - - 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 - - - - - - *:* - - 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 - - - + + ${basedir} + 1.0.0 + true + true + true + - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [2.10,) - install - - copy-dependencies - - - - - - - - - - - - - + - - com.spotify - docker-maven-plugin - 1.0.0 - - java:openjdk-8-jre - ${onap.nexus.dockerregistry.daily}/${docker.image} - ["./bin/dmaapbc", "deploy"] - ${onap.nexus.dockerregistry.daily} - - ${artifact.version} - latest - - - /opt/app/dmaapbc/log - - true - root - - - /opt/app/dmaapbc/lib - target - buscontroller.jar - - - /opt/app/dmaapbc/etc - misc - LocalKey - logback.xml - org.onap.dmaap-bc.trust.jks - dbc-api.jks - - - /opt/app/dmaapbc/etc - . - version.properties - - - /opt/app/dmaapbc/misc - misc - opensource.env - cert-client-init.sh - *.tmpl - - - /opt/app/dmaapbc/bin - misc - dmaapbc - doaction - - - - mv /opt/app/dmaapbc/etc/dbc-api.jks /opt/app/dmaapbc/etc/keystore - chmod 600 /opt/app/dmaapbc/etc/keystore - chmod 600 /opt/app/dmaapbc/etc/org.onap.dmaap-bc.trust.jks - chmod +x /opt/app/dmaapbc/misc/cert-client-init.sh - chmod +x /opt/app/dmaapbc/bin/* - mkdir /opt/app/dmaapbc/logs - mkdir /opt/app/dmaapbc/www - mkdir /opt/app/dmaapbc/www/doc - - /opt/app/dmaapbc - - + + com.spotify + docker-maven-plugin + ${docker.maven.plugin.version} + + ${skip.docker.build} + + + - - - - org.glassfish.jersey.media - jersey-media-moxy - - - log4j - log4j - 1.2.17 - - - org.eclipse.jetty - jetty-server - ${jettyVersion} - - - org.onap.aaf.authz - aaf-cadi-aaf - 2.1.7 - full - - - - org.eclipse.jetty - jetty-servlet - ${jettyVersion} - compile - - - org.eclipse.jetty - jetty-servlets - ${jettyVersion} - compile - - - - com.googlecode.json-simple - json-simple - 1.1.1 - - - commons-codec - commons-codec - 1.11 - - - - org.postgresql - postgresql - 42.2.5 - - - - org.onap.dmaap.dbcapi - dbcapi - 1.0.21-SNAPSHOT - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - -views - true - - - - - - - - ecomp-site - dav:${nexusproxy}${sitePath} - - - - 2.16 - UTF-8 - 9.4.12.RC2 - 1.0.0 - 1.5.19 - 1.0.26 - - 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/buscontroller - - https://nexus.onap.org - nexus3.onap.org:10003 +--> - - /content/sites/site/org/onap/dmaap/buscontroller/${artifact.version} - - Packaging Platform (DMaaP) Bus Controller API as a Docker container. + + dmaap-bc + dbc-client + -- 2.16.6