FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(stepfunctions): Improve aws stepfunctions support by idonava · Pull Request #202 · epsagon/epsagon-python · GitHub

This repository was archived by the owner on Jun 13, 2023. It is now read-only.
/ epsagon-python Public archive

feat(stepfunctions): Improve aws stepfunctions support - #202

Merged
idonava merged 7 commits into
masterfrom
feature/sqs-with-stepfunctions/EP-2471
Mar 1, 2020
Merged

feat(stepfunctions): Improve aws stepfunctions support#202
idonava merged 7 commits into
masterfrom
feature/sqs-with-stepfunctions/EP-2471

Conversation

idonava commented Feb 23, 2020
edited
Loading

Copy link
Copy Markdown
Contributor

Add support to the following functions: send_task_success, send_task_heartbeat, describe_execution
Add support to step function lambda triggered by SQS

idonava changed the title feat(stepfunctions): init commit feat(stepfunctions): Improve aws stepfunctions support Feb 24, 2020
idonava requested a review from ronyis February 24, 2020 14:30
Comment thread epsagon/events/botocore.py Outdated
Comment thread epsagon/events/botocore.py Outdated
:return: None
"""
_, request_args = args
try:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I don't see why you need this try block as it.
initialize_step_dict already has it, and if you think that the json.loads may be problematic you should except only related errors.

Comment thread epsagon/events/botocore.py Outdated
:param response: response from Step function Client
:return: None
"""
self.resource['metadata']['Response Metadata'] = response.get(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

What is this field? I don't see it in the documentation.
And I don't think you should save the empty string if it's missing.

Comment thread epsagon/events/botocore.py Outdated
Comment thread epsagon/modules/botocore.py Outdated
return wrapper(BotocoreEventFactory, wrapped, instance, args, kwargs)


def initial_steps_dict(request_args, params_property_name):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

That's not a good name

Comment thread epsagon/triggers/aws_lambda.py Outdated
Comment thread epsagon/triggers/aws_lambda.py Outdated
idonava force-pushed the feature/sqs-with-stepfunctions/EP-2471 branch from f4b1a58 to 216a782 Compare February 25, 2020 17:42
Comment thread epsagon/utils.py Outdated
Comment thread epsagon/utils.py Outdated
Comment thread epsagon/utils.py Outdated
Comment thread epsagon/utils.py
idonava force-pushed the feature/sqs-with-stepfunctions/EP-2471 branch from e3368d0 to 6a4fd0f Compare February 26, 2020 18:19
idonava requested a review from ronyis February 26, 2020 18:20

ronyis left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good, but few minor comments remain (see the unresolved ones)

idonava merged commit ca6a591 into master Mar 1, 2020
ranrib deleted the feature/sqs-with-stepfunctions/EP-2471 branch March 2, 2020 09:47
This file contains hidden or 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL