Commit Graph

3724 Commits

Author SHA1 Message Date
Steve Pulec
90a62b5640 1.3.7 2018-11-04 17:30:44 -05:00
Steve Pulec
0fc00e2a3b
Merge pull request #1907 from lhufnagel/rebased_pr
Get all tests working with latest botocore
2018-11-04 17:26:57 -05:00
Pall Valmundsson
e9f8bec91a Fix boto3 IAM test function names 2018-11-01 19:58:09 +00:00
Pall Valmundsson
67cb2e25bb Support IAM Credential Report in boto3
Lowercase XML element names in API responses seem to cause issues for boto3.
2018-11-01 19:51:17 +00:00
jamesandres
e38eea751f
Go easier on the CPU when moto sqs is idle
For our local development setup we have found that moto is using around 25% CPU constantly. Digging in with gdb it turned out that it was burning that CPU in the sleeping loop. Here i'm increasing the sleep by 10x which brings the idle CPU usage down by 10x (to ~2%).

I'm not familiar enough with the moto/sqs codebase to know if lengthening this sleep will have an adverse effect; however, in other Python dev I've noticed that (in Python 2.7 anyway..) Python threading won't context switch a thread until a sleep of at least 0.01 seconds is performed (shockingly long!). So based on this guesswork I suspect sleeping for 0.01 seconds won't cause any grief.
2018-10-31 11:39:49 +00:00
Steve Pulec
a8bc7a608e Lint. 2018-10-30 22:09:47 -04:00
Steve Pulec
75f2c56a36 Fix ecs error response to be json. 2018-10-30 22:03:16 -04:00
Tomoya Iwata
3d71a67794 Add some validations for IoT delete operations
fix #1908
2018-10-30 14:51:04 +09:00
Mark Challoner
a0708a70fc
Fix Tags parameter on CloudFormation create_change_set method. 2018-10-29 13:33:30 +00:00
Lorenz Hufnagel
b20e190995 Try to get tests running 2018-10-29 09:12:22 +01:00
Jordan Guymon
fd4e524855 Use env credentials for all tests 2018-10-29 09:12:22 +01:00
Jordan Guymon
8e909f580a MockAWS implementation using botocore event hooks 2018-10-29 09:12:22 +01:00
George Alton
9ba28a05b8
avoids copying entire result into a new list 2018-10-28 11:00:47 +00:00
Tomoya Iwata
249dd7059e add test case for IoT attach_policy
do nothing if policy have already attached to certificate
2018-10-28 17:13:17 +09:00
Jamie Starke
090cad8c88 [1009] Converts ECS Instance full arn to instance_id for storage 2018-10-26 21:54:01 -07:00
Illia Volochii
5ca68fbf06
Update jsondiff to 1.1.2 2018-10-26 22:12:26 +03:00
zane
b485122ec6 refactor to store multiple scrects, use uuid 2018-10-25 15:16:40 -07:00
Tomoya Iwata
80f860727f Add support for IoT attach_policy 2018-10-25 20:44:42 +09:00
George Alton
aa4be6fcad
Adds limiting/pagination to cognitoidp list_* functions 2018-10-24 15:56:20 +01:00
Drew Pearce
ecc7c24467 simple fix for not equals in dynamodb filter expressions. i suspect this was just a typo 2018-10-23 15:54:56 -04:00
Drew Pearce
544050ab27 added tests for dynamodb not equals 2018-10-23 15:37:28 -04:00
Adam Davis
ede02e2c2a
Without double quotes, pip would not install 2018-10-22 13:37:52 -07:00
Jon Banafato
b4c44a820f Add a long description to setup
Include the readme as the `long_description` argument to `setup` and set
its content type appropriately. This allows PyPI to render the content
correctly.
2018-10-19 17:09:19 -04:00
Steve Pulec
71a054af92
Merge pull request #1882 from georgealton/add_keyId_support_to_get_usage_plans
Adds keyId support to apigateway get_usage_plans
2018-10-17 23:50:42 -04:00
Steve Pulec
c09b91de71
Merge pull request #1883 from georgealton/raise_user_not_found_error
Missing users now raise a UserNotFoundException
2018-10-17 23:49:22 -04:00
Steve Pulec
1fe32f4338
Merge pull request #1884 from willbengtson/get-account-auth-details-test-fix
remove the marker since this is truncated
2018-10-17 23:46:09 -04:00
Will Bengtson
4a7ed0d43e remove the marker since this is truncated 2018-10-17 15:48:13 -07:00
George Alton
2d2708cfd7
Missing users now raise a UserNotFoundException
A missing user in a cognito user pool has raises a UserNotFoundException,
not a ResourceNotFoundException. This commit corrects the behaviour so
that the correct exception is raised
2018-10-17 18:39:52 +01:00
George Alton
d919024510
Adds keyId support to apigateway get_usage_plans
apigateway is able to filter the result set, returning only usage plans
with the given keyId.

This commit supports filtering the usage plans returned to the user by
filtering the list of usage plans by checking for usage plan keys
2018-10-17 13:44:00 +01:00
Steve Pulec
2aad36f984
Merge pull request #1880 from garyd203/cognitoidp-user-enabled
Be able to change `enabled` status for cognito-idp users
2018-10-16 23:24:44 -04:00
Steve Pulec
e20d08435b
Merge pull request #1879 from mikegrima/iamgroupfixes
Fixes for IAM Groups
2018-10-16 23:23:53 -04:00
Steve Pulec
c52a408a56
Merge pull request #1878 from garyd203/dynamodb2-compare-keys-to-list
Don't compare a dict_keys object to a list, since it is always False
2018-10-16 23:23:07 -04:00
Gary Donovan
1b42c7bf7a Be able to change enabled status for cognito-idp users 2018-10-17 11:28:24 +11:00
Gary Donovan
ffa7560d02 Implement user-group relationships for cognito-idp 2018-10-17 11:19:33 +11:00
Gary Donovan
04fdd5617a Implement group management for cognito-idp 2018-10-17 11:19:33 +11:00
Gary Donovan
24e942b50e Update list of implemented endpoints for cognito-idp 2018-10-17 11:16:37 +11:00
Mike Grima
8ae1a2b357 Fixes for IAM Groups 2018-10-16 17:14:23 -07:00
Gary Donovan
81f96c4ceb Don't compare a dict_keys object to a list, since it is always False 2018-10-17 11:08:44 +11:00
Steve Pulec
2bb3d07e11
Merge pull request #1702 from RobRoseKnows/patch-1
Updated index.rst to fix overflow
2018-10-15 02:05:44 -04:00
Steve Pulec
27ca96519b Fix extra whitespace in s3. Closes #1844. 2018-10-15 01:37:38 -04: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
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