summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-10 12:27:58 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-10 13:59:54 +0530
commit94ce8f09c17287f2970c3370120f41749e801c56 (patch)
tree8147c5d749dc7d6752d6a94bec6741be9dcaaf37 /deployment
parent12e2707b3117f0b507bcdc8005d12d28d5c0d98f (diff)
Update docker with grpc server
Issue-ID: CLI-122 Change-Id: I0ce2a35febc583861aaed676278f97803b413286 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r--deployment/docker/src/main/docker/Dockerfile4
-rw-r--r--deployment/zip/installer/install.sh4
-rw-r--r--deployment/zip/src/main/release/bin/oclip-grpc-server.sh (renamed from deployment/zip/src/main/release/bin/oclip-cmdflow-server.sh)1
-rw-r--r--deployment/zip/src/main/release/bin/oclip-rcli.sh1
4 files changed, 7 insertions, 3 deletions
diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile
index 21630d17..0fc2a156 100644
--- a/deployment/docker/src/main/docker/Dockerfile
+++ b/deployment/docker/src/main/docker/Dockerfile
@@ -34,10 +34,10 @@ RUN apt-get update && apt-get install -y lighttpd git curl pandoc vim && \
apt-get purge -y pandoc && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/go /tmp/gotty /tmp/* /var/tmp/* && \
chmod +x $OPEN_CLI_HOME/bin/oclip.sh && \
chmod +x $OPEN_CLI_HOME/bin/oclip-rcli.sh && \
- chmod +x $OPEN_CLI_HOME/bin/oclip-cmdflow-server.sh && \
+ chmod +x $OPEN_CLI_HOME/bin/oclip-grpc-server.sh && \
ln $OPEN_CLI_HOME/bin/oclip.sh /usr/sbin/oclip && \
ln $OPEN_CLI_HOME/bin/oclip.sh /usr/sbin/onap && \
- ln $OPEN_CLI_HOME/bin/oclip-cmdflow-server.sh /usr/sbin/oclip-grpc && \
+ ln $OPEN_CLI_HOME/bin/oclip-grpc-server.sh /usr/sbin/oclip-grpc && \
ln $OPEN_CLI_HOME/bin/oclip-rcli.sh /usr/sbin/oclipr && \
if [ ! -d $OPEN_CLI_HOME/data ]; then mkdir $OPEN_CLI_HOME/data; fi && \
if [ ! -d $OPEN_CLI_HOME/open-cli-schema ]; then mkdir $OPEN_CLI_HOME/open-cli-schema; fi && \
diff --git a/deployment/zip/installer/install.sh b/deployment/zip/installer/install.sh
index 6e1956f7..1bcc45d0 100644
--- a/deployment/zip/installer/install.sh
+++ b/deployment/zip/installer/install.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#*******************************************************************************
-# Copyright 2017 Huawei Technologies Co., Ltd.
+# Copyright 2018 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -26,11 +26,13 @@ if [ ! -d ./open-cli-schema ]; then mkdir ./open-cli-schema; fi
chmod +x ./bin/oclip.sh
chmod +x ./bin/oclip-rcli.sh
+chmod +x ./bin/oclip-grpc-server.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
+ln -sf ./bin/oclip-grpc-server.sh /usr/bin/oclip-grpc
#Print the version
oclip -v
diff --git a/deployment/zip/src/main/release/bin/oclip-cmdflow-server.sh b/deployment/zip/src/main/release/bin/oclip-grpc-server.sh
index d13878db..12b0a1ef 100644
--- a/deployment/zip/src/main/release/bin/oclip-cmdflow-server.sh
+++ b/deployment/zip/src/main/release/bin/oclip-grpc-server.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#*******************************************************************************
+# Copyright 2017 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/deployment/zip/src/main/release/bin/oclip-rcli.sh b/deployment/zip/src/main/release/bin/oclip-rcli.sh
index 8caec38c..bae13f29 100644
--- a/deployment/zip/src/main/release/bin/oclip-rcli.sh
+++ b/deployment/zip/src/main/release/bin/oclip-rcli.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#*******************************************************************************
+# Copyright 2018 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.