Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1431

Forward Subscription Information to DMI Plugin(s)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Montreal Release
    • None
    • DMI

      https://wiki.onap.org/display/DW/CPS+Data+Notifications+Overview - Update Diagram

      https://wiki.onap.org/display/DW/CPS-1065+Spike%3A+CM+data+notifications+from+NCMP+to+applications+including+subscriptions

      Overview

      1. Subscription information needs to be forwarded to applicable DMI plugin(s) to notify them of an interested client
      2. Information will Asynchronous event
        1. Agree Schema
          1. Target cmhandles need to have public properties added
          2. Dmi Plugins
          3. Update schema to include (or just validate)
            1. predicates.datastore
            2. predicatesdatastore-xpath-filter
            3. targets
        2. Impl listener in ONAP DMI plugin -> Just log it 
      3. validate datastore value, has to be  a passthrough 

      Open Issue: 

      1. predicates.datastore part of schema or just validation of free key-value pairs map (as current impl)

      A/C

      1. Demo: Each DMI PLugin Instance should log event received
      2. if datastore (key) is not present event should not be accepted either because of schema limitation or validation (see open issue below)
      3. if datastore is NOT 'passtrough' event should not be accepted (ignore with warning logged)
      4. 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
      5. Request for CMHandles that do not exist? - Log error Ignore
      6. What if topic does not exist - Log an error

      Not in scope:

      1. CSIT
      2. Wildcard targets - if targets do not exist/empty throw not yet supported error
      3. DMI might reject predicates
        1. Error codes needs to be standardised
        2. Log error message
      4. DMI Plugin topic setup

       

       

      Note: Future story for notifying clients that subscription failed to be created

       

            lukegleeson lukegleeson
            josephkeenan josephkeenan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: