Skip to content

Instantly share code, notes, and snippets.

View BarryPiccinni's full-sized avatar

BarryPiccinni

View GitHub Profile
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"summary": {
"title": "Check your answers",
"type": "object",
"properties": {
"summaryInfo": {
@BarryPiccinni
BarryPiccinni / handover.md
Last active October 6, 2023 17:48
Barry P paternity handover 06/10/23

Handover

Resubmission flow

DCS PR

Cronjob

Code has been tested and can now be deployed. (Didn't want to deploy on a Friday night then run away for a month!)

This has now tested successfully. To create failed cases, modify the SQS secrets in DEV so the queue becomes uncontactable. Once you have a failed case, you can revert your changes and run the cronjob, which will successfully resubmit. When previously deployed to DEV, the cronjob correctly identified FAILED jobs and kicked off the resubmission process but couldn't proceed past the "transform and upload" task. Would appear this error was down to me fudging appplications into a failed state, so creating test applications as described above is the way to go rather than altering the DB.