Jira |
---|
server | ONAP Jira |
---|
serverId | 425b2b0a-557c-3c0c-b515-579789cceedb |
---|
key | CPS-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 |
---|
server | ONAP Jira |
---|
columnIds | issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
maximumIssues | 20 |
---|
jqlQuery | key = CPS-828 |
---|
serverId | 425b2b0a-557c-3c0c-b515-579789cceedb |
---|
|
Issues/Decisions
# | Issue | Decision | Notes/Jira |
---|
1 | What topic to use? proposed ncmp-async-xxx |
|
|
2 | Agree proposed change to url |
|
|
3 | passthrough 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 |
---|
border | true |
---|
| |
---|
diagramName | CPS-821 |
---|
simpleViewer | false |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
lbox | true |
---|
diagramWidth | 771 |
---|
revision | 4 |
---|
|
Kafka config
Response types for passthrough?
Rest Endpoint with Async Flag
Current | Proposed |
---|
<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