diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-10-08 11:57:13 +0100 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-10-08 14:45:24 +0100 |
commit | d3719ee727e12ecdcf84fdbab8774be9f00eba0d (patch) | |
tree | d961c22c0cc112d9d2f4a3f01301cef9779c3eaa /testsuites/apex-pdp-stability/src/main/resources/simulatorConfig | |
parent | e035272e96ed241bbe3192c9c8fcadc975514608 (diff) |
APEX-PDP S3P changes for Istanbul
Change-Id: I58f564ef19df39f2c0fff64a72c9f083faf88556
Issue-ID: POLICY-3655
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'testsuites/apex-pdp-stability/src/main/resources/simulatorConfig')
4 files changed, 129 insertions, 0 deletions
diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json new file mode 100644 index 000000000..4f03bbfa1 --- /dev/null +++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-modify-config.json @@ -0,0 +1,33 @@ +{ + "correlationUUID": null, + "commonHeader": { + "timestamp": "2020-12-16T10:29:00.450Z", + "originatorId": "POLICY", + "requestId": "f392e439-c176-411b-b972-8acadac0f8df", + "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", + "flags": null + }, + "actionIdentifiers": { + "blueprintName": "apex-example-cba", + "blueprintVersion": "1.0.0", + "actionName": "modify-config", + "mode": "sync" + }, + "status": { + "code": 200, + "eventType": "EVENT_COMPONENT_EXECUTED", + "timestamp": "2020-12-16T10:29:01.737Z", + "errorMessage": null, + "message": "success" + }, + "payload": { + "modify-config-response": { + "execute-command-logs": [ + "INFO:root:Arguments : Active,," + ], + "prepare-environment-logs": [ + "Installed pip packages:\n requirements.txt\n\n" + ] + } + } +} diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json new file mode 100644 index 000000000..694bc6df0 --- /dev/null +++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/apex-example-cba-restart.json @@ -0,0 +1,33 @@ +{ + "correlationUUID": null, + "commonHeader": { + "timestamp": "2020-12-16T10:30:46.213Z", + "originatorId": "POLICY", + "requestId": "f392e439-c176-411b-b972-8acadac0f8df", + "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006", + "flags": null + }, + "actionIdentifiers": { + "blueprintName": "apex-example-cba", + "blueprintVersion": "1.0.0", + "actionName": "restart", + "mode": "sync" + }, + "status": { + "code": 200, + "eventType": "EVENT_COMPONENT_EXECUTED", + "timestamp": "2020-12-16T10:30:46.828Z", + "errorMessage": null, + "message": "success" + }, + "payload": { + "restart-response": { + "execute-command-logs": [ + "INFO:root:Arguments : Active,," + ], + "prepare-environment-logs": [ + "Installed pip packages:\n requirements.txt\n\n" + ] + } + } +} diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json new file mode 100644 index 000000000..342ae8b1e --- /dev/null +++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/cdsresponse/controlloop-hostname-update-update-config.json @@ -0,0 +1,36 @@ +{ + "commonHeader": { + "timestamp": "2020-08-24T14:45:07.491Z", + "originatorId": "CDS", + "requestId": "123456", + "subRequestId": "123-123", + "flags": null + }, + "actionIdentifiers": { + "blueprintName": "controlloop-hostname-update", + "blueprintVersion": "1.0.4", + "actionName": "update-config", + "mode": "sync" + }, + "status": { + "code": 200, + "eventType": "EVENT_COMPONENT_EXECUTED", + "timestamp": "2020-08-24T14:45:12.863Z", + "errorMessage": null, + "message": "success" + }, + "payload": { + "update-config-response": { + "execute-command-logs": [ + "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"/>", + "INFO:root:configuring Device....", + "INFO:root:Done Device Configuration Successfully", + "INFO:root:Device Configuration After modification", + "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount", + "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"><system +xmlns=\"urn:opendaylight:hostname\"><hostname>testhost-1212332324343</hostname></system></data>" + ], + "prepare-environment-logs": ["Installed pip packages:\n requirements.txt\n\n"] + } + } +} diff --git a/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json new file mode 100644 index 000000000..248c858cc --- /dev/null +++ b/testsuites/apex-pdp-stability/src/main/resources/simulatorConfig/simParameters.json @@ -0,0 +1,27 @@ +{ + "dmaapProvider": { + "name": "DMaaP simulator", + "topicSweepSec": 300 + }, + "restServers": [ + { + "name": "DMaaP simulator", + "providerClass": "org.onap.policy.models.sim.dmaap.rest.DmaapSimRestControllerV1", + "host": "0.0.0.0", + "port": 3905, + "https": false + } + ], + "grpcServer": { + "name": "CDS simulator", + "providerClass": "org.onap.policy.simulators.CdsSimulator", + "host": "0.0.0.0", + "port": 6680, + "timeout": 30, + "username": "ccsdkapps", + "password": "ccsdkapps", + "resourceLocation": "/opt/app/policy/simulators/etc/mounted/cdsresponse/", + "successRepeatCount": 0, + "requestedResponseDelayMs": 0 + } +} |