CE-1707: Move operation status to helper endpoint
Status has been removed from the operation details endpoint.
A new endpoint has been introduced:
The rules of operation status calculation:
- If every IOC instance in the operation has QUEUED status, the operation status is QUEUED.
- If every IOC instance in the operation has SUCCESS status, the operation status is SUCCESS.
- If any IOC instance in the operation has FAILED status, the operation status is FAILED.
- If any IOC instance in the operation has RUNNING status, the operation status is RUNNING. An it overrides the rule above.
- Otherwise the status is RUNNING (Considering those cases where there are only instances with queued and successful states.)
Edited by Domonkos Gulyas