[PORTAL-31] Repair defects in deployment 95/5795/1
authorChristopher Lott (cl778h) <clott@research.att.com>
Thu, 13 Jul 2017 21:04:39 +0000 (17:04 -0400)
committerChristopher Lott (cl778h) <clott@research.att.com>
Thu, 13 Jul 2017 21:05:50 +0000 (17:05 -0400)
Includes docker build failures and footer icon

Change-Id: I293f2767f36ab3fe824d8143e58e14dc2119c13e
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
deliveries/dbstop.sh [new file with mode: 0644]
deliveries/etc.zip
deliveries/os_Dockerfile
deliveries/os_build_febe.sh
deliveries/widget_ms_start.sh
ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html

diff --git a/deliveries/dbstop.sh b/deliveries/dbstop.sh
new file mode 100644 (file)
index 0000000..6fb7dc3
--- /dev/null
@@ -0,0 +1,2 @@
+docker stop ecompdb_portal
+docker  rm ecompdb_portal
\ No newline at end of file
index 0d1a929..a5577c1 100644 (file)
Binary files a/deliveries/etc.zip and b/deliveries/etc.zip differ
index d4bfeda..130244d 100644 (file)
@@ -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"]
index 18cfc37..c911089 100755 (executable)
@@ -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
index 8405fe9..aa9da14 100755 (executable)
@@ -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
 
index b03e8da..b79c457 100644 (file)
@@ -28,9 +28,6 @@
                                        <div id="display-inline"  class="displayInline">
                                        </div>
                                </div>
-                               <div>
-                                       <img src="assets/images/onap-logo.png" alt="Onap Logo" class="onap-title-logo-footer" >
-                               </div>
                        </div>
                </div>
     </div>