Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQS/Lambda interaction. #904

Merged
merged 10 commits into from Sep 1, 2018
Merged

Add SQS/Lambda interaction. #904

merged 10 commits into from Sep 1, 2018

Conversation

mattfrohligeraver
Copy link
Contributor

Currently event notification configurations for lambda functions that use an SQS queue as the source are not taken into account. This PR adds that functionality based on the implementation of a similar Kinesis/Lambda interaction.

@coveralls
Copy link

coveralls commented Aug 17, 2018

Coverage Status

Coverage increased (+0.08%) to 76.7% when pulling 5a4fa85 on AverInformatics:feat-sqs-lambda into 3e41d09 on localstack:master.

@danonorato
Copy link
Contributor

any chance this gets merged soon? would like to use it...

@whummer
Copy link
Member

whummer commented Aug 29, 2018

Thanks for this PR @mattfrohligeraver ! Only added a minor nitpick comment - can we address it before merging? thx

new_response = Response()
new_response._content = (
'<?xml version="1.0"?>'
'<SendMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/">'
Copy link
Member

Choose a reason for hiding this comment

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

nit: Instead of inlining the entire XML string here, can we define a root level constant at the top of the file? Also, we can reuse the xmlns namespace URL.

@mattfrohligeraver
Copy link
Contributor Author

@whummer Thanks for the feedback. I have made the requested change.

@whummer
Copy link
Member

whummer commented Sep 1, 2018

Great, thanks for updating the PR.

@whummer whummer merged commit f1119f1 into localstack:master Sep 1, 2018
Stovoy pushed a commit to Nextdoor/localstack that referenced this pull request Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants