summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2023-07-03 15:24:02 +0100
committerhalil.cakal <halil.cakal@est.tech>2023-07-07 17:38:00 +0100
commitadfb0693ec18025abcd8b9036bafe20a25f2e496 (patch)
treebf8e1b1f2918ce5298774a379121b34e37b65742 /cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json
parentfb7005ffda3f7d2194061192c5c8e4574a72027b (diff)
Subscription Creation: NCMP to DMI CloudEvent transformation
- Add mapper to convert client event into ncmp event - Add sample json object of ncmp version - Change subscription event consumer to consume CloudEvents - Change subscription event forwarder to publish CloudEvents - Change test producer config to support CloudEvents - Change sample subscription event json to comply with new schema - Add more test for missing branches - Change packages of the mappers into relevant directory Issue-ID: CPS-1737 Change-Id: I8c9e6e7bf713a8fb530a0586dfb2bce796a462f5 Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json')
-rw-r--r--cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json b/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json
new file mode 100644
index 0000000000..f31362a1c6
--- /dev/null
+++ b/cps-ncmp-service/src/test/resources/avcSubscriptionCreationEventNcmpVersion.json
@@ -0,0 +1,31 @@
+{
+ "data": {
+ "subscription": {
+ "clientID": "SCO-9989752",
+ "name": "cm-subscription-001"
+ },
+ "dataType": {
+ "dataspace": "ALL",
+ "dataCategory": "CM",
+ "dataProvider": "CM-SERVICE"
+ },
+ "predicates": {
+ "targets":[
+ {
+ "id":"CMHandle2",
+ "additional-properties":{
+ "Books":"Novel"
+ }
+ },
+ {
+ "id":"CMHandle1",
+ "additional-properties":{
+ "Books":"Social Media"
+ }
+ }
+ ],
+ "datastore": "passthrough-running",
+ "datastore-xpath-filter": "//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/_3gpp-nr-nrm-nrcelldu:NRCellDU/ | //_3gpp-nr-nrm-gnbcuupfunction:GNBCUUPFunction// | //_3gpp-nr-nrm-gnbcucpfunction:GNBCUCPFunction/_3gpp-nr-nrm-nrcelldu:NRCellCU// | //_3gpp-nr-nrm-nrsectorcarrier:NRSectorCarrier//"
+ }
+ }
+} \ No newline at end of file