CPS-1492: Subscription Create Response Handling

References

https://lf-onap.atlassian.net/browse/CPS-1492


Subscription Creation Events Handling

Assumptions

#

Assumption

Notes

#

Assumption

Notes

1

Forwarded Subscription Event Responses communicate asynchronously.  (from DMI Plugins to NCMP) 



2

The NCMP component should create a Subscription Event Outcome message and publish it into the topic (cm-avc-subscription-response) for Client Apps consumed from



Issues & Decisions

#

Issue

Notes 

Decision

#

Issue

Notes 

Decision

1

Possible 'timeframe' period for timeout

NCMP to Client Apps response timeout

30 sec.

2

Response in a single step (as of now)

from DMI to NCMP responses

Is the ACK would be required? No

DMI-Plugin would publish actual response to NCMP

3

Response 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



4

Subscription 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

Source

Destination

Content

Topic Name

Source

Destination

Content

Topic Name

1

1

Client Apps

NCMP

Subscription Create Event

cm-avc-subscription

2

2

NCMP

DMI Plugins


Forwarded Subscription Create Event

ncmp-dmi-cm-avc-subscription-{DMI-DATA-SERVICE-NAME}



3

3

DMI Plugins

NCMP

Forwarded Subscription Create Event Response

dmi-ncmp-cm-avc-subscription

4

4

NCMP

Client Apps

Subscription Create Event Outcome

cm-avc-subscription-response

Implementation Details



Testing Details