summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2023-05-03 13:22:33 +0100
committerPriyank Maheshwari <priyank.maheshwari@est.tech>2023-05-11 09:37:43 +0000
commitf8aaf8b5f26573d0dd66fef2365e547b7ca6ee7a (patch)
treed6452788e425a938cae6bf3a6ea60e69c4e66804 /cps-ncmp-service/src/test/resources
parente626c9661fd88a585b50dafab5f5542784690143 (diff)
Subscription Create Event Outcome Database Part
- Add mapper to convert subscription response to Yang model - Add update operation to update Yang model into database - Change Subscription persistence to support both save and update operations Issue-ID: CPS-1669 Change-Id: I40cab1052ada5846945c67cac8640c393358e988 Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
-rw-r--r--cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json b/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
new file mode 100644
index 0000000000..b054362c93
--- /dev/null
+++ b/cps-ncmp-service/src/test/resources/avcSubscriptionEventResponse.json
@@ -0,0 +1,9 @@
+{
+ "clientId": "SCO-9989752",
+ "subscriptionName": "cm-subscription-001",
+ "dmiName": "ncmp-dmi-plugin",
+ "cmHandleIdToStatus": {
+ "CMHandle1": "ACCEPTED",
+ "CMHandle2": "REJECTED"
+ }
+} \ No newline at end of file