Steve Pulec
dfc793916d
Merge pull request #1848 from ashb/expand-glue-catalog-mocking
...
Mock more of the Glue Data Catalog APIs
2018-10-15 01:14:03 -04:00
Steve Pulec
7b9bb15d28
Merge pull request #1756 from ferruvich/add_extra_attributes_in_token_payload
...
Add extra attributes in token payload
2018-10-15 01:02:07 -04:00
Steve Pulec
87e7c7df48
Merge pull request #1852 from jrbeilke/feature-AbortIncompleteMultipartUpload
...
Add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to S3 lifecycle rules
2018-10-15 01:00:03 -04:00
Steve Pulec
6d1491171a
Merge pull request #1727 from ashleygould/organizations_support
...
Organizations support
2018-10-15 00:58:26 -04:00
Steve Pulec
a22cb410b0
Merge pull request #1872 from uncovertruth/fix/wrong_type_if_exists
...
Fix wrong type if exists
2018-10-15 00:38:08 -04:00
Steve Pulec
cb5bf5051b
Merge pull request #1859 from georgealton/master
...
Fixes #1857 Ensures a UserPool Id starts like {region}_
2018-10-15 00:08:49 -04:00
Steve Pulec
c8a083a066
Merge pull request #1846 from william-richard/log-event-ids-are-strings
...
Filter event log ids should be strings
2018-10-15 00:05:37 -04:00
Steve Pulec
5568950394
Merge pull request #1856 from jrbeilke/feature-schedule_key_deletion
...
Add support for disable_key, enable_key, cancel_key_deletion, schedule_key_deletion to KMS
2018-10-15 00:03:26 -04:00
Steve Pulec
ac13f86641
Merge pull request #1869 from uncovertruth/master
...
Allow spaces to if_not_exists, attribute_exists and attribute_not_exists
2018-10-14 23:59:49 -04:00
Kosei Kitahara
13c2e69932
Allow extra spaces to attribute_exists and attribute_not_exists too
2018-10-12 16:59:52 +09:00
Kosei Kitahara
cf157287e7
Fix wrong type if exists
2018-10-12 16:08:05 +09:00
Kosei Kitahara
2c15d71c2c
Allow spaces to if_not_exists
2018-10-11 18:21:53 +09:00
Danny Cosson
9081a160d3
fixes for cognito identity library
2018-10-09 10:28:15 -07:00
Ashley Gould
7a88e634eb
organizations: add exception test for describe_organization endpoint
2018-10-08 15:27:19 -07:00
George Alton
d9577f9d3d
Ensures a UserPool Id starts like {region}_
2018-10-08 19:04:47 +01:00
Jon Beilke
c1ebec1b35
remove start_time from attrib comparison in test_copy_snapshot()
2018-10-08 10:17:51 -05:00
Jon Beilke
181e9690b8
need os for checking server mode env variable
2018-10-08 08:38:49 -05:00
Jon Beilke
c2595b2eef
cant manipulate time in server mode tests
2018-10-08 08:29:21 -05:00
Jon Beilke
398dcd8230
transform DeletionDate in model instead to accomodate Key.to_dict
2018-10-06 01:47:22 -05:00
Jon Beilke
76baab74ad
missing tzlocal
2018-10-06 01:33:02 -05:00
Jon Beilke
9b25d56a35
need datetime for tests since thats what boto3 returns and add default for PendingWindowInDays
2018-10-06 01:18:26 -05:00
Jon Beilke
59c233f431
avoid needing to import datetime and dealing with timezone vs naive datetimes in tests
2018-10-06 00:33:23 -05:00
Jon Beilke
21c8914efe
include pending days input for schedule key deletion and update tests since boto client returns DeletionDate as datetime
2018-10-06 00:13:47 -05:00
Jon Beilke
6277983e3f
missed some KeyMetadata and need to transform datetime for testing
2018-10-05 23:48:19 -05:00
Jon Beilke
f596069dab
use initial KeyMetadata for identifying keys in KMS tests
2018-10-05 23:35:34 -05:00
Jon Beilke
372f749831
format DeletionDate properly for JSON serialization
2018-10-05 22:46:19 -05:00
Jon Beilke
786b9ca519
need region for kms client
2018-10-05 22:17:48 -05:00
Jon Beilke
a29daf411b
fix invalid variables used in kms testing
2018-10-05 21:56:32 -05:00
Jon Beilke
695b4349ba
indentation fix
2018-10-05 21:43:12 -05:00
Jon Beilke
7e96203020
add freezegun and test DeletionDate for chedule_key_deletion
2018-10-05 16:21:16 -05:00
Jon Beilke
15c24e49f0
fix formatting for including DeletionDate in response
2018-10-05 16:00:20 -05:00
Jon Beilke
60ec840eef
add disable_key, enable_key, cancel_key_deletion, and schedule_key_deletion actions to KMS endpoint
2018-10-05 15:55:47 -05:00
Jon Beilke
12e0a38b56
add TODO for testing exceptions with aimu and nve
2018-10-05 11:04:55 -05:00
Jon Beilke
5b3b52752d
explicitly check that lifecycle actions are not None when setting lifecycle
2018-10-04 10:25:16 -05:00
Ash Berlin-Taylor
5783d66206
Mock more of the Glue Data Catalog APIs
...
This adds some of the missing Get/Update/Create APIs relating to the
Glue data catalog -- but not yet all of them, and none of the Batch* API
calls.
2018-10-03 15:34:38 +01:00
Jon Beilke
a1a8ac7286
check for None in lifecycle actions
2018-10-03 01:26:09 -05:00
Jon Beilke
9b5f983cb5
add action validation to set_lifecycle()
2018-10-03 01:11:11 -05:00
Jon Beilke
691a8722a8
formatting fix for flake8 due to extra spaces
2018-10-03 00:45:47 -05:00
Jon Beilke
ea4fcaa82a
add support for NoncurrentVersionTransition, NoncurrentVersionExpiration, and AbortIncompleteMultipartUpload actions to s3 lifecycle rules
2018-10-03 00:40:28 -05:00
William Richard
3afb2862c0
Filter event log ids should be strings
...
Based on the boto docs, eventId should be returned as a string.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events
2018-10-01 17:11:36 -04:00
Jon Beilke
fe9b312fd2
Merge pull request #1 from spulec/master
...
Pull latest changes from upstream (version 1.3.6)
2018-10-01 11:37:43 -05:00
Ashley Gould
95700d6631
Merge remote-tracking branch 'spulec/moto/master' into organizations_support
2018-09-28 08:52:22 -07:00
Ashley Gould
b8be517be0
organizations support: add exception handling for describe_organizations
2018-09-28 08:34:19 -07:00
Ashley Gould
4356e951e1
[issue #1720 ] Add support for AWS Organizations
...
fix travis build error
2018-09-28 08:34:19 -07:00
Ashley Gould
05928b1497
[issue #1720 ] Add support for AWS Organizations
...
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d
[issue #1720 ] Add support for AWS Organizations
...
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7
organizations: fix python 2.7 test errors
2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110
organizations: add endpoint list_chilren
2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5
organizations: endpoint list_parents now support account_id param
...
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
9b5c6c4f0f
organizations.model.FakeAccount: rename attributes:
...
account_id -> id
account_name -> name
2018-09-28 08:34:18 -07:00