-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updates the inputs to match the latest lambda payload schema (#395)
* fix: updates the inputs to match the latest lambda payload schema * chore: refactor and add typing for the step-function payload creation function * fix: typing and refactor fnctions * chore: ensure default cors config file exists for developer experience improvement * fix: ensure client is not responsible for trace-header setting. update to provide a unique execution name * chore: add some notes on testing step functions locally and sample files to make it easier for devs * docs: add info on accessing local postgresql databases via psql * chore: add additional help for how the local step function can be used * chore: remove unnecessary guard clause. This env-var must be set * fix: update tests to reflect the new refactored functions * fix: ensure aws module exports similar to other modules. Update the tests to reflect the new export-type. * fix: updates tests reflect new payload structure for create_archive lambda * fix: all instances where aws module is being imported incorrectly * fix: payload value type * fix: duplicate log * fix: payload to match schema * chore: add a separate directory explaining how to simulate treasury file generation locally. Note: this will be removed once the terraform can be run directly on localstack, but for now this is a good starting point to verify the work. * chore: add documentation on how to use the newly added scripts for testing step functions locally * fix: ensure that the step function input always contains the minimum required fields * chore: add guard-clause when no information is supplied to lambda * fix: update the step function definition to use execution-state rather than local state among states * fix: remove unnecessary logs and add description * fix: updates tests to reflect the new step-function input
- Loading branch information
Showing
31 changed files
with
662 additions
and
272 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
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
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
Oops, something went wrong.