summaryrefslogtreecommitdiffstats
path: root/deploy_vm1.sh
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-03-28 16:47:49 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-03-29 01:19:34 -0400
commit4e2284d827b71fa9db20f5c3756095a0ade73044 (patch)
treefaad603edf545a3d25625907f16e52d98c2184c9 /deploy_vm1.sh
parent018883bdca2dedf22035af93d56a65f10c463776 (diff)
Update from titan to using janus graph
Issue-ID: AAI-949 Change-Id: I1b2aa5cafaefca7cfde779f5c52fa54875fd25ea Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'deploy_vm1.sh')
-rwxr-xr-xdeploy_vm1.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy_vm1.sh b/deploy_vm1.sh
index 34a3d43..c07eb96 100755
--- a/deploy_vm1.sh
+++ b/deploy_vm1.sh
@@ -168,12 +168,18 @@ fi;
chown -R $USER_ID:$USER_ID $RESOURCE_LOGS $TRAVERSAL_LOGS;
+$DOCKER_COMPOSE_CMD run --rm aai-resources.api.simpledemo.onap.org createDBSchema.sh
+
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';
# 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
+sleep 3;
+
+$DOCKER_COMPOSE_CMD run --rm aai-traversal.api.simpledemo.onap.org install/updateQueryData.sh
+
$DOCKER_COMPOSE_CMD up -d sparky-be
$DOCKER_COMPOSE_CMD up -d model-loader datarouter aai.searchservice.simpledemo.openecomp.org