aboutsummaryrefslogtreecommitdiffstats
path: root/csit/config/sim-all
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-07-08 15:32:52 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2021-07-12 11:55:28 +0100
commit9a12d024fe42fd3c57477c513382c3b78983b9ce (patch)
tree18b5b6627d1cbb37c26ea98915795166b6f6070e /csit/config/sim-all
parent78850b54b98e8bdc27d186035910126dd2ac826e (diff)
Update APEX CSIT tests to cover multiple outputs
As part of this review, a new policy is executed in APEX-PDP that interacts with AAI and CDS simulators. At each execution phase, along with sending a request to AAI/CDS, a log event is also sent to DMaaP notifying every action taken. This is done using the multiple output support. Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63 Issue-ID: POLICY-3466 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/config/sim-all')
-rw-r--r--csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json35
-rw-r--r--csit/config/sim-all/simParameters.json2
2 files changed, 36 insertions, 1 deletions
diff --git a/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json b/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json
new file mode 100644
index 00000000..7009a358
--- /dev/null
+++ b/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json
@@ -0,0 +1,35 @@
+{
+ "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/csit/config/sim-all/simParameters.json b/csit/config/sim-all/simParameters.json
index 4b009b6f..84c6e372 100644
--- a/csit/config/sim-all/simParameters.json
+++ b/csit/config/sim-all/simParameters.json
@@ -102,7 +102,7 @@
"timeout": 30,
"username": "ccsdkapps",
"password": "ccsdkapps",
- "resourceLocation": "org/onap/policy/simulators/cds/",
+ "resourceLocation": "/opt/app/policy/simulators/etc/mounted/cdsresponse/",
"successRepeatCount": 0,
"requestedResponseDelayMs": 0
}