summaryrefslogtreecommitdiffstats
path: root/testsuites/stability/src/main/resources/simulatorsetup
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/stability/src/main/resources/simulatorsetup')
-rw-r--r--testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json5
-rw-r--r--testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh7
2 files changed, 7 insertions, 5 deletions
diff --git a/testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json b/testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json
index de31d50f..337cf458 100644
--- a/testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json
+++ b/testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json
@@ -1,7 +1,8 @@
{
"name":"OnapPfParameterGroup",
- "pdpStatusParameters":{
- "timeIntervalMs": 120000,
+ "pdpStatusParameters": {
+ "pdpGroup": "sampleGroup",
+ "timeIntervalMs": 30000,
"pdpType":"apex",
"description":"Pdp Heartbeat",
"supportedPolicyTypes":[{"name":"onap.policies.controlloop.operational.Apex","version":"1.0.0"}]
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