summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-05 15:15:22 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-05 15:15:22 +0530
commit3b1b25f8f65044086c030a49c287e3ebe6f95ab5 (patch)
tree251cae52874b204b66826990e34acc0252005e17
parentff8ef10a17552e7d60693d8ac3afa746390804f1 (diff)
VTP: Add grpc cli in install
Issue-ID: CLI-123 Change-Id: I988fd9f92324b38eef766792e38f071f424f905f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--deployment/zip/installer/install.sh2
-rw-r--r--grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/deployment/zip/installer/install.sh b/deployment/zip/installer/install.sh
index 4503c371..6e1956f7 100644
--- a/deployment/zip/installer/install.sh
+++ b/deployment/zip/installer/install.sh
@@ -25,10 +25,12 @@ if [ ! -d ./data ]; then mkdir ./data; fi
if [ ! -d ./open-cli-schema ]; then mkdir ./open-cli-schema; fi
chmod +x ./bin/oclip.sh
+chmod +x ./bin/oclip-rcli.sh
#Make oclip available in path
ln -sf ./bin/oclip.sh /usr/bin/oclip
ln -sf ./bin/oclip.sh /usr/bin/onap
+ln -sf ./bin/oclip-rcli.sh /usr/bin/roclip
#Print the version
oclip -v
diff --git a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java
index 7d02c141..0e9eba78 100644
--- a/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java
+++ b/grpc/grpc-client/src/main/java/org/open/infc/grpc/client/OpenRemoteCli.java
@@ -26,7 +26,7 @@ import org.open.infc.grpc.Result;
public class OpenRemoteCli {
public static final String OCLIP_GRPC_SERVER = "http://localhost:50051";
- public static final String OCLIP_GRPC_SERVER_ENV = "OCLIP_SERVER";
+ public static final String OCLIP_GRPC_SERVER_ENV = "OCLIP_GRPC_SERVER";
public static Result run (String[] args) throws Exception {
String oclipHome = System.getenv(OCLIP_GRPC_SERVER_ENV);