From e1ab69fa9c80ecfd5ab5bd19da9d67af4e1107fb Mon Sep 17 00:00:00 2001 From: Vijay Date: Mon, 11 Sep 2017 02:11:01 +0000 Subject: update ves buildscript & fix build error https://jenkins.onap.org/view/dcagen2/job/dcaegen2-collectors-ves-master-release-version-java-daily/13/console Change-Id: I21bedaebedd307c792fe7e38f8bc5b2d8875ef06 Issue-Id: DCAEGEN2-82 Signed-off-by: Vijay --- src/assembly/dep.xml | 8 ++++++++ src/main/scripts/docker-entry.sh | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/assembly/dep.xml b/src/assembly/dep.xml index 86f9ffc1..cb72aa4a 100644 --- a/src/assembly/dep.xml +++ b/src/assembly/dep.xml @@ -66,6 +66,13 @@ specs + + ./ + + Dockerfile + + ./ + @@ -76,3 +83,4 @@ + diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh index e8766d6f..112318b2 100644 --- a/src/main/scripts/docker-entry.sh +++ b/src/main/scripts/docker-entry.sh @@ -1,5 +1,4 @@ #!/bin/sh - ### # ============LICENSE_START======================================================= # PROJECT @@ -19,8 +18,7 @@ # limitations under the License. # ============LICENSE_END========================================================= ### - - +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 @@ -30,3 +28,4 @@ else /opt/app/VESCollector/bin/VESrestfulCollector.sh start & fi #while true; do sleep 1000; done + -- cgit 1.2.3-korg