X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fdcaegen2-services-pmsh%2Ftestcases%2Fassets%2Fpolicy-sub-created-pnf-existing.json;h=ffe3e3f3e9327ff19d417c78fb453a92f53762e3;hb=5e83a4b0e5e34aa81cb4c96dfabc4375ac0bf16e;hp=0d1c90814d64700d1dbf46496ba2e54686db93be;hpb=0a34f59dbf6209c07e059315d2b05141c33a5e5e;p=integration%2Fcsit.git 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 0d1c9081..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,13 +1,64 @@ -{ - "name":"ResponseEvent", - "nameSpace":"org.onap.policy.apex.onap.pmcontrol", - "source":"APEX", - "target":"DCAE", - "version":"0.0.1", - "status":{ - "subscriptionName":"ExtraPM-All-gNB-R2B", - "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