Versions Compared

Key

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

...

#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