You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »



CPS-821 - Getting issue details... STATUS


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

Key Summary T Created Updated Due Assignee Reporter P Status Resolution
Loading...
Refresh

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.

4How many messages are we expecting at peak time?

5Should we create a standalone app to demo or are tests sufficient?


Proposed Diagram

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


Kafka config


Response types for passthrough

Will we be able to handle everything "as-is"?

Future or alternative

Why do we need a future (or alternative)? - To gather response from DMI.

RequestID Generation

TypeMethod
UUID
String uniqueID = UUID.randomUUID().toString();

Async Request Option using Messaging




  • No labels