summaryrefslogtreecommitdiffstats
path: root/deploy_vm1.sh
diff options
context:
space:
mode:
authorSanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>2018-03-06 17:46:21 +0000
committerSanchez, Gabriel (gs882h) <gabriel.sanchez@amdocs.com>2018-03-06 17:46:21 +0000
commit3352e2f1c37b5dadd756aada11ef0d822b2a32ca (patch)
tree2de8258a438a6275765c277cc7dd7f97d1219cf1 /deploy_vm1.sh
parenta8af13e4b4f8e34c2aea30831db2c33125b55a81 (diff)
Add Gizmo (crud-service) in test-config
Certs, drop pre-v11 and rename cert to champ Issue-ID: AAI-836 Change-Id: I859ded7728bf206bc4cdde7ee02f93b942258b4e Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
Diffstat (limited to 'deploy_vm1.sh')
-rwxr-xr-xdeploy_vm1.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy_vm1.sh b/deploy_vm1.sh
index 2c1376b..fd97fe6 100755
--- a/deploy_vm1.sh
+++ b/deploy_vm1.sh
@@ -14,6 +14,7 @@ export DATA_ROUTER_LOGS="/opt/aai/logroot/AAI-DATA-ROUTER";
export MODEL_LOADER_LOGS="/opt/aai/logroot/AAI-MODEL-LOADER";
export UI_LOGS="/opt/aai/logroot/AAI-UI";
export CHAMP_LOGS="/opt/aai/logroot/AAI-CHAMP-SERVICE";
+export CRUD_LOGS="/opt/aai/logroot/AAI-CRUD-SERVICE";
if [ ! -d "$RESOURCES_LOGS" ];
then
@@ -57,6 +58,12 @@ then
mkdir -p $CHAMP_LOGS;
fi;
+if [ ! -d "$CRUD_LOGS" ];
+then
+ echo "Warning: Unable to find the volume directory $CRUD_LOGS so creating it as regular directory";
+ mkdir -p $CRUD_LOGS;
+fi;
+
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1);
export DOCKER_REGISTRY="${DOCKER_REGISTRY:-localhost:5000}";
export AAI_HAPROXY_IMAGE="${AAI_HAPROXY_IMAGE:-aaionap/haproxy}";
@@ -131,6 +138,9 @@ docker tag $DOCKER_REGISTRY/onap/sparky-be:$DOCKER_IMAGE_VERSION $DOCKER_REGISTR
docker pull ${DOCKER_REGISTRY}/onap/champ-service:${DOCKER_IMAGE_VERSION};
docker tag $DOCKER_REGISTRY/onap/champ-service:$DOCKER_IMAGE_VERSION $DOCKER_REGISTRY/onap/champ-service:latest;
+docker pull ${DOCKER_REGISTRY}/onap/crud-service:${DOCKER_IMAGE_VERSION};
+docker tag $DOCKER_REGISTRY/onap/crud-service:$DOCKER_IMAGE_VERSION $DOCKER_REGISTRY/onap/crud-service:latest;
+
# cleanup
$DOCKER_COMPOSE_CMD stop
$DOCKER_COMPOSE_CMD rm -f -v
@@ -161,6 +171,8 @@ $DOCKER_COMPOSE_CMD up -d model-loader datarouter aai.searchservice.simpledemo.o
$DOCKER_COMPOSE_CMD up -d champ-service
+$DOCKER_COMPOSE_CMD up -d crud-service
+
echo "A&AI Microservices are successfully started";
crontab < /opt/test-config/aaicrontab