aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dmaap-datarouter/dr-suite/setup.sh
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2019-03-25 11:40:55 +0000
committerefiacor <fiachra.corcoran@est.tech>2019-03-25 11:40:55 +0000
commit87e2e55c8c58d2f5b6fdf984eee64ce06cc83287 (patch)
tree6b29ac81cc04d10c1b42d0b6a1ecbfc04f4fb54f /plans/dmaap-datarouter/dr-suite/setup.sh
parent3b9d65cc124b6fbdcd140466fe36bc09178fe510 (diff)
DMaaP DR adding props files
Change-Id: I6980e58c3c0bb8d3e0b3903bccfd604398562e7a Issue-ID: DMAAP-1016 Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Diffstat (limited to 'plans/dmaap-datarouter/dr-suite/setup.sh')
-rwxr-xr-xplans/dmaap-datarouter/dr-suite/setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/plans/dmaap-datarouter/dr-suite/setup.sh b/plans/dmaap-datarouter/dr-suite/setup.sh
index fa0764db..398eb7cd 100755
--- a/plans/dmaap-datarouter/dr-suite/setup.sh
+++ b/plans/dmaap-datarouter/dr-suite/setup.sh
@@ -11,6 +11,8 @@ cd datarouter
git pull
cd $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources
cp $WORKSPACE/plans/dmaap-datarouter/dr-suite/docker-compose/docker-compose.yml .
+cp $WORKSPACE/plans/dmaap-datarouter/dr-suite/docker-compose/provserver.properties ./prov_data/provserver.properties
+cp $WORKSPACE/plans/dmaap-datarouter/dr-suite/docker-compose/node.properties ./node_data/node.properties
# start DMaaP DR containers with docker compose and configuration from docker-compose.yml
docker login -u docker -p docker nexus3.onap.org:10001
@@ -47,7 +49,7 @@ for i in {1..10}; do
then
echo datarouter-prov container is not in healthy state - the test is not made, teardown...
cd $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources
- docker-compose down -v
+ docker-compose rm -sf
exit 1
fi
fi