Versions Compared

Key

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


Table of Contents


Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-821


Description/Scope

The scope of this spike is to ascertain:

  • How to use messaging (producer, agree topic etc))
  • Using existing rest endpoint with additional flag indicating async response
  • Also consider asynchronous request option using messaging in the proposal

Associated Jira

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQuerykey = CPS-828
serverId425b2b0a-557c-3c0c-b515-579789cceedb

Issues/Decisions

#IssueDecisionNotes/Jira
1What topic to use? proposed ncmp-async-xxx

2Agree proposed change to url

3passthrough request need to be able to handle different response types (using accept header) but the async option would have a fixed and possibly different response type.

4



Proposed Diagram

draw.io Diagram
bordertrue
diagramNameCPS-821
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth771
revision4



Kafka config

Response types for passthrough?


Rest Endpoint with Async Flag


CurrentProposed

<ncmp>/v1/ch/PNFDemo/data/ds/ncmp-datastore:passthrough-running?resourceIdentifier=stores:bookstore

<ncmp>/v1/ch/PNFDemo/data/async/ds/ncmp-datastore:passthrough-running?resourceIdentifier=stores:bookstore



Async Request Option using Messaging