[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>
diff --git a/policy-pe/docker-install.sh b/policy-pe/docker-install.sh
index fa9472f..edce422 100644
--- a/policy-pe/docker-install.sh
+++ b/policy-pe/docker-install.sh
@@ -120,7 +120,7 @@
"${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 @@
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() {