From dba22de28e496ae2d6d2fde9384fd1187e4b8fc1 Mon Sep 17 00:00:00 2001 From: Steve Alphonse Siani Date: Mon, 11 Feb 2019 23:35:16 -0500 Subject: Jython execution component and service Change-Id: I2610e73a9c7ba073b5fa9d148dcd6fb5b9ad9ae3 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani --- ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile | 1 + ms/blueprintsprocessor/distribution/src/main/docker/distribution.xml | 5 +++++ ms/blueprintsprocessor/distribution/src/main/docker/startService.sh | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) mode change 100755 => 100644 ms/blueprintsprocessor/distribution/src/main/docker/startService.sh (limited to 'ms/blueprintsprocessor/distribution/src') diff --git a/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile b/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile index 21362329..bd6bcb3f 100755 --- a/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile +++ b/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile @@ -15,6 +15,7 @@ RUN (mkdir -p /source /opt/app/onap) && (tar -xzf /source.tar.gz -C /source) \ && (cp -rf /source/app/opt/app/onap/lib /opt/app/onap/) \ && (cp -rf /source/app/etc /) \ && (cp -rf /source/app/config /) \ +&& (cp -rf /source/app/scripts /opt/app/onap/) \ && (rm -rf /source) ENTRYPOINT /startService.sh \ No newline at end of file diff --git a/ms/blueprintsprocessor/distribution/src/main/docker/distribution.xml b/ms/blueprintsprocessor/distribution/src/main/docker/distribution.xml index b538b73b..f84ed2dc 100755 --- a/ms/blueprintsprocessor/distribution/src/main/docker/distribution.xml +++ b/ms/blueprintsprocessor/distribution/src/main/docker/distribution.xml @@ -60,6 +60,11 @@ ./config true + + ${project.basedir}/../../../components/scripts/python/ccsdk_blueprints + ./scripts/jython + true + ${project.basedir}/../application/etc ./etc diff --git a/ms/blueprintsprocessor/distribution/src/main/docker/startService.sh b/ms/blueprintsprocessor/distribution/src/main/docker/startService.sh old mode 100755 new mode 100644 index 79bcbc06..5f75de8a --- a/ms/blueprintsprocessor/distribution/src/main/docker/startService.sh +++ b/ms/blueprintsprocessor/distribution/src/main/docker/startService.sh @@ -5,5 +5,5 @@ nodeName=BlueprintsProcessor_1.0.0_$(cat /proc/self/cgroup | grep docker | sed s echo "APP Config HOME : ${APP_CONFIG_HOME}" export APP_HOME=/opt/app/onap -cp -rf /config /opt/app/onap/ +mv -rf /config /opt/app/onap/ source /etc/run.source -- cgit 1.2.3-korg