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 basic EventBridge (CloudWatch Events) support #1429

Merged
merged 2 commits into from
Jul 29, 2019

Conversation

eoinsha
Copy link
Contributor

@eoinsha eoinsha commented Jul 17, 2019

This adds a moto server for CloudWatch Events / EventBridge.

Relates to issue #103 but does not add a full implementation with event triggering. The benefit of merging this PR is that you can invoke CloudWatch Events APIs like put_rule and put_events against a local target. A separate PR would be required to add full event bus support with scheduled events, triggers and targets.

@coveralls
Copy link

coveralls commented Jul 17, 2019

Coverage Status

Coverage increased (+0.2%) to 70.256% when pulling 97b00e1 on eoinsha:master into b7540ed on localstack:master.

@whummer
Copy link
Member

whummer commented Jul 24, 2019

Thanks for this PR @eoinsha . Do you think we could add a very basic integration test with a few simple API calls like put_rule and put_events? Thanks!

@eoinsha
Copy link
Contributor Author

eoinsha commented Jul 29, 2019

Sure, @whummer. Tests added via 97b00e1

@whummer
Copy link
Member

whummer commented Jul 29, 2019

Awesome - thanks again 👍

@whummer whummer merged commit 9518cb2 into localstack:master Jul 29, 2019
@eoinsha
Copy link
Contributor Author

eoinsha commented Aug 1, 2019

Great - thanks @whummer Is it possible to get a release (DockerHub) of this feature or understand when this might happen?

@romipetrelis-evive
Copy link

Is event triggering supported using a Lambda function? We've done events put-rule, lambda add-permission, and events put-targets but are not seeing the events trigger the lambdas.

@duongpv7 duongpv7 self-assigned this Apr 21, 2020
duongpv7 added a commit that referenced this pull request Apr 25, 2020
* Add handle for target lambda
* Add integration test

Fixed last comment in:
#1429 Add basic EventBridge (CloudWatch Events) support (#1429)
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

5 participants