-
Story
-
Resolution: Done
-
Medium
-
None
https://wiki.onap.org/display/DW/CPS+Data+Notifications+Overview - Update Diagram
Overview
- Subscription information needs to be forwarded to applicable DMI plugin(s) to notify them of an interested client
- Information will Asynchronous event
- Agree Schema
- Target cmhandles need to have public properties added
- Dmi Plugins
- Update schema to include (or just validate)
- predicates.datastore
- predicatesdatastore-xpath-filter
- targets
- Impl listener in ONAP DMI plugin -> Just log it
- Agree Schema
- validate datastore value, has to be a passthrough
Open Issue:
- predicates.datastore part of schema or just validation of free key-value pairs map (as current impl)
A/C
- Demo: Each DMI PLugin Instance should log event received
- if datastore (key) is not present event should not be accepted either because of schema limitation or validation (see open issue below)
- if datastore is NOT 'passtrough' event should not be accepted (ignore with warning logged)
- Event will be forwarded under topic ncmp-dmi-cm-avc-subscription-{DMI-DATA-SERVICE-NAME}
# RTDocument DMI to setup topic and give NCMP write access, see IP - Request for CMHandles that do not exist? - Log error Ignore
- What if topic does not exist - Log an error
Not in scope:
- CSIT
- Wildcard targets - if targets do not exist/empty throw not yet supported error
- DMI might reject predicates
- Error codes needs to be standardised
- Log error message
- DMI Plugin topic setup
Note: Future story for notifying clients that subscription failed to be created
1.
|
Forward Subscription Event to DMI | Closed | lukegleeson | |
2.
|
Improve Error Scenarios | Closed | lukegleeson | |
3.
|
Implement Hazelcast timestamp map | Closed | lukegleeson |