From 8f13cd710b1687841349bfc35b6061a5d58483c6 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 10 Apr 2019 16:58:29 +0530 Subject: Fix docker to start VTP Issue-ID: VNFSDK-354 Change-Id: Ibcf6f2303ee69ff22dd67a04b748239b23e014e0 Signed-off-by: Kanagaraj Manickam k00365106 --- .../docker/docker-refrepo/src/main/docker/install-vtp.sh | 8 ++++++-- .../deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'vnfmarket-be/deployment') diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh index bdb51b96..24b983c7 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh @@ -57,10 +57,14 @@ done chmod +x ./bin/oclip.sh chmod +x ./bin/oclip-rcli.sh -chmod +x ./bin/oclip-cmdflow-server.sh +chmod +x ./bin/oclip-grpc-server.sh + +echo export OPEN_CLI_HOME=/opt/vtp > $OPEN_CLI_HOME/bin/vtp.sh +echo $OPEN_CLI_HOME/bin/oclip-grpc-server.sh>> $OPEN_CLI_HOME/bin/vtp.sh +chmod +x $OPEN_CLI_HOME/bin/vtp.sh ln -sf $OPEN_CLI_HOME/bin/oclip-rcli.sh /usr/bin/vtp-cli -ln -sf $OPEN_CLI_HOME/bin/oclip-cmdflow-server.sh /usr/bin/vtp-tc +ln -sf $OPEN_CLI_HOME/bin/oclip-grpc-server.sh /usr/bin/vtp-tc echo ################ Deploy sample csar validation test case CSARVALIDATOR_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=releases&g=org.onap.vnfsdk.validation&a=csarvalidation-deployment&e=zip&v=LATEST" diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh index c2cd5535..38f50c42 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh @@ -25,7 +25,7 @@ # dir="/opt" -cmd="vtp-tc" +cmd="/opt/vtp/bin/vtp.sh" user="root" name=`basename $0` -- cgit 1.2.3-korg