Proof of Delivery report can't be generated more than 10 times in a row
After generating the Proof of Delivery report more than 10 times, the user gets HikariPool SQLTransientConnectionException:
Moreover the user cannot later enter the View Proof of Delivery screen. After clicking on the Manage button, the following error appears:
The issue was fixed in the Report service but we need to verify reports from other services as well.
It is possible to generate more than 10 reports in a row
It is possible to manage the Proof of Delivery
All the remaining reports from other services should be verified and fixed
Tested with success:
There were no problems generating more than 10 reports.
I was still able to manage the Proof of Delivery.
Stock reports were also generating.
please update and check off the relevant item on the DoD
After adjusting code improvements according to the review, the following commits/files are ready to be reviewed again:
Note: Sonar complains about too small coverage for the added code (50% out of required 70%) but this is rather an issue with Jacoco not working well enough with try-with-resources statement -
Thanks I left some comments on the commits inline