Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 2 Current »

Assumptions

#AssumptionNotes
1One message can only have one status code
2Status code is in the data schema of the event (not header)
33 digits http inspired

Issues & Decisions

#IssueNotes Decision
1

What are we doing with legacy events 

Asynchronous data requests

Check that error codes are not used previously
2Proposing code to all of ONAP will be complicated with conflicts + we take on maintainability

Proposal

  1. First proposal is to use the closest HTTP status code for the scenario. (Column 2 only)
  2. Second proposal is to use above but then also provide a proprietary code which we define for that scenario. (Column 2 & 3)
Scenariostatus code (Using HTTP)proprietary code (Outside range of HTTP code to avoid confusion)
Subscription created for all CMHandle targets without issue (all accepted)201 CREATED600 SUCCESS
Subscription partially created and rejected and/or pending207 MULTI-STATUS601 PARTIAL SUCCESS 
CMHandle targets not found for all CMHandles404 NOT FOUND603 TARGETS NOT FOUND
Subscription cannot be applied to any CMHandles406 NOT ACCEPTABLE604 SUBSCRIPTION NOT APPLICABLE
Subscription Pending for all CMHandles202 ACCEPTED602 PENDING
  • No labels