diff options
Diffstat (limited to 'policy-pe')
-rw-r--r-- | policy-pe/docker-install.sh | 16 |
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() { |