summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2018-03-07 10:11:33 -0500
committerVenkata Harish K Kajur <vk250x@att.com>2018-03-07 10:11:37 -0500
commit068c6e59e8b1e7592a65410b3eb4152314d64f09 (patch)
tree017755076104788567c5941813aea7e305c22689
parentd3eeb821e65e48295500a6d8ed52a7f73c8fe733 (diff)
Change to start traversal and haproxy at same time
Issue-ID: AAI-95 Change-Id: I48c31e8ab14818eb254a054185282a84c8b3d9c2 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rwxr-xr-xdeploy_vm1.sh7
1 files 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