Step Functions - basic method implementation #2409
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
A first attempt at the implementation for Step Functions.
The start_execution does not do anything at the moment - don't know whether it's achievable/recommendable to actually execute the underlying activities/lambdas, considering it's supposed to be a mock?
Right now it just creates a static Execution object that is 'Running', until you manually stop() it.
In my (limited) experience, the State Machine was set up as part of the infrastructure.
Subsequent method calls would only call start_execution, so the test setup would look like this:
This doesn't test the actual definition of course. Ideally we at least validate the provided JSON - but that would require some more work.
LMKWYT