From 4de0870f3bb8d9faaa01508d9a08e76cb6c74714 Mon Sep 17 00:00:00 2001 From: "aditya.puthuparambil" Date: Wed, 6 May 2020 12:06:50 +0100 Subject: PAP Stability test changes Issue-ID: POLICY-2454 Signed-off-by: aditya.puthuparambil Change-Id: I400dc0cf4df57714aac657e735fecc7fd29e6f87 --- .../src/main/resources/simulatorsetup/config/pdp/OnapPfConfig.json | 5 +++-- .../src/main/resources/simulatorsetup/setup_components.sh | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'testsuites/stability/src/main/resources/simulatorsetup') 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 -- cgit 1.2.3-korg