/
CM Subscription

CM Subscription

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 CM Subscriptions : Creating/Merging( 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


Backlog

Related content

CM Data Notification Subscription LCM (incl. merge)
CM Data Notification Subscription LCM (incl. merge)
More like this
Tracking Subscriptions in memory
Tracking Subscriptions in memory
More like this
Impl. Proposal CM Subscriptions : Creating/Merging( Positive Scenarios )
Impl. Proposal CM Subscriptions : Creating/Merging( Positive Scenarios )
More like this
CPS-1392 NCMP Consume Subscription Event
CPS-1392 NCMP Consume Subscription Event
More like this
CPS-2166: Forwarding CM Data Notification to Topic Defined in Subscription
CPS-2166: Forwarding CM Data Notification to Topic Defined in Subscription
More like this
CPS-1065 Spike: CM data notifications from NCMP to applications including subscriptions
CPS-1065 Spike: CM data notifications from NCMP to applications including subscriptions
More like this