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-created-pnf-existing.json;h=ffe3e3f3e9327ff19d417c78fb453a92f53762e3;hp=cc0dac4c96c22c2788e062ad62ace2ced202ed2e;hb=5e83a4b0e5e34aa81cb4c96dfabc4375ac0bf16e;hpb=184a68e3c86d79f42b857fa7fbf81304a87fe326 diff --git a/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-pnf-existing.json b/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-pnf-existing.json index cc0dac4c..ffe3e3f3 100644 --- a/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-pnf-existing.json +++ b/tests/dcaegen2-services-pmsh/testcases/assets/policy-sub-created-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":"CREATE", - "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\":\"CREATE\",\"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 +] \ No newline at end of file