I want to get that status of a calculation at different stages, I consider a calculation is finished when:
• All calculation steps are executed successfully.
• All results are sent to the market actors message queue
• Basis data is ready to download via frontend.
So that that identical valid calculations are available through both DataHub and the market actors
And I can easily identify at which stage a calculation is failed.
Accept Criteria
[ ] Given a calculation, when all calculation steps are executed successfully, then this part gets status “Finished”..
[ ] Given a calculation, when all calculation results are sent to the market actors message queue successfully, then this part gets status “Finished”.
[ ] Given a calculation, when basis data are made ready for download successfully, then this part gets status “Finished”.
[ ] If one or more of the above are failed, then the overall calculation status is “Failed” and the calculation is invalid.
[ ] For every calculation type, there is consistently only one valid result, distinguished by the highest version number
[ ] Given the overall calculation status, when user view the screen "Calculation results" then the status is showed.
Synopsis
I want to get that status of a calculation at different stages, I consider a calculation is finished when: • All calculation steps are executed successfully. • All results are sent to the market actors message queue • Basis data is ready to download via frontend. So that that identical valid calculations are available through both DataHub and the market actors And I can easily identify at which stage a calculation is failed.
Accept Criteria