From 9a85b3d441c11813d3dbe7ed487d475993c2e0a3 Mon Sep 17 00:00:00 2001 From: "Muthuramalingam, Brinda Santh(bs2796)" Date: Sat, 10 Nov 2018 18:02:29 -0500 Subject: Controller Blueprints Microservice Change Application Properties and Docker Blueprint model load Parameters. Change-Id: I799cbab4388916c8e07e9453d93214e788a16fa2 Issue-ID: CCSDK-660 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) --- ms/controllerblueprints/distribution/pom.xml | 2 +- .../distribution/src/main/dc/docker-compose.yaml | 2 +- ms/controllerblueprints/distribution/src/main/docker/Dockerfile | 2 +- .../distribution/src/main/docker/distribution.xml | 9 ++------- 4 files changed, 5 insertions(+), 10 deletions(-) (limited to 'ms/controllerblueprints/distribution') diff --git a/ms/controllerblueprints/distribution/pom.xml b/ms/controllerblueprints/distribution/pom.xml index d3bff091..33690024 100644 --- a/ms/controllerblueprints/distribution/pom.xml +++ b/ms/controllerblueprints/distribution/pom.xml @@ -94,7 +94,7 @@ maven-assembly-plugin - 3.0.0 + 3.1.0 ${basedir}/target/docker-stage diff --git a/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml b/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml index 3c146469..dd219084 100644 --- a/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml +++ b/ms/controllerblueprints/distribution/src/main/dc/docker-compose.yaml @@ -5,7 +5,7 @@ services: image: mariadb:latest container_name: cb-mariadb ports: - - "3307:3306" + - "3306:3306" volumes: - ~/vm_mysql:/var/lib/mysql restart: always diff --git a/ms/controllerblueprints/distribution/src/main/docker/Dockerfile b/ms/controllerblueprints/distribution/src/main/docker/Dockerfile index a2f453f2..6de589da 100644 --- a/ms/controllerblueprints/distribution/src/main/docker/Dockerfile +++ b/ms/controllerblueprints/distribution/src/main/docker/Dockerfile @@ -14,7 +14,7 @@ RUN (mkdir -p /source /opt/app/onap) && (tar -xzf /source.tar.gz -C /source) \ && (mv /source/@project.build.finalName@ /source/app) \ && (cp -rf /source/app/opt/app/onap/lib /opt/app/onap/) \ && (cp -rf /source/app/etc /) \ -&& (cp -rf /source/app/load /) \ +&& (cp -rf /source/app/model-catalog /) \ && (rm -rf /source) ENTRYPOINT /startService.sh diff --git a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml index f2f3cb0b..c929f98e 100644 --- a/ms/controllerblueprints/distribution/src/main/docker/distribution.xml +++ b/ms/controllerblueprints/distribution/src/main/docker/distribution.xml @@ -48,11 +48,6 @@ ./ true - - ${project.basedir}/../application/src/main/groovy - src/main/groovy - true - ${project.basedir}/../application/src/main/resources src/main/resources @@ -64,8 +59,8 @@ true - ${project.basedir}/../application/load - load + ${project.basedir}/../../../components/model-catalog + ./model-catalog true -- cgit 1.2.3-korg