Commit Graph

3750 Commits

Author SHA1 Message Date
Grégory Bataille
34ac5c72b9 feat(#1959): bucket in us-east-1 return None as LocationConstraint 2018-11-20 19:50:42 +01:00
Grégory Bataille
b0eb7b263e test(#1959): us-east-1 located bucket should return a None LocationConstraint 2018-11-20 19:42:51 +01:00
Grégory Bataille
437eb892e2 feat(#1959): LocationConstraint us-east-1 is not accepted by the CreateBucket operation 2018-11-20 18:57:05 +01:00
Grégory Bataille
9291ff533a test(#1959): LocationConstraint us-east-1 should be refused 2018-11-20 18:56:56 +01:00
Grégory Bataille
96f9896885 test(#1959): define dummy aws credentials for test 2018-11-20 18:56:49 +01:00
Tatsuya Hoshino
293b25a8f9 Add a missing trailing dot to the Name of ResourceRecordSet
AWS Route53 treats www.example.com (without a trailing dot)
and www.example.com. (with a trailing dot) as identical.
Hence, after creating a `www.example.com` record,
`www.example.com.` name is saved in Route53.
But moto treated `www.example.com` and `www.example.com.` as different.

This commit fixes the moto behavior.
2018-11-20 21:43:59 +09:00
Joe Engel
57fa11136b Add functionalities for SAML Providers 2018-11-19 15:53:02 -08:00
Lorenz Hufnagel
cf5bd7665c Mock AWS credentials
https://github.com/spulec/moto/issues/1924
2018-11-16 12:23:39 +01:00
Jon Miller
b5eb724773 Add default path to Role & InstanceProfile 2018-11-15 15:24:45 -08:00
Niko Eckerskorn
ed861ecae1 Loosen aws-xray-sdk requirements (#1948) 2018-11-15 07:29:05 +00:00
Mark Challoner
6e6f23a1b0
Set deleted status on vpc peer deletion. 2018-11-14 14:48:57 +00:00
Karl Gutwin
2ec32c80f7 Merge in functionality from #1899 2018-11-09 13:21:38 -05:00
Karl Gutwin
46c0f8915f Fix flake8 failures (boo) 2018-11-09 09:32:19 -05:00
Karl Gutwin
770ad1db56 Correct behavior of ReturnValues parameter to put_item and update_item 2018-11-08 16:21:06 -05:00
Karl Gutwin
e7b01292e9 Fix test failures in server mode 2018-11-08 13:57:44 -05:00
Karl Gutwin
9d190aa04e Tweak functionality and add tests 2018-11-08 13:22:24 -05:00
Karl Gutwin
ff6a57f443 Fix flake8 failures 2018-11-08 11:08:24 -05:00
Karl Gutwin
0f6086f708 Finalize implementation of DynamoDB Streams 2018-11-08 10:54:54 -05:00
Karl Gutwin
519899f74f Much of the way towards complete DynamoDB Streams implementation 2018-11-07 17:10:00 -05:00
Karl Gutwin
0b57ffe26a Add StreamSpecification to dynamodb2 package 2018-11-07 15:03:25 -05:00
Tomoya Iwata
e52158f811 Add support for IoT detach_policy 2018-11-06 17:15:30 +09:00
Justin Dray
4af9407ef4
Update to jose 3.x 2018-11-06 00:15:34 +00:00
adam davis
b66965e6e8 Adding cloudformation-validate. Cfn-lint does the heavy lifting. 2018-11-05 15:16:32 -08:00
Mike Grima
94b5438d76 Added IAM User signing certificate support 2018-11-05 13:15:44 -08:00
Mike Grima
6e17ba51c6 Fixed a truncation bug for list_user_policies. 2018-11-05 09:24:28 -08:00
Mike Grima
b4b0ae5077 Some IAM fixes.
- Fixed InstanceProfiles having `Path` set to `None`.
- Added in some dynamic `CreateDate`s.
- Fixed missing Instance Profile ID's being sent over
2018-11-05 09:24:28 -08:00
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