diff options
author | 2020-05-06 12:06:50 +0100 | |
---|---|---|
committer | 2020-05-07 14:12:32 +0100 | |
commit | 4de0870f3bb8d9faaa01508d9a08e76cb6c74714 (patch) | |
tree | 17032b34711f716173f8e6d4c279dd9e5a3e42b0 /testsuites/stability/src/main/resources/simulatorsetup | |
parent | 26df07d10d9b0a7e6e9e9ab2d9cc14ed735c0d1d (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')
-rw-r--r-- | testsuites/stability/src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json | 5 | ||||
-rw-r--r-- | testsuites/stability/src/main/resources/simulatorsetup/setup_components.sh | 7 |
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 |