diff options
author | Luke Gleeson <luke.gleeson@est.tech> | 2023-08-21 10:20:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-08-21 10:20:09 +0000 |
commit | 9f8ddd047943525bebf8a49599f22dbe530b4361 (patch) | |
tree | ec974af9697f1b5223673ea6db9457ea242c447f /cps-ncmp-service/src/test/resources | |
parent | 7d486385a46b8dfa3a72db27dc4f31bf74d035bb (diff) | |
parent | 2640b91a98fae9867a0f45b7b20e26f5c0eb0f9a (diff) |
Merge "Cm Subscription: PENDING logic handling in NCMP"
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
3 files changed, 37 insertions, 12 deletions
diff --git a/cps-ncmp-service/src/test/resources/cmSubscriptionDmiOutEvent.json b/cps-ncmp-service/src/test/resources/cmSubscriptionDmiOutEvent.json index dfe8f50466..ae14b5ca21 100644 --- a/cps-ncmp-service/src/test/resources/cmSubscriptionDmiOutEvent.json +++ b/cps-ncmp-service/src/test/resources/cmSubscriptionDmiOutEvent.json @@ -13,16 +13,6 @@ "id": "CMHandle2", "status": "REJECTED", "details": "Some other error message from the DMI" - }, - { - "id": "CMHandle3", - "status": "PENDING", - "details": "No reply from DMI yet" - }, - { - "id": "CMHandle4", - "status": "PENDING", - "details": "No reply from DMI yet" } ] } diff --git a/cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json b/cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json new file mode 100644 index 0000000000..c38cb79211 --- /dev/null +++ b/cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json @@ -0,0 +1,31 @@ +{ + "clientId": "SCO-9989752", + "subscriptionName": "cm-subscription-001", + "cmSubscriptionStatus": [ + { + "id": "CMHandle1", + "status": "REJECTED", + "details": "Some error message from the DMI" + }, + { + "id": "CMHandle2", + "status": "REJECTED", + "details": "Some other error message from the DMI" + }, + { + "id": "CMHandle3", + "status": "PENDING", + "details": "Some error causes pending" + }, + { + "id": "CMHandle4", + "status": "PENDING", + "details": "Some other error happened" + }, + { + "id": "CMHandle5", + "status": "PENDING", + "details": "Some other error happened" + } + ] +}
\ No newline at end of file diff --git a/cps-ncmp-service/src/test/resources/cmSubscriptionNcmpOutEvent.json b/cps-ncmp-service/src/test/resources/cmSubscriptionNcmpOutEvent.json index 14e8cbb4c4..856f238c6e 100644 --- a/cps-ncmp-service/src/test/resources/cmSubscriptionNcmpOutEvent.json +++ b/cps-ncmp-service/src/test/resources/cmSubscriptionNcmpOutEvent.json @@ -15,8 +15,12 @@ ], "pending": [ { - "details": "No reply from DMI yet", - "targets": ["CMHandle3", "CMHandle4"] + "details": "Some other error happened", + "targets": ["CMHandle4", "CMHandle5"] + }, + { + "details": "Some error causes pending", + "targets": ["CMHandle3"] } ] } |