summaryrefslogtreecommitdiffstats
path: root/policy-pe/docker-install.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-07-21 12:13:56 +0000
committerJorge Hernandez <jh1730@att.com>2017-07-31 17:08:52 -0500
commitf43a7e68e22a6be750d34dda6e633682aacec98d (patch)
tree0d588d2ada64e575514f74c1fd1eac0299bf74c5 /policy-pe/docker-install.sh
parent1fbd3d87bc246e670a236dc0711fb09862f32fd1 (diff)
[POLICY-86] replace openecomp for policy-docker
Change-Id: I4db534a29c73a3cb2d70655ee54c856b83655fb2 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-pe/docker-install.sh')
-rw-r--r--policy-pe/docker-install.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/policy-pe/docker-install.sh b/policy-pe/docker-install.sh
index fa9472f1..edce4221 100644
--- a/policy-pe/docker-install.sh
+++ b/policy-pe/docker-install.sh
@@ -120,7 +120,7 @@ function tomcat_component() {
"${POLICY_HOME}/servers/${COMPONENT_TYPE}/webapps/host-manager"
if [[ ${COMPONENT_TYPE} == console ]]; then
- install_ecomp_portal_settings
+ install_onap_portal_settings
fi
return 0
@@ -188,17 +188,17 @@ function configure_component() {
list_unexpanded_files ${POLICY_HOME}
}
-function install_ecomp_portal_settings() {
- echo "Install ecomp portal settings"
+function install_onap_portal_settings() {
+ echo "Install onap portal settings"
- # unpack ecomp war file
- mkdir -p "${POLICY_HOME}"/servers/console/webapps/ecomp
- cd "${POLICY_HOME}"/servers/console/webapps/ecomp
- unzip -q ../ecomp.war
+ # unpack onap war file
+ mkdir -p "${POLICY_HOME}"/servers/console/webapps/onap
+ cd "${POLICY_HOME}"/servers/console/webapps/onap
+ unzip -q ../onap.war
cd ${INSTALL_DIR}
# copy over the configured settings
- /bin/cp -fr "${POLICY_HOME}"/install/servers/ecomp/* "${POLICY_HOME}/servers/console/webapps/ecomp"
+ /bin/cp -fr "${POLICY_HOME}"/install/servers/onap/* "${POLICY_HOME}/servers/console/webapps/onap"
}
function check_r_file() {