-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from NHSDigital/release/2024-06-04
Release/2024-06-04
- Loading branch information
Showing
232 changed files
with
7,815 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024.05.31 | ||
2024.06.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- [PI-322] State machine lambda error messages truncated | ||
- [PI-346] Update now includes modify changes, plus testing suite | ||
- [PI-347] Updates implemented sequentially | ||
- [PI-358] Disable SDS ETL update timer on persistent environments |
91 changes: 91 additions & 0 deletions
91
...e/terraform/per_workspace/modules/etl/sds/etl-diagram--update-transform-and-load.asl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"Comment": "SDS ETL - Sequential Transform and Load for updates", | ||
"TimeoutSeconds": 60, | ||
"StartAt": "load", | ||
"States": { | ||
"load": { | ||
"Type": "Task", | ||
"Resource": "arn:aws:states:::lambda:invoke", | ||
"OutputPath": "$.Payload", | ||
"Parameters": { | ||
"FunctionName": "${load_worker_arn}:$LATEST", | ||
"Payload": { | ||
"max_records": "1" | ||
} | ||
}, | ||
"Retry": [ | ||
{ | ||
"ErrorEquals": [ | ||
"Lambda.ServiceException", | ||
"Lambda.AWSLambdaException", | ||
"Lambda.SdkClientException", | ||
"Lambda.TooManyRequestsException" | ||
], | ||
"IntervalSeconds": 1, | ||
"MaxAttempts": 3, | ||
"BackoffRate": 2 | ||
} | ||
], | ||
"Next": "load-result" | ||
}, | ||
"load-result": { | ||
"Type": "Choice", | ||
"Choices": [ | ||
{ | ||
"Not": { | ||
"Variable": "$.error_message", | ||
"IsNull": true | ||
}, | ||
"Next": "etl-stopped" | ||
}, | ||
{ | ||
"And": [ | ||
{ | ||
"Variable": "$.error_message", | ||
"IsNull": true | ||
}, | ||
{ | ||
"Not": { | ||
"Variable": "$.unprocessed_records", | ||
"NumericEquals": 0 | ||
} | ||
} | ||
], | ||
"Next": "load" | ||
} | ||
], | ||
"Default": "transform" | ||
}, | ||
"transform": { | ||
"Type": "Task", | ||
"Resource": "arn:aws:states:::lambda:invoke", | ||
"OutputPath": "$.Payload", | ||
"Parameters": { | ||
"FunctionName": "${transform_worker_arn}:$LATEST", | ||
"Payload": { | ||
"max_records": "1", | ||
"trust": false | ||
} | ||
}, | ||
"Retry": [ | ||
{ | ||
"ErrorEquals": [ | ||
"Lambda.ServiceException", | ||
"Lambda.AWSLambdaException", | ||
"Lambda.SdkClientException", | ||
"Lambda.TooManyRequestsException" | ||
], | ||
"IntervalSeconds": 1, | ||
"MaxAttempts": 3, | ||
"BackoffRate": 2 | ||
} | ||
], | ||
"Next": "etl-stopped" | ||
}, | ||
|
||
"etl-stopped": { | ||
"Type": "Pass", | ||
"End": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.