summaryrefslogtreecommitdiffstats
path: root/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh
diff options
context:
space:
mode:
authoraditya.puthuparambil <aditya.puthuparambil@est.tech>2020-05-06 12:06:50 +0100
committeraditya.puthuparambil <aditya.puthuparambil@est.tech>2020-05-07 14:12:32 +0100
commit4de0870f3bb8d9faaa01508d9a08e76cb6c74714 (patch)
tree17032b34711f716173f8e6d4c279dd9e5a3e42b0 /testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh
parent26df07d10d9b0a7e6e9e9ab2d9cc14ed735c0d1d (diff)
PAP Stability test changes
Issue-ID: POLICY-2454 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I400dc0cf4df57714aac657e735fecc7fd29e6f87
Diffstat (limited to 'testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh')
-rw-r--r--testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh
index 86de3c1e..8ea123d9 100644
--- a/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh
+++ b/testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# ============LICENSE_START=======================================================
-# Copyright (c) 2019 Nordix Foundation.
+# Copyright (c) 2019 - 2020 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -59,6 +59,7 @@ cd ${DIR}
rm -rf ${WORK_DIR}
docker run -p 3306:3306 -v ${DIR}/config/db:/docker-entrypoint-initdb.d --name mariadb --env-file ${DIR}/config/db/db.conf -d --rm mariadb:10.2.14 --lower-case-table-names=1 --wait_timeout=28800
-docker run -p 3904:3904 -d --name dmaap-simulator --rm dmaap/simulator:latest
-docker run -v ${DIR}/config/pdp:/opt/app/policy/pdp-sim/etc/config/ -d --name pdp-simulator --rm pdp/simulator:latest
+docker run -p 3904:3904 -d --name message-router --rm dmaap/simulator:latest
+sleep 10
+docker run --link message-router:message-router -d --name pdp-simulator --rm pdp/simulator:latest
docker run -p 6969:6969 --link mariadb:mariadb --name policy-api -d --rm nexus3.onap.org:10001/onap/policy-api