diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-03-28 16:47:49 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-03-29 01:19:34 -0400 |
commit | 4e2284d827b71fa9db20f5c3756095a0ade73044 (patch) | |
tree | faad603edf545a3d25625907f16e52d98c2184c9 /deploy_vm2.sh | |
parent | 018883bdca2dedf22035af93d56a65f10c463776 (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_vm2.sh')
-rwxr-xr-x | deploy_vm2.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/deploy_vm2.sh b/deploy_vm2.sh index 5ef9068..ccfa33f 100755 --- a/deploy_vm2.sh +++ b/deploy_vm2.sh @@ -34,15 +34,13 @@ function wait_for_container() { done } -docker pull ${HBASE_IMAGE}:${HBASE_VERSION}; +docker pull cassandra:2.1; # cleanup $DOCKER_COMPOSE_CMD stop $DOCKER_COMPOSE_CMD rm -f -v -HBASE_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.hbase.simpledemo.onap.org 2>&1 | grep 'Creating' | grep -v 'volume' | grep -v 'network' | awk '{ print $2; }' | head -1); -wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:8085'; -wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:8080'; -wait_for_container $HBASE_CONTAINER_NAME ' Started SelectChannelConnector@0.0.0.0:9095'; +CASSANDRA_CONTAINER_NAME=$($DOCKER_COMPOSE_CMD up -d aai.hbase.simpledemo.onap.org 2>&1 | grep 'Creating' | grep -v 'volume' | grep -v 'network' | awk '{ print $2; }' | head -1); +wait_for_container $CASSANDRA_CONTAINER_NAME 'Listening for thrift clients'; $DOCKER_COMPOSE_CMD up -d aai.elasticsearch.simpledemo.openecomp.org |