X-Git-Url: https://gerrit.onap.org/r/gitweb?p=integration%2Fcsit.git;a=blobdiff_plain;f=tests%2Fdcaegen2-services-pmsh%2Ftestcases%2Fassets%2Fpolicy-sub-deleted-pnf-existing.json;h=a94299e5ea555101527cc3cd2edba495f2d2e015;hp=0bc9c2ff12771902692aab9b8fa2425fbf5e05ab;hb=5e83a4b0e5e34aa81cb4c96dfabc4375ac0bf16e;hpb=184a68e3c86d79f42b857fa7fbf81304a87fe326 diff --git a/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json b/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json index 0bc9c2ff..a94299e5 100644 --- a/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json +++ b/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-deleted-pnf-existing.json @@ -1,14 +1,64 @@ -{ - "name":"ResponseEvent", - "nameSpace":"org.onap.policy.apex.onap.pmcontrol", - "source":"APEX", - "target":"DCAE", - "version":"0.0.1", - "status":{ - "subscriptionName":"subs_01", - "measurementGroupName": "msg_grp_01", - "nfName":"pnf-existing", - "changeType":"DELETE", - "message":"success" +[ + { + "id":"mr_aai_event", + "httpRequest":{ + "method":"GET", + "path":"/events/AAI-EVENT/.*", + "queryStringParameters":{ + "timeout":[ + "5000" + ] + } + }, + "httpResponse":{ + "statusCode":200, + "headers":{ + "content-type":[ + "application/json" + ] + }, + "body":{ + "type":"JSON", + "json":{ + + } + } + } + }, + { + "id":"pmsh_cl_input_event", + "httpRequest":{ + "path":"/events/unauthenticated.PMSH_CL_INPUT/.*", + "method":"GET", + "queryStringParameters":{ + "timeout":[ + "5000" + ] + } + }, + "httpResponse":{ + "statusCode":200, + "headers":{ + "content-type":[ + "application/json" + ] + }, + "body":{ + "type":"JSON", + "json":[ + "{\"name\":\"ResponseEvent\",\"nameSpace\":\"org.onap.policy.apex.onap.pmcontrol\",\"source\":\"APEX\",\"target\":\"DCAE\",\"version\":\"0.0.1\",\"status\":{\"subscriptionName\":\"subs_01\",\"measurementGroupName\": \"msg_grp_01\",\"nfName\":\"pnf-existing\",\"changeType\":\"DELETE\",\"message\":\"success\"}}" + ] + } + } + }, + { + "id":"dcae_cl_output_event", + "httpRequest":{ + "path":"/events/unauthenticated.DCAE_CL_OUTPUT/.*", + "method":"POST" + }, + "httpResponse":{ + "statusCode":200 + } } -} +] \ No newline at end of file