aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2020-04-16 21:28:20 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2020-04-16 21:28:20 +0530
commit252b3e313b435e5333b1001f2a4decf904d2c892 (patch)
tree01cc5d5146fd72dd93d764423a477f8e88f25cbd /deployment
parent2bb3344c6b3ec9bd77d1491d5beb579bdabc62f2 (diff)
Set port to 9443
Issue-ID: CLI-255 Change-Id: Ic5a65ef7c1052ac62bd2dba05d4e403cba3c15d1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment')
-rw-r--r--deployment/docker/src/main/docker/Dockerfile6
-rw-r--r--deployment/http/web/index.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile
index 6d5a8bcf..2061c7df 100644
--- a/deployment/docker/src/main/docker/Dockerfile
+++ b/deployment/docker/src/main/docker/Dockerfile
@@ -60,10 +60,10 @@ RUN sudo apt-get install -y lighttpd git curl pandoc vim && \
sudo cp $OPEN_CLI_HOME/http/web/ocomp.pem /etc/lighttpd/ocomp.pem
#openssl req -x509 -nodes -days 9999 -newkey rsa:2048 -keyout ~/.ocomp.key -out ~/.ocomp.crt -subj "/C=IN/ST=KA/L=BLR/O=CLI/CN=onap"
EXPOSE 443
-EXPOSE 9090
+EXPOSE 9443
EXPOSE 50051
-ENTRYPOINT if [ "$OPEN_CLI_MODE" = "daemon" ]; then sudo service lighttpd start; gotty -t --port 9090 --permit-write --reconnect oclip; \
+ENTRYPOINT if [ "$OPEN_CLI_MODE" = "daemon" ]; then sudo service lighttpd start; gotty -t --port 9443 --permit-write --reconnect oclip; \
elif [ "$OPEN_CLI_MODE" = "ocs-web" ]; then echo "****** OCLIP Web Command Server ******"; sudo service lighttpd start; \
elif [ "$OPEN_CLI_MODE" = "ocs-grpc" ]; then echo "****** OCLIP gRPC Command Server ******"; oclip-grpc; \
- elif [ "$OPEN_CLI_MODE" = "occ" ]; then echo "****** OCLIP Web Command Console (OCC) ******"; gotty -t --port 9090 --permit-write --reconnect oclip; \
+ elif [ "$OPEN_CLI_MODE" = "occ" ]; then echo "****** OCLIP Web Command Console (OCC) ******"; gotty -t --port 9443 --permit-write --reconnect oclip; \
else echo "****** OCLIP Command Shell******"; oclip -v && /bin/bash; fi
diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html
index 0b9d6b62..cebc79fe 100644
--- a/deployment/http/web/index.html
+++ b/deployment/http/web/index.html
@@ -21,7 +21,7 @@
<meta charset="utf-8"><title>OCLIP...industry first open platform for cli</title><style></style>
<script>
function redirectToConsole(){
- window.location.href="https://"+ window.location.hostname + ":9090";
+ window.location.href="https://"+ window.location.hostname + ":9443";
}
function redirectToConsoleOOM(){