summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorseanbeirne <sean.beirne@est.tech>2023-06-19 14:42:28 +0100
committerSean Beirne <sean.beirne@est.tech>2023-07-26 09:42:58 +0000
commitc0ebeaa0ddcb758874320097194dfd4aa8a947c4 (patch)
treed9371d1a178ae86429ad0f4f18dc3e38c5bcb82a /src/test/resources
parent92f74d79d912110ce62173298abe33414dec8fd1 (diff)
DMI Plugins respond back to NCMP Events Schema
- Introduced Cloud Events for Subscription Response - Created SubscriptionEventResponseMapper - Created CloudEventContructionException for DMI - Modified Folder Structure for Subscriptions Issue-ID: CPS-1738 Signed-off-by: seanbeirne <sean.beirne@est.tech> Change-Id: I242926fb3e6ceb8e6a6ca23bfbd794feacdeaf20
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/avcSubscriptionCreationEvent.json44
1 files changed, 19 insertions, 25 deletions
diff --git a/src/test/resources/avcSubscriptionCreationEvent.json b/src/test/resources/avcSubscriptionCreationEvent.json
index d52a91ec..8fa10045 100644
--- a/src/test/resources/avcSubscriptionCreationEvent.json
+++ b/src/test/resources/avcSubscriptionCreationEvent.json
@@ -1,45 +1,39 @@
{
- "version": "1.0",
- "eventType": "CREATE",
- "event": {
- "subscription": {
- "clientID": "SCO-9989752",
- "name": "cm-subscription-001"
- },
+ "data": {
"dataType": {
- "dataspace": "ALL",
"dataCategory": "CM",
"dataProvider": "CM-SERVICE",
- "schemaName": "org.onap.ncmp:cm-network-avc-event.rfc8641",
- "schemaVersion": "1.0"
+ "dataspace": "ALL"
},
"predicates": {
+ "datastore": "passthrough-running",
"targets": [
{
- "CMHandle1": {
- "cmhandle-properties": {
- "prop1": "prop-value"
- }
+ "id": "CMHandle1",
+ "additional-properties": {
+ "prop1": "prop-value"
}
},
{
- "CMHandle2": {
- "cmhandle-properties": {
- "prop-x": "prop-valuex",
- "prop-p": "prop-valuep"
- }
+ "id": "CMHandle2",
+ "additional-properties": {
+ "prop-x": "prop-valuex",
+ "prop-p": "prop-valuep"
}
},
{
- "CMHandle3": {
- "cmhandle-properties": {
- "prop-y": "prop-valuey"
- }
+ "id": "CMHandle3",
+ "additional-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//"
+ "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//"
+ },
+ "subscription": {
+ "clientID": "SCO-9989752",
+ "name": "cm-subscription-001",
+ "isTagged": false
}
}
} \ No newline at end of file