Pedro Amorim
d55ea648ac
This is doing a few things, checking for sushi errors: 1) Abort background job and provide error message if SUSHI returned {Severity} in response, this means SUSHI error, docs here: https://app.swaggerhub.com/apis/COUNTER/counter-sushi_5_0_api/5.0.2#/SUSHI_error_model 2) Abort background job and provide error message if SUSHI provided proper response, but contains Exceptions in Report_Header 3) Abort background job and provide error message if SUSHI returned 0 report items (e.g. everything is fine but there are no items for the harvest period provided 4) Abort background job and provide error message if COUNTER file created is larger than allowed by the database. 5) Provide error message if manual upload file size exceeds the max allowed by the database Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com> Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
swagger | ||
app.pl |