From: Kanagaraj Manickam k00365106 Date: Wed, 10 Apr 2019 11:28:29 +0000 (+0530) Subject: Fix docker to start VTP X-Git-Tag: 1.3.0~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F84855%2F1;p=vnfsdk%2Frefrepo.git Fix docker to start VTP Issue-ID: VNFSDK-354 Change-Id: Ibcf6f2303ee69ff22dd67a04b748239b23e014e0 Signed-off-by: Kanagaraj Manickam k00365106 --- 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`