From 068c6e59e8b1e7592a65410b3eb4152314d64f09 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Wed, 7 Mar 2018 10:11:33 -0500 Subject: Change to start traversal and haproxy at same time Issue-ID: AAI-95 Change-Id: I48c31e8ab14818eb254a054185282a84c8b3d9c2 Signed-off-by: Venkata Harish K Kajur --- deploy_vm1.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/deploy_vm1.sh b/deploy_vm1.sh index 9fbb2ae..d51d8d1 100755 --- a/deploy_vm1.sh +++ b/deploy_vm1.sh @@ -161,11 +161,8 @@ chown -R $USER_ID:$USER_ID $RESOURCE_LOGS $TRAVERSAL_LOGS; RESOURCES_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai-resources.api.simpledemo.onap.org 2>&1 | grep 'Creating' | grep -v 'volume' | grep -v 'network' | awk '{ print $2; }' | head -1); wait_for_container $RESOURCES_CONTAINER_NAME 'Resources Microservice Started'; -GRAPH_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai-traversal.api.simpledemo.onap.org 2>&1 | grep 'Creating' | awk '{ print $2; }' | head -1); -wait_for_container $GRAPH_CONTAINER_NAME 'Traversal Microservice Started'; - -# Deploy haproxy and traversal and resources -$DOCKER_COMPOSE_CMD up -d aai.api.simpledemo.onap.org +# Deploy haproxy and traversal at the same time for traversal to make updateQuery against resources using haproxy +$DOCKER_COMPOSE_CMD up -d aai-traversal.api.simpledemo.onap.org aai.api.simpledemo.onap.org $DOCKER_COMPOSE_CMD up -d sparky-be -- cgit 1.2.3-korg