Commit Graph

4983 Commits

Author SHA1 Message Date
pvbouwel
4be97916bf Allow reuse of components packed in models.py
By having models.py as one big file it causes to
easily create circular dependencies. With the current
setup it is not possible to re-use DynamoType. This
refactor moves it out to its own file while trying to
keep the structure as much as it is.
2020-04-12 20:05:35 +01:00
Bert Blommers
755a08e137
Merge pull request #2887 from DenverJ/enhancement/fix-describe-autoscaling-instances-filter
Add instance-id filter to describe_auto_scaling_instances
2020-04-12 11:09:31 +01:00
DenverJ
965046aa39 Fix formatting 2020-04-12 17:08:40 +10:00
DenverJ
593e5dc86a Add instance-id filter to describe_auto_scaling_instances 2020-04-12 13:44:16 +10:00
Bert Blommers
48288d8bb1
Merge pull request #2878 from usmangani1/2187_Issue
Adding functionalities aws apigateway create domain name,get domain names,get domain name
2020-04-09 08:58:05 +01:00
Bert Blommers
1654280e43 Linting 2020-04-09 08:12:44 +01:00
usmankb
82311087f4 linting 2020-04-08 22:04:48 +05:30
usmankb
8542309fc9 conflicts 2020-04-08 22:00:48 +05:30
usmankb
af57cfc7ec Added more tests and coverage 2020-04-08 21:54:26 +05:30
Bert Blommers
8237fdaff0 Linting 2020-04-08 11:06:30 +01:00
Bert Blommers
3b9717d5b1
Merge pull request #2876 from tmwong2003/tmwong2003/ecs-run-task-support-default-cluster
Changed mock_ecs to support ecs.run_task calls with a default cluster
2020-04-08 07:53:27 +01:00
Theodore Wong
0163eb6a9d Changed mock_ecs to support ecs.run_task calls with a default cluster 2020-04-07 15:32:44 -07:00
usmankb
856c07de63 aws apigateway create,get domain names 2020-04-08 03:18:42 +05:30
Bert Blommers
79eea51bf4
Merge pull request #2873 from usmangani1/Ec2_credit_spec
Implemented describe_instance_credit_specifications function in ec2 #…
2020-04-07 09:34:41 +01:00
Bert Blommers
e0f6e9d2c2
Merge pull request #2875 from dholroyd/no-response-body
PutObject and DeleteObject should produce no XML
2020-04-07 09:09:27 +01:00
Bert Blommers
aae49493c4 Linting 2020-04-07 08:52:37 +01:00
David Holroyd
a845de1142 PutObject and DeleteObject should produce no XML
S3 itself produces an empty body, with any response metadata in HTTP
headers only.
2020-04-06 21:01:43 +01:00
usmankb
81ca5c3ab0 Implemented describe_instance_credit_specifications function in ec2 #2150 localstack 2020-04-06 21:25:59 +05:30
Bert Blommers
452e63977e
Merge pull request #2869 from JessFlan/master
DynamodBStreams get_records gets JSON errors when processing complex types
2020-04-06 11:53:54 +01:00
jess
49fd7988ab make black happy 2020-04-06 19:55:54 +10:00
jess
4c2460ddfd fix whitespace changes 2020-04-06 18:45:23 +10:00
jess
b6e73776d5 alter testcase to trigger issue #2868 2020-04-06 18:41:46 +10:00
jess
09de93412e Prevent JSON dumps error when dealing with complex types 2020-04-06 17:21:26 +10:00
Bert Blommers
3a46fd1054
Merge pull request #2866 from dholroyd/master
Fix duplicated elements in S3 put_object / delete_object response XML structure
2020-04-06 07:42:16 +01:00
David Holroyd
16db824d8a Fix response XML structure 2020-04-06 00:19:19 +01:00
Bert Blommers
5ac9bb1885
Merge pull request #1296 from mickeypash/master
[EC2] VolumeInUseError when volumes still attached.
2020-04-03 15:16:56 +01:00
mickeypash
a6864f483d Use Python 2 format 2020-04-03 14:17:55 +01:00
mickeypash
d3367b8a90 Black formatting 2020-04-03 02:27:46 +01:00
mickeypash
76b9cbe16d Fix test 2020-04-03 02:14:14 +01:00
mickeypash
231b100057 Add test scaffold. Currently broken 2020-04-03 01:58:14 +01:00
mickeypash
d45e2d2e53 Merge remote-tracking branch 'upstream/master' 2020-04-02 12:35:47 +01:00
Bert Blommers
c87ab973c9
Merge pull request #2859 from gmcrocetti/fix-rules-cfn
CloudFormation support for events
2020-04-02 07:46:43 +01:00
Guilherme Martins Crocetti
503eeb51ae style with black 2020-04-01 22:48:40 -03:00
Guilherme Martins Crocetti
7591074453 add physical_resource_id support for Rule 2020-04-01 22:14:56 -03:00
Guilherme Martins Crocetti
c25f6a72da refactor put_rule test 2020-04-01 22:14:51 -03:00
Guilherme Martins Crocetti
c15ca133b8 add support for Fn::GetAtt in event's cloudformation 2020-04-01 22:14:51 -03:00
Guilherme Martins Crocetti
af08d71310 add support for RetentionInDays for LogGroup 2020-04-01 22:14:41 -03:00
Bert Blommers
c80f63fc82
Merge pull request #2855 from mikegrima/s3tags
Raise errors on tagging buckets with aws:*
2020-03-31 09:14:52 +01:00
Mike Grima
0c191ac33b Raise errors on tagging buckets with aws:*
Cannot tag S3 buckets with reserved tag key space `aws:`
2020-03-30 17:27:06 -07:00
Bert Blommers
acfdfb7d7c
Merge pull request #2850 from dreamorosi/bugfix/dynamodb-put-item-validation-exception
DynamoDB - fix put_item ValidationException
2020-03-29 09:42:54 +01:00
Andrea Amorosi
349b381390 Fixed dynamodb2 put_item ValidationException 2020-03-28 17:59:42 +00:00
Bert Blommers
c0953a229f
Merge pull request #2847 from ConstantinoSchillebeeckxSimpleRose/fix/stepfunction_stop_execution
fix: stepfunction stop_execution
2020-03-28 09:21:37 +00:00
Constantino Schillebeeckx
bb8d418054 fix: stepfunction stop_execution
Fixes #2846

Calling stop_execution on a stepfunction should set the status to `ABORTED` not `SUCCEEDED`.
2020-03-27 15:35:50 -05:00
Bert Blommers
95e95cc97d
Merge pull request #2841 from asherf/warns
Fix some 'DeprecationWarning: invalid escape sequence' warnings and use str.format for string interpolation.
2020-03-26 07:38:41 +00:00
Asher Foa
2e20ad14df Fix some 'DeprecationWarning: invalid escape sequence' warnings and use str.format for string interpolation.
Similar to https://github.com/spulec/moto/pull/2811
2020-03-25 11:08:12 -07:00
Bert Blommers
ef704852dd
Merge pull request #2833 from gmcrocetti/feat-events-cloudformation
Cloudformation support for Events::Rule
2020-03-24 08:04:07 +00:00
Guilherme Martins Crocetti
788b8fb6e1 Add tests for Events::Rule integration with cf 2020-03-23 22:17:02 -03:00
Guilherme Martins Crocetti
c96efe531e Add delete method for cloudformation's deletion 2020-03-23 22:14:34 -03:00
Guilherme Martins Crocetti
6180cf7a45 Fix blank space 2020-03-22 18:08:12 -03:00
Guilherme Martins Crocetti
98a17dfc46 Add test for boto3 integration 2020-03-22 18:03:42 -03:00