2 | Extra data needed for forwarded message? What is the schema | - ID?
- timestamp?
Code Block |
---|
title | AVC Subscription Forwarding |
---|
collapse | true |
---|
| {
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event.forward:v1",
"$timestamp": "0000"
"$forwardedSubscriptionEvent":
{
"$schemaversion": "https://json-schema.org/draft/2019-09/schema",
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event:v1",
"$ref": "#/definitions/SubscriptionEvent",
"definitions": {
"SubscriptionEvent": {
"description": "The payload for avc subscription event.",
"type": "object",
"properties": {
"version": {
"description": "The event type version",
"type": "string"
},
"eventType": {
"description": "The event type",
"type": "string",
"enum": ["CREATE"]
},
"event": {
"$ref": "#/definitions/event"
}
},
"required": [
"version",
"eventContent"
],
"additionalProperties": false
},
"event": {
"description": "The event content.",
"type": "object",
"properties"1.0",
"eventType": "subscriptionCreated",
"event": {
"subscription": {
"description": "The subscription details.",
"type": "object",
"properties": {
"clientID": {
"description": "The clientID",
"type": "string"
}"SCO-9989752",
"name": {
"description": "The name of the subscription",
"type": "string"
},
"isTagged": {
"description": "optional parameter, default is no",
"type": "boolean",
"default": false
}
},
"required": [
"clientID",
"name"
]
"cm-subscription-001"
},
"dataType": {
"description": "The datatype content.",
"type": "object",
"properties": {
"dataspace": {
"description": "The dataspace name",
"type": "string"
}"ALL",
"dataCategory": {
"description": "The category type of the data",
"type": "string"
}"CM",
"dataProvider": { "description": "The provider name of the data","CM-SERVICE"
"type": "string"
},
"schemaName": {
"description": "The name of the schema",
"org.onap.ncmp:cm-network-avc-event.rfc8641"
"typeschemaVersion": "string"
1.0"
},
"schemaVersion"predicates": {
"description"datastore": "The version of the schema",
“passthrough-operational",
"typedatastore-xpath-filter": "string"
}
}
},
"required": [//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/
"dataspace",
"dataCategory",
"dataProvider",
"schemaName",
"schemaVersion"
],
"predicates": {
"description": "Additional values to be added into the subscription", _3gpp-nr-nrm-nrcelldu:NRCellDU/ | //_3gpp-nr-nrm-gnbcuupfunction:GNBCUUPFunction// |
"existingJavaType" : "java.util.Map<String,Object>",
"type" : "object"//_3gpp-nr-nrm-gnbcucpfunction:GNBCUCPFunction/_3gpp-nr-nrm-nrcelldu:NRCellCU// |
} }//_3gpp-nr-nrm-nrsectorcarrier:NRSectorCarrier//”
},
"required": [
"subscription",
"dataType"
]
}
} } |
|
Code Block |
---|
title | AVC Subscription Forwarding |
---|
collapse | true |
---|
| {
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event.forward:v1",
"$timestamp": "0000"
"$forwardedSubscriptionEvent":
{
"$schemaversion": "https://json-schema.org/draft/2019-09/schema",
"$id": "urn:cps:org.onap.cps.ncmp.events:avc-subscription-event:v1",
"$ref": "#/definitions/SubscriptionEvent",
"definitions": {
"SubscriptionEvent": {
"description": "The payload for avc subscription event.",
"type": "object",
"properties": {
"version": {
"description": "The event type version",
"type": "string"
},
"eventType": {
"description": "The event type",
"type": "string",
"enum": ["CREATE"]
},
"event": {
"$ref": "#/definitions/event"
}
},
"required": [
"version",
"eventContent"
],
"additionalProperties": false
},
"event": {
"description": "The event content.",
"type": "object",
"properties"1.0",
"eventType": "subscriptionCreated",
"event": {
"subscription": {
"description": "The subscription details.",
"type": "object",
"properties": {
"clientID": {
"description": "The clientID",
"type": "string"
}"SCO-9989752",
"name": {
"description": "The name of the subscription",
"type": "string"
},
"isTagged": {
"description": "optional parameter, default is no",
"type": "boolean",
"default": false
}
},
"required": [
"clientID",
"name"
]
"cm-subscription-001"
},
"dataType": {
"description": "The datatype content.",
"type": "object",
"properties": {
"dataspace": {
"description": "The dataspace name",
"type": "string"
}"ALL",
"dataCategory": {
"description": "The category type of the data",
"CM",
"typedataProvider": "string"
CM-SERVICE"
}, "dataProvider"schemaName": { "description": "The provider name of the data",
"org.onap.ncmp:cm-network-avc-event.rfc8641"
"type"schemaVersion": "string1.0"
},
"schemaNamepredicates": {
"description"datastore": "The name of the schema",
“passthrough-operational",
"type": "string"
},
"schemaVersion": {"datastore-xpath-filter": "//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/
"description": "The version of the schema",
"type": "string"_3gpp-nr-nrm-nrcelldu:NRCellDU/ | //_3gpp-nr-nrm-gnbcuupfunction:GNBCUUPFunction// |
}
}
},
"required": [
"dataspace",
"dataCategory",
"dataProvider",
"schemaName",
"schemaVersion"
],
"predicates": {//_3gpp-nr-nrm-gnbcucpfunction:GNBCUCPFunction/_3gpp-nr-nrm-nrcelldu:NRCellCU// |
"description": "Additional values to be added into the subscription",
"existingJavaType" : "java.util.Map<String,Object>",
//_3gpp-nr-nrm-nrsectorcarrier:NRSectorCarrier//”
"type" : "object"
}
}
},
"required": [
"subscription",
"dataType"
]
}
}
} |
|
---|