Versions Compared

Key

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

...


Subscription Creation Events Handling

Assumptions

#AssumptionNotes
1Forwarded Subscription Event
communicates asynchronously.  (NCMP to DMI Plugins)  Once off timer would be responsible to publish messages in NCMP. 2Forwarded Subscription Event Responses communicates 3
Responses communicate asynchronously.  (from DMI Plugins to NCMP) 

Then, the NCMP would wait a response(s) within the timeframe agreed on.

TBD: A single step response or two step responses will be provided in the solution. 


2
The NCMP component should create a Subscription
Create
Event Outcome message and publish it into the topic (cm-avc-subscription-response)
in which
for Client Apps consumed from
.
The Outcome Response schema need to be decided on.

Issues & Decisions

DMI NCMP (Configurable param/property)
#IssueNotes Decision
1Possible 'timeframe' period for timeoutNCMP to Client Apps response timeout

30 sec

.

2Response in two steps or in a single step should be discussed with shareholders.(as of now)from DMI to NCMP responses

Is the ACK would be required? No

DMI-Plugin would publish actual response to NCMP

3Response schema should be decided

from DMI to NCMP response schemas should be decided for single step response

Should DMI Plugins detail cm-hande IDs in response? Yes

Accept or Decline


4Subscription event outcome schema should be decided

from DMI to Client Apps

  • Possible options for initial response and further updates
     
    1. Status only: COMPLETED / PARTIALLY_COMPLETED
    2. List of accepted CM Handle IDs
    3. List of declined CM Handle IDs

We include : 

  1. Status only: COMPLETED / PARTIALLY_COMPLETED
  2. List of accepted CM Handle IDs
  3. List of declined CM Handle IDs

Note : Avoid for wild card * (for all cm handles)

Possible Topic Names

1Forwarded ncmp-dmi-DMI Plugins2 Response-ncmp
#SourceDestinationContentTopic NameDestination
1Client AppsNCMPSubscription Create Eventcm-avc-subscription
2NCMPDMI Plugins

Forwarded Subscription Create Event

ncmp-dmi

-cm-avc-subscription

NCMP
3NCMPSubscription Event Outcomecm-avc-subscription-responseClient Apps

Implementation Details

...

-{DMI-DATA-SERVICE-NAME}


3DMI PluginsNCMPForwarded Subscription Create Event Responsedmi-ncmp-cm-avc-subscription

...

  1. Response in two steps
    1. Ack (response with DMI plugin detais e.g. DMI X and Y has started to processing)
    2. Process result response: 2 out of 3 DMI has responed. (The percentage is %66.)
  2. Response in a single step
    1. Process result response: 2 out of 3 DMI has responed. (The percentage is %66.)

...

4NCMPClient AppsSubscription Create Event Outcome
cm-avc-subscription-response

...

Implementation Details


Testing Details