Emilio López
5fd20626b3
events: fix archive event pattern match check ( #3671 )
...
* events: fix archive event pattern match check
There is a missing `return True` for the positive match case in
matches_pattern, causing all valid patterns to fail.
* events: add test for valid, non-empty pattern match
2021-02-16 08:54:28 +00:00
Anton Grübel
199da2220b
Add EventBridge Archive CRUD endpoints ( #3617 )
...
* Add events.create_archive
* Add events.describe_archive
* Add events.list_archives
* Add events.update_archive
* Add events.delete_archive
* Add actual archive functionality
* Fix test
* Fix PR issues
2021-01-28 10:47:53 +00:00
Anton Grübel
17d94f9e09
Add validation to put_events ( #3579 )
...
* Add validation to put_events
* Add extra test for put_events
* Fix Python 2.7 error
2021-01-11 09:41:31 +00:00
Guillermo Arribas
62fd975da0
EventBridge: put_rule and list_rules should store and retrieve EventBusName property ( #3472 )
...
Co-authored-by: Guillermo Arribas <garribas@atlassian.com>
2020-11-17 15:36:17 +00:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
Giovanni Torres
195ba81c56
feat: update events remove_targets API response ( #3340 )
...
* feat: update events remove_targets API response
* test: add missing test for expected exception
2020-09-29 11:51:17 +01:00
Logan Jones
6fb7867767
Fix: Put Events API ( #3145 )
...
* Fix: Put Events API
* Update from code review.
Co-authored-by: Logan Asher Jones <logan@codescratch.com>
2020-07-19 10:00:24 +01:00
Victor Le Fichant
cb600377b4
Fix incorrect response for put-targets action ( #3037 )
2020-06-02 16:31:42 +01:00
Guilherme Martins Crocetti
c25f6a72da
refactor put_rule test
2020-04-01 22:14:51 -03:00
Guilherme Martins Crocetti
a1f664d2bb
Change put_rule (and it's response) and fix tests_events/
2020-03-22 17:33:44 -03:00
Bryan Alexander
38413577fc
fixes bug in resourcetaggingapi/get_kms_tags
2020-02-19 09:18:01 -06:00
Bryan Alexander
445f474534
merging from master
2020-02-18 10:47:05 -06:00
Brady
ecdedf30c8
force build...
2020-02-05 16:31:33 -05:00
Brady
1e851fb1d8
remove dead code
2020-01-17 10:12:58 -05:00
Brady
eaa8c8db6e
add tagging support to events
2020-01-16 21:03:32 -05:00
Bryan Alexander
6cb0428d20
adds tagging support for cloudwatch events service
2020-01-15 10:41:54 -06:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
gruebel
8075456230
Fix test for python 2.7
2019-11-06 19:15:47 +01:00
gruebel
1d615e25b6
Add events.delete_event_bus
2019-11-04 21:31:04 +01:00
gruebel
831577350d
Add events.list_event_buses
2019-11-03 20:42:31 +01:00
gruebel
f1dbdc9184
Refactor events.describe_event_bus, put_permission & remove_permission
2019-11-03 19:55:58 +01:00
gruebel
93e4d4aa9a
Add events.create_event_bus
2019-11-01 09:52:06 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Jessie Nadler
277cec0928
Add multi region support for Events
2019-10-03 15:15:11 -04:00
William Rubel
c46bc9ae83
Trying to improve coverage
2019-02-18 09:15:07 -06:00
William Rubel
e229d248ad
Trying to improve coverage
2019-02-18 08:52:37 -06:00
Steve Pulec
0b2602db27
Merge pull request #1641 from cpitchford/bugfix_events_put_permission_action_filter
...
Bugfix events put permission action filter
2018-05-29 22:32:49 -04:00
cpitchford
b6e795ce61
Testing using fully qualified Action events:PutEvents
...
The Action parameter to put_permission must be fully qualified as events:PutEvents as per:
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.put_permission
2018-05-15 18:30:30 +01:00
cpitchford
e85106c708
describe_event_bus returns json, not dict
...
Correct the assumption that describe_event_bus()['Policy'] is a dict
As per
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.describe_event_bus
It should be a JSON encoded string
Here we decode the JSON before we look inside the policy
2018-05-15 17:04:59 +01:00
Terry Cain
a6e5ffb99b
Completed events
2017-10-28 20:17:34 +01:00
Steve Pulec
bf935c210b
Fix cloudwatch events delete_rule. Closes #884 .
2017-04-12 22:15:23 -04:00
Steve Pulec
3c0c4c2996
Fix tests for py3.
2017-02-23 22:28:09 -05:00
Justin Wiley
6c85a85e0d
Removed OrderedDicts for 2.6 and dict.iteritems() calls for 3.3+ compatibility.
2016-12-01 19:10:59 -08:00
Justin Wiley
db0b494b4f
Completed the CloudWatch Events mocking module and tests.
2016-12-01 17:23:51 -08:00