From 551a1d2b43090f66404a042bd5a073af0f4e0797 Mon Sep 17 00:00:00 2001 From: Vijay Date: Thu, 14 Sep 2017 20:25:14 +0000 Subject: fix docker startup error Change-Id: I99193af68b18d540c1af04095caa48d16b3d4184 Issue-Id:DCAEGEN2-82 Signed-off-by: Vijay --- src/main/scripts/docker-entry.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh index 112318b2..58f40b40 100644 --- a/src/main/scripts/docker-entry.sh +++ b/src/main/scripts/docker-entry.sh @@ -18,14 +18,15 @@ # limitations under the License. # ============LICENSE_END========================================================= ### -echo \$COLLECTOR_IP \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts +#echo \$COLLECTOR_IP \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts if [ -z "$CONSUL_HOST" ] || [ -z "$CONFIG_BINDING_SERVICE" ] || [ -z "$HOSTNAME" ]; then - echo "INFO: USING STANDARD CONTROLLER" - /opt/app/manager/start-manager.sh + echo "INFO: USING STANDARD ALONE CONFIGURATION SETUP; DMAAP PUBLISH NOT SUPPORTED" + # /opt/app/manager/start-manager.sh else echo "INFO: USING DCAEGEN2 CONTROLLER" - /opt/app/VESCollector/bin/VESrestfulCollector.sh stop - /opt/app/VESCollector/bin/VESrestfulCollector.sh start & fi -#while true; do sleep 1000; done +/opt/app/VESCollector/bin/VESrestfulCollector.sh stop +/opt/app/VESCollector/bin/VESrestfulCollector.sh start & + +while true; do sleep 1000; done -- cgit 1.2.3-korg