summaryrefslogtreecommitdiffstats
path: root/src/test/resources/avcSubscriptionCreationEvent.json
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2023-03-14 11:24:26 +0000
committerhalil.cakal <halil.cakal@est.tech>2023-03-29 15:13:47 +0100
commit8d8ec86444fb3e085d7dd350966beb92ca0a8ba8 (patch)
tree7ec78469a9031f86effd98cd531b5147c64ab95a /src/test/resources/avcSubscriptionCreationEvent.json
parent221ee7ddfe4a0bce0bc8ad57907404429821bc3d (diff)
Subscription Create Response Handling Dmi Part
- Consume suscription event (payload) with kafka message key and kafka timestamp from ncmp, and extract cm handle ids. - Generate subscription event response (payload) and revert it back to ncmp to specified topic with the corresponding kafka message key. - Configure kafka consumer properties and dmi service name. Issue-ID: CPS-1492 Change-Id: I87de30c00e0f93e350ce6f9fd6079504952da09b Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'src/test/resources/avcSubscriptionCreationEvent.json')
-rw-r--r--src/test/resources/avcSubscriptionCreationEvent.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/test/resources/avcSubscriptionCreationEvent.json b/src/test/resources/avcSubscriptionCreationEvent.json
new file mode 100644
index 00000000..d52a91ec
--- /dev/null
+++ b/src/test/resources/avcSubscriptionCreationEvent.json
@@ -0,0 +1,45 @@
+{
+ "version": "1.0",
+ "eventType": "CREATE",
+ "event": {
+ "subscription": {
+ "clientID": "SCO-9989752",
+ "name": "cm-subscription-001"
+ },
+ "dataType": {
+ "dataspace": "ALL",
+ "dataCategory": "CM",
+ "dataProvider": "CM-SERVICE",
+ "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641",
+ "schemaVersion": "1.0"
+ },
+ "predicates": {
+ "targets": [
+ {
+ "CMHandle1": {
+ "cmhandle-properties": {
+ "prop1": "prop-value"
+ }
+ }
+ },
+ {
+ "CMHandle2": {
+ "cmhandle-properties": {
+ "prop-x": "prop-valuex",
+ "prop-p": "prop-valuep"
+ }
+ }
+ },
+ {
+ "CMHandle3": {
+ "cmhandle-properties": {
+ "prop-y": "prop-valuey"
+ }
+ }
+ }
+ ],
+ "datastore": "passthrough-running",
+ "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