Commit Graph

3150 Commits

Author SHA1 Message Date
Mike Grima
770281aef2 Added put_bucket_logging support (#1401)
- Also added put acl for XML
- Put logging will also verify that the destination bucket exists in the same region with the proper ACLs attached.
2018-01-02 20:47:57 -08:00
Boris Gvozdev
633decc6c0 SNS: do not duplicate subscriptions 2018-01-02 11:30:39 +11:00
Mike Bjerkness
b855fee2e4 Add batch_get_image support for ECR (#1406)
* Add batch_get_image for ECR

* Add tests for batch_get_image

* Add tests for batch_get_image

* Undo local commits

* Undo local commits

* Adding object representation for batch_get_image

* Update responses. Add a couple more tests.
2017-12-30 18:39:23 -08:00
captainkerk
cd96de4903 ResourceContentionError is indeed a 500 2017-12-29 03:32:25 +00:00
captainkerk
144611ff99 define setup_networking_deprecated() method to create supporting
resources for tests that use deprecated methods
2017-12-29 03:00:53 +00:00
Jack Danger
84f2ec5e04
Merge pull request #1416 from goraxe/describe_regions_with_names
describe_regions: handle region-names parameter
2017-12-28 14:47:39 -08:00
Gordon Irving
4d9833b972 add test for descrie_regions with args 2017-12-28 21:02:58 +00:00
Jack Danger
948a7ac06f
Merge pull request #1417 from goraxe/cloudformation_vpc_add_tags
Cloudformation vpc add tags
2017-12-28 12:03:17 -08:00
Gordon Irving
e9b81bb325 add test for vpc tags 2017-12-28 19:27:53 +00:00
Gordon Irving
5fed6988da describe_regions: handle region-names parameter 2017-12-28 19:06:38 +00:00
Gordon Irving
6da22f9fa4 fix adding tags to vpc created by cloudformation 2017-12-28 19:04:37 +00:00
Jack Danger
e85bbe2ebc
Merge pull request #1415 from whummer/fix/404-on-missing-action
Return 404 error on missing action
2017-12-28 00:55:29 -08:00
Waldemar Hummer
24f83e91f2 return 404 error on missing action 2017-12-27 22:58:24 -05:00
captainkerk
fe1293ee5b remove unnecessary empty line 2017-12-27 20:31:57 +00:00
captainkerk
f7d8e3beb1 flake8 fix 2017-12-27 20:22:26 +00:00
captainkerk
59cf81fd56 AWS API raises an exception if both AZ and VPCZoneIdentifier params are empty. mock that exception, fix
tests to follow that pattern.
2017-12-27 19:17:59 +00:00
Jack Danger
101210e4d4
Merge pull request #1355 from JackDanger/jack/release-help
Updating CONTRIBUTING with release instructions
2017-12-27 11:07:01 -08:00
Jack Danger
a4d1319821 Adding comment inviting a future person to help use bumpversion 2017-12-27 11:06:26 -08:00
Jack Danger
6a29800ec8
Merge pull request #1407 from nimbusscale/cloudformation_updates
FakeStack update to support both JSON and YAML templates
2017-12-26 15:25:58 -08:00
Jack Danger
2aea4fc0d4
Merge pull request #1400 from MarSoft/fix-xray-client-decorator-ret-val
mock_xray_client: don't swallow function's return value
2017-12-26 13:28:33 -08:00
Jack Danger
e1b3b68b98
Merge pull request #1411 from OwnZones/master
Improved SWF support
2017-12-26 13:19:04 -08:00
George Ionita
3cede60f5b improved SWF support 2017-12-23 05:45:05 +02:00
Jack Danger
e6d0e28e73
Merge pull request #1354 from JackDanger/jack/easier-releases
Make releasing easier by making Makefile resilient
2017-12-22 09:43:36 -08:00
Jack Danger
025df574e4 Updating implementation coverage 2017-12-22 09:16:27 -08:00
Jack Danger
bd037742ad Make releasing easier by making Makefile resilient 2017-12-22 09:15:59 -08:00
Jack Danger
583622c468
Merge pull request #1409 from CloudVE/fix_image_should_raise_error
Make sure invalid or malformed AMIs raise an exception
2017-12-22 08:14:49 -08:00
Nuwan Goonasekera
c68cd650e7 Make sure invalid or malformed AMIs raise an exception
Closes: https://github.com/spulec/moto/issues/1408
2017-12-22 18:50:22 +05:30
Joe Keegan
6f6a881e52 rerun tests 2017-12-21 14:12:43 -08:00
Joe Keegan
bb4bc01999 update self.template_dict based on new template 2017-12-21 12:10:27 -08:00
NimbusScale
21606bc8ae update support JSON or YAML 2017-12-18 20:44:04 -08:00
Semyon Maryasin
7a4e48e8df
mock_xray_client: do return what f() returned
fixes #1399
this won't help with fixtures though
2017-12-17 04:40:26 +03:00
Alex M
e75f3ef4d4 Implement execute change set endpoint (#1391) 2017-12-14 12:07:23 +00:00
William Richard
df7a7958c1 Path is an optional property of instance profile cloudformation resource (#1382)
* Path is an optional property of instance profile cloudformation resource

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html

* Path is also optional for iam role clouformation resources

Based on http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html

* Use `properities.get` with a default instead of doing default handling myself
2017-12-14 12:06:04 +00:00
Alexander Mohr
a638019ea2 Merge remote-tracking branch 'spulec/master' 2017-12-11 15:09:27 -08:00
Alex M
2346e14e00 Add create change set endpoint (#1389) 2017-12-11 09:23:35 +00:00
Alexander Mohr
9d087b0729 add subject support (#1387) 2017-12-10 21:59:04 +00:00
Alexander Mohr
f763de85fb Merge remote-tracking branch 'spulec/master' 2017-12-08 17:21:30 -08:00
Chris Tomlinson
279efc6b12 Bump flake8 version and handle new lint errors (#1385) 2017-12-08 21:02:34 +00:00
Chris Tomlinson
499857e67f Fix co-operative inheritance for ec2 model (#1383) 2017-12-08 21:00:34 +00:00
Brian Cavagnolo
d2eea02774 add support for kinesis AT_TIMESTAMP shard iterator (#1376)
Fixes #813
2017-12-08 10:57:05 +00:00
William Richard
92f5f7b263 Add cloudformation update from s3 support (#1377)
* Fix variable name typo

* Make it possible to delete EC2 instances from cloudformation json

* Add support for updating a cloudformation stack from an s3 template url
2017-12-08 10:48:29 +00:00
David Bartle
52ce8d378f IAM delete_server_certificate (#1380)
* IAM delete_server_certificate

* flake8 fixes
2017-12-08 10:43:09 +00:00
Enis Afgan
0c01c7f495 Allow AMIs to be read from a custom file path (#1379) 2017-12-06 10:14:56 +00:00
Alexander Mohr
81f3cbb548 fix cloudwatch bug (#1374)
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Pierre Tardy
d8f6f77a0f Fix prebuilt images usability. (#1375)
- add a better error message when user uses an unknown ami
- add image_location in the default fake images

Fixes #1372
2017-12-05 09:22:13 +00:00
Alexander Mohr
f541ff932c Merge remote-tracking branch 'spulec/master' 2017-12-04 12:27:07 -08:00
Alexander Mohr
97687d153a Implement CloudWatch get_metric_statistics (#1369)
* implement get_metric_statistics
2017-12-01 20:37:27 +00:00
Alexander Mohr
c36f1b6aab Merge remote-tracking branch 'spulec/master' 2017-11-30 13:01:33 -08:00
Ben Slusky
796fa6647b modify_db_instance should be able to rename DB instances (#1367) 2017-11-30 11:41:25 +00:00
Kai Xia(夏恺)
9e1a233549 fix KeyError in delete_alias in the KmsBackend. (#1359)
* fix KeyError in delete_alias in the KmsBackend.

If there're several aliases in the backend, previously we will bump into
a KeyError here.

Signed-off-by: Kai Xia <xiaket@gmail.com>

* add doc to make travis try one more time.

Signed-off-by: Kai Xia <xiaket@gmail.com>
a

* add another key and alias before the deletion of an alias.

This was done to make sure that we can correctly handle the deletion
when there are more than one alias defined.

Signed-off-by: Kai Xia <xiaket@gmail.com>
2017-11-27 10:36:25 +00:00