diff options
Diffstat (limited to 'deployment/zip')
-rw-r--r-- | deployment/zip/installer/install-latest.sh | 18 | ||||
-rw-r--r-- | deployment/zip/pom.xml | 3 | ||||
-rw-r--r-- | deployment/zip/src/main/release/data/onap-beijing-profile.json | 8 |
3 files changed, 11 insertions, 18 deletions
diff --git a/deployment/zip/installer/install-latest.sh b/deployment/zip/installer/install-latest.sh index 71488dae..19d0ce92 100644 --- a/deployment/zip/installer/install-latest.sh +++ b/deployment/zip/installer/install-latest.sh @@ -1,7 +1,7 @@ #!/bin/bash #******************************************************************************* -# Copyright 2017 Huawei Technologies Co., Ltd. +# Copyright 2017-18 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. @@ -17,10 +17,9 @@ #******************************************************************************* CLI_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.cli&a=cli-zip&e=zip&v=LATEST" -CLI_INSTALL_DIR=/opt/onap/cli +CLI_INSTALL_DIR=/opt/oclip CLI_ZIP=cli.zip -CLI_BIN=/usr/bin/onap -export OPEN_CLI_HOME=$CLI_INSTALL_DIR +CLI_BIN=/usr/bin/oclip #create install dir if [ -d $CLI_INSTALL_DIR ] @@ -45,14 +44,5 @@ fi wget -O $CLI_ZIP $CLI_LATEST_BINARY unzip $CLI_ZIP -if [ ! -d ./data ]; then mkdir ./data; fi -if [ ! -d ./open-cli-schema ]; then mkdir ./open-cli-schema; fi -chmod +x ./bin/oclip.sh -#Make oclip available in path -ln ./bin/oclip.sh $CLI_BIN - -#Print the version -onap -v - -cd - +source ./install.sh diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml index 46f7df02..645144fa 100644 --- a/deployment/zip/pom.xml +++ b/deployment/zip/pom.xml @@ -65,6 +65,9 @@ ant.delete(dir: "${deployUnzip}/open-cli-schema") ant.mkdir(dir: "${deployUnzip}/open-cli-schema") + ant.delete(dir: "${deployUnzip}/open-cli-sample") + ant.mkdir(dir: "${deployUnzip}/open-cli-sample") + ant.delete(dir: "${deployUnzip}/data") ant.mkdir(dir: "${deployUnzip}/data") diff --git a/deployment/zip/src/main/release/data/onap-beijing-profile.json b/deployment/zip/src/main/release/data/onap-beijing-profile.json index 0c186e11..5cd58c4c 100644 --- a/deployment/zip/src/main/release/data/onap-beijing-profile.json +++ b/deployment/zip/src/main/release/data/onap-beijing-profile.json @@ -2,7 +2,7 @@ { "product" : "onap-beijing", "name" : "aai:host-url", - "value" : "" + "value" : "https://192.168.17.35:30233" }, { "product" : "onap-beijing", @@ -17,12 +17,12 @@ { "product" : "onap-beijing", "name" : "msb:host-url", - "value" : "" + "value" : "http://192.168.17.35:30081" }, { "product" : "onap-beijing", "name" : "sdc:host-url", - "value" : "" + "value" : "http://192.168.17.35:30206" }, { "product" : "onap-beijing", @@ -37,7 +37,7 @@ { "product" : "onap-beijing", "name" : "so:host-url", - "value" : "" + "value" : "http://192.168.17.35:30223" }, { "product" : "onap-beijing", |