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

Compare with Current View Page History

Version 1 Next »

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

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