Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Developed (Increments)


DescriptionNotes
Subscription Schemas 

Ref: cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription

  • DME to NCMP Subscription Request
    • cm-notification-subscription-ncmp-in-event-schema-1.0.0.json
  • NCMP to DMI-Plugin Subscription Request
    • cm-notification-subscription-dmi-in-event-schema-1.0.0.json
  • DMI-Plugin to NCMP Subscription Response
    • cm-notification-subscription-dmi-out-event-schema-1.0.0.json
  • NCMP to DME Subscription Response
    • cm-notification-subscription-ncmp-out-event-schema-1.0.0.json

See schema definitions in Impl. Proposal for Merging of Subscriptions ( Positive Scenarios )


Subscription YANG modelSee Use of Subscription model

cmNotificationSubscriptionCache

Hazelcast map to hold the incoming subscription create request

  • For comparison of in-database active subscriptions
  • For tracking of subscription request to DMI (Accepted, Rejected, Pending)


KeyValue



 Unique Subscription Id


KeyValue
Dmi-Plugin NameDmiCmNotificationSubscriptionDetails
Dmi-Plugin NameDmiCmNotificationSubscriptionDetails



See Tracking Subscriptions in memory


See Mapping of Cm Subscription Event to Cache Map

NCMP Startup

Ref: CmSubscriptionModelLoader

  1. Onboarding of Subscription model
  2. Initialises parent node for the model
  3. Initialises datastores 

See Use of Subscription model

Client To NCMP

Ref: CmNotificationSubscriptionNcmpInEventConsumer

  • Read incoming subscription message
NCMP to DMI

Ref: CmNotificationSubscriptionPersistenceService

  • Method to fetch ongoing subscription in database via datastore Type, cmHandle ID, xpath

Ref: CmNotificationSubscriptionDmiInEventMapper

  • Mapper to form event for DMI Plugin


...