diff options
Diffstat (limited to 'deploy_vm1.sh')
-rwxr-xr-x | deploy_vm1.sh | 6 |
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 |