diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2023-08-10 23:09:38 +0100 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2023-08-17 10:40:29 +0100 |
commit | 2640b91a98fae9867a0f45b7b20e26f5c0eb0f9a (patch) | |
tree | 53e0d91d99183b87e393d0fa2c38cbdb26e875e7 /cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json | |
parent | a52b1825f99318181cd356dcde1b1db46c1098ac (diff) |
Cm Subscription: PENDING logic handling in NCMP
- Remove PENDING state from dmi schema
- Modify ncmp out event mapper to categorize
response per details
- Rename class and method names as well as
in unit tests
- resolved the merge conflicts
Issue-ID: CPS-1830
Change-Id: I5b7f523f546ec9940c246bd286586fdeba2f892e
Signed-off-by: halil.cakal <halil.cakal@est.tech>
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/cmSubscriptionEvent.json | 31 |
1 files changed, 31 insertions, 0 deletions
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 |