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
Version 1
Next »
Assumptions
# | Assumption | Notes |
---|
1 | One message can only have one status code |
|
2 | Status code is in the data schema of the event (not header) |
|
3 | 3 digits http inspired |
|
Issues & Decisions
# | Issue | Notes | Decision |
---|
1 | What are we doing with legacy events Asynchronous data requests | Check that error codes are not used previously |
|
---|
2 | Proposing code to all of ONAP will be complicated with conflicts + we take on maintainability |
|
|
---|
Proposal
Scenario | status code (Using HTTP) | proprietary code (Outside range of HTTP code to avoid confusion) |
---|
Subscription created for all CMHandle targets without issue (all accepted) | 201 CREATED | 600 SUCCESS |
Subscription partially created and rejected and/or pending | 207 MULTI-STATUS | 601 PARTIAL SUCCESS |
CMHandle targets not found for all CMHandles | 404 NOT FOUND | 603 TARGETS NOT FOUND |
Subscription cannot be applied to any CMHandles | 406 NOT ACCEPTABLE | 604 SUBSCRIPTION NOT APPLICABLE |
Subscription Pending for all CMHandles | 202 ACCEPTED | 602 PENDING |