From: Christopher Lott (cl778h) Date: Thu, 13 Jul 2017 21:04:39 +0000 (-0400) Subject: [PORTAL-31] Repair defects in deployment X-Git-Tag: v1.3.0~56 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=portal.git;a=commitdiff_plain;h=c67680ada04c96a1753c037d67080c65628d32ca [PORTAL-31] Repair defects in deployment Includes docker build failures and footer icon Change-Id: I293f2767f36ab3fe824d8143e58e14dc2119c13e Signed-off-by: Christopher Lott (cl778h) --- diff --git a/deliveries/dbstop.sh b/deliveries/dbstop.sh new file mode 100644 index 00000000..6fb7dc3f --- /dev/null +++ b/deliveries/dbstop.sh @@ -0,0 +1,2 @@ +docker stop ecompdb_portal +docker rm ecompdb_portal \ No newline at end of file diff --git a/deliveries/etc.zip b/deliveries/etc.zip index 0d1a9290..a5577c1d 100644 Binary files a/deliveries/etc.zip and b/deliveries/etc.zip differ diff --git a/deliveries/os_Dockerfile b/deliveries/os_Dockerfile index d4bfeda2..130244da 100644 --- a/deliveries/os_Dockerfile +++ b/deliveries/os_Dockerfile @@ -78,7 +78,7 @@ COPY configure-and-run.sh /PROJECT/OpenSource/UbuntuEP/ #RUN cp -r ${FE_DIR}/dist/public ${PORTALHOME}/public -COPY ${FE_DIR}/dist/public ${PORTALHOME} +COPY ${FE_DIR}/dist/public ${PORTALHOME}/public # Define default command. #CMD ["bash"] CMD ["/PROJECT/OpenSource/UbuntuEP/configure-and-run.sh"] diff --git a/deliveries/os_build_febe.sh b/deliveries/os_build_febe.sh index 18cfc374..c9110892 100755 --- a/deliveries/os_build_febe.sh +++ b/deliveries/os_build_febe.sh @@ -4,9 +4,15 @@ set -e -x source $(dirname $0)/os_settings.sh +# Work standalone and in Jenkins. +# Pick up Jenkins settings for this script. # Use -B for batch operation to skip download progress output -export MVN="${MVN} -gs ${GLOBAL_SETTINGS_FILE} -s ${SETTINGS_FILE} -B" -#MVN=mvn +if [ -n "$MVN" ]; then + export MVN="${MVN} -gs ${GLOBAL_SETTINGS_FILE} -s ${SETTINGS_FILE} -B" +else + MVN=mvn +fi + CURRENTDIR="$(pwd)" # install ecomp portal @@ -55,7 +61,7 @@ cp -r dmaapbc/dcae_dmaapbc_webapp $DBCDIR/dcae_dmaapbc_webapp cd $DBCDIR/dcae_dmaapbc_webapp ${MVN} install cd dbca-os/target -mv dmaap-bc-app-os-1.1.0-SNAPSHOT ep-dbc-app +mv dmaap-bc-app-os ep-dbc-app # Build complete database script in the "OS" script area cd ../db-scripts diff --git a/deliveries/widget_ms_start.sh b/deliveries/widget_ms_start.sh index 8405fe99..aa9da147 100755 --- a/deliveries/widget_ms_start.sh +++ b/deliveries/widget_ms_start.sh @@ -1,4 +1,5 @@ -APP_PROPERTY_LOCATION=/tmp/application.properties +BASEDIR=/PROJECT/OpenSource/UbuntuEP +WIDGETMSAPPPROPDIR=ECOMPWIDGETMS echo "Starting ecomp-portal-widget-ms image in a new container !!!" -docker run -d --name "ecomp-portal-widget-ms" -p 8083:8082 -v $APP_PROPERTY_LOCATION:/application.properties ecompportal-widget-ms +docker run -d --name "ecomp-portal-widget-ms" -p 8082:8082 -v ${BASEDIR}/etc/${WIDGETMSAPPPROPDIR}/application.properties:/application.properties widget-ms diff --git a/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html b/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html index b03e8da5..b79c4579 100644 --- a/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html +++ b/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html @@ -28,9 +28,6 @@
-
- Onap Logo -