summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
diff options
context:
space:
mode:
authorLuke Gleeson <luke.gleeson@est.tech>2023-07-27 10:20:54 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-27 10:20:54 +0000
commit113a61880e3188ddb45c938576f6a1ff9b309528 (patch)
tree995c957b01695a325e44edcea78fd635a7002551 /cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
parentad6c8d4483ee93405f0bdcb175bfcfe9fa0dccb3 (diff)
parentd789956fbf88f856472f975487c1975df91dbe3e (diff)
Merge "Subscription Creation: NCMP to Client CloudEvent transformation"
Diffstat (limited to 'cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json')
-rw-r--r--cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json49
1 files changed, 41 insertions, 8 deletions
diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json b/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
index 3244f05a03..52ca1df62b 100644
--- a/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
+++ b/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
@@ -1,11 +1,44 @@
{
- "clientId": "SCO-9989752",
- "subscriptionName": "cm-subscription-001",
- "dmiName": "ncmp-dmi-plugin",
- "cmHandleIdToStatus": {
- "CMHandle1": "ACCEPTED",
- "CMHandle3": "REJECTED",
- "CMHandle4": "PENDING",
- "CMHandle5": "PENDING"
+ "data": {
+ "clientId": "SCO-9989752",
+ "subscriptionName": "cm-subscription-001",
+ "dmiName": "dminame1",
+ "subscriptionStatus": [
+ {
+ "id": "CMHandle1",
+ "status": "REJECTED",
+ "details": "Faulty subscription format for target(s)"
+ },
+ {
+ "id": "CMHandle2",
+ "status": "REJECTED",
+ "details": "Faulty subscription format for target(s)"
+ },
+ {
+ "id": "CMHandle3",
+ "status": "REJECTED",
+ "details": "Faulty subscription format for target(s)"
+ },
+ {
+ "id": "CMHandle4",
+ "status": "REJECTED",
+ "details": "Target(s) do not exist"
+ },
+ {
+ "id": "CMHandle5",
+ "status": "PENDING",
+ "details": "EMS or node connectivity issues, retrying"
+ },
+ {
+ "id": "CMHandle6",
+ "status": "PENDING",
+ "details": "EMS or node connectivity issues, retrying"
+ },
+ {
+ "id": "CMHandle7",
+ "status": "PENDING",
+ "details": "EMS or node connectivity issues, retrying"
+ }
+ ]
}
} \ No newline at end of file