Commit Graph

1683 Commits

Author SHA1 Message Date
Gary Donovan
1b42c7bf7a Be able to change enabled status for cognito-idp users 2018-10-17 11:28:24 +11:00
Steve Pulec
fb5654a5dc
Merge pull request #1862 from dcosson/cognito_identity_fixes
Fixes for cognito identity library
2018-10-15 01:21:44 -04:00
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
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
Kosei Kitahara
13c2e69932
Allow extra spaces to attribute_exists and attribute_not_exists too 2018-10-12 16:59:52 +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
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
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
7e96203020 add freezegun and test DeletionDate for chedule_key_deletion 2018-10-05 16:21:16 -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
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
9b5f983cb5 add action validation to set_lifecycle() 2018-10-03 01:11:11 -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
Ashley Gould
95700d6631 Merge remote-tracking branch 'spulec/moto/master' into organizations_support 2018-09-28 08:52:22 -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
009dcdb21a organizations: and another 2 endpoints:
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4 organiziaions: 2 new endpoints:
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8 organizations: add 2 more endpoints
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1 organizations: add endpoint list_roots 2018-09-28 08:34:18 -07:00
Ashley Gould
c40d2be646 organizations: clean up for flake8 2018-09-28 08:34:18 -07:00
Ashley Gould
edbc57e00d add support for AWS Organizations
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts

all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00
Ferruvich
da76ea633b Removed redundand line 2018-09-28 16:31:57 +02:00
Ferruvich
e69d2834e8 Removing failing test in order to check coverage and Travis test 2018-09-28 16:26:03 +02:00
Ferruvich
9adb7c818d Added extra test 2018-09-28 16:26:03 +02:00
Ferruvich
ab8f4dd159 Testing new feature 2018-09-28 16:26:03 +02:00
Steve Pulec
2abbecee71
Merge pull request #1774 from chrisLeeTW/cloudwatch-sequenceToken-hotfix
nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-09-22 17:16:53 -04:00
Steve Pulec
c035348ae4
Merge pull request #1759 from kgutwin/iam_get_policy
Implement IAM get_policy and correct policy version behavior
2018-09-22 16:59:07 -04:00