From be29c03fee2e609c528c22f969aa59ad0d5a2d4c Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Mon, 14 Oct 2024 12:49:36 +1100 Subject: [PATCH] Pieriandx needs 'SUCCEEDED' status as positive terminal status not 'COMPLETE' --- .../get_informaticsjob_and_report_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/workload/stateless/stacks/pieriandx-pipeline-manager/lambdas/get_informaticsjob_and_report_status_py/get_informaticsjob_and_report_status.py b/lib/workload/stateless/stacks/pieriandx-pipeline-manager/lambdas/get_informaticsjob_and_report_status_py/get_informaticsjob_and_report_status.py index 88141a68..640507ec 100644 --- a/lib/workload/stateless/stacks/pieriandx-pipeline-manager/lambdas/get_informaticsjob_and_report_status_py/get_informaticsjob_and_report_status.py +++ b/lib/workload/stateless/stacks/pieriandx-pipeline-manager/lambdas/get_informaticsjob_and_report_status_py/get_informaticsjob_and_report_status.py @@ -231,7 +231,7 @@ def handler(event, context): # If both the job status and report status are true, then the workflow status is complete elif JOB_STATUS_BOOL[job_status] is True and REPORT_STATUS_BOOL[report_status] is True: expression_attribute_values_dict[":workflow_status"] = { - "S": "COMPLETE" + "S": "SUCCEEDED" } update_expression_str = f"{update_expression_str}, workflow_status = :workflow_status" @@ -294,7 +294,7 @@ def handler(event, context): # # "BOOL": true # # }, # # ":workflow_status": { -# # "S": "COMPLETE" +# # "S": "SUCCEEDED" # # } # # }, # # "update_expression_str": "SET job_status = :job_status, report_status = :report_status, job_status_bool = :job_status_bool, report_status_bool = :report_status_bool, workflow_status = :workflow_status"