Commit Graph

3231 Commits

Author SHA1 Message Date
Jack Danger
9bcd4177ff Merge pull request #1284 from carleton-stripe/asg-health-status
Add support for HealthStatus for Auto Scaling Groups
2017-10-21 15:41:12 -07:00
captainkerk
97ab15d883 boto3 update group method doesnt accept LoadBalancerNames 2017-10-21 22:10:36 +00:00
Terry Cain
f247cd0f48
Fixed uses of HostedZone 2017-10-21 22:41:19 +01:00
Terry Cain
ae6f9dcb71
Fixes #1282 2017-10-21 22:10:45 +01:00
captainkerk
993b092083 add target_group support to autoscaling service 2017-10-21 17:29:22 +00:00
Paul Carleton
685e9163a8 Add set-instance-health support 2017-10-20 11:26:23 -07:00
Paul Carleton
21c3775cb1 Add health status to autoscaling instances 2017-10-20 11:26:23 -07:00
Terry Cain
629503398c
Added JobDefinition to cloudformation 2017-10-20 19:10:31 +01:00
Terry Cain
dce81cf875 Fixed typos ;-)
Thanks @hwine
2017-10-20 14:52:24 +01:00
Terry Cain
bca8e11290 Fixes #1276 SNS Subject validation 2017-10-20 13:19:55 +01:00
Jorge Marcial Álvarez Gago
456e5cd25c Fix Error in get-logs request LogEvent instance is not JSON serializable 2017-10-20 12:16:53 +02:00
Toshiya Kawasaki
60cac09e93 fix scaffold template 2017-10-20 18:33:48 +09:00
Jack Danger
efefc1714e Merge pull request #1279 from JackDanger/jack/ship-dashboard-template-for-moto-server
ship dashboard template for moto server
2017-10-19 22:40:10 -07:00
Jack Danger
3fc9cb9035 ship dashboard template for moto server 2017-10-19 22:39:31 -07:00
Jack Danger
3b0afbb570 Merge pull request #1275 from WhileLoop/fix-acm-san-count-check
Check if subject_alt_names is not none before checking length
2017-10-19 18:01:19 -07:00
Argishti Rostamian
f02f4646ea add test 2017-10-19 17:47:21 -07:00
Terry Cain
9805a279c7
Added JobQueue to cloudformation 2017-10-20 01:06:30 +01:00
Terry Cain
453da4c8b3
Added CreateEnvironment to cloudformation 2017-10-20 00:51:04 +01:00
Argishti Rostamian
427705c9f0 check is subject_alt_names is not none before checking length 2017-10-19 14:53:56 -07:00
Jack Danger
d63040c5d1 Merge pull request #1274 from WhileLoop/fix-acm-expiration-check
Fix timezone mismatch in acm certificate created date and now date check
2017-10-19 13:35:32 -07:00
Terry Cain
d67ef8d128
Merge branch 'master' into batch 2017-10-19 21:16:40 +01:00
Argishti Rostamian
760f466a9c Fix timezone mismatch in acm certificate created date and now date check 2017-10-18 17:30:00 -07:00
Terry Cain
b40c5e557e Fixed S3 versioning bug + minor cleanup (#1272)
* Fixed S3 versioning bug + minor cleanup

Fixes 1271

* flake8
2017-10-18 16:22:35 -07:00
John Kerkstra
b8a0cfd6f7 filter out already related elbs to prevent duplicates (#1270) 2017-10-18 14:23:14 -07:00
Jack Danger
b286123425 bumping to version 1.1.23 (#1269) 2017-10-17 18:33:57 -07:00
Jack Danger
317dbbd1a3 requiring minimum botocore (#1268)
Boto and Boto3 can be a little old but Moto will throw an error if
botocoe doesn't even know about some of the services it supports.
As of this commit Polly is new enough some users are running into
exceptions.
2017-10-17 18:13:27 -07:00
Andrew Miller
194da53a0e Correct the type of a default attribute in SNS PlatformEndpoint (#1267)
The `Enabled` Attribute in the PlatformEndpoint of SNS current returns a boolean, however, the 'enabled' property is expecting a string as `.lower()` is called on the result.

This change simply changes the default from `True` to `'True'` so the property works as expected.
2017-10-17 10:42:29 -07:00
John Kerkstra
b8bb6c2dcf Fix bug with update_attached_elbs (#1266)
* fixed bug where we were using elb_backend.describe_load_balancers
incorrectly, returning all available load balancers when we wanted none.

* improve skip, clean up tests
2017-10-16 22:04:47 -07:00
John Kerkstra
0af3427c15 Add autoscaling load balancer methods (#1265)
* add attach_load_balancers, detach_load_balancers,
describe_load_balancers methods

* prefer using amzn_request_id decorator to generate unique request ids
2017-10-16 19:07:00 -07:00
John Kerkstra
5ef236e966 Add attach_ and detach_instances methods to autoscaling service (#1264)
* add detach_instances functionality to autoscaling service

* use ASG_NAME_TAG constant

* cleanup models method a bit, add mocked DetachInstancesResult to
response template

* add attach_instances method
2017-10-16 17:09:51 -07:00
Terry Cain
49ddb500a8 AWS X-Ray client mock. (#1255)
* X-Ray Client SDK patched

Fixes #1250

* Fixed flake8

* Fixed some issues

* Fixed flake8

* Fixed more typos

* Fixed python2 string

* Fixed aws-sdk patch order

* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Terry Cain
2bb3e841d1 Fixed #1261 dynamodb FilterExpression bugs (#1262)
* Fixed #1261 dynamodb FilterExpression bugs

FilterExpression was incorrectly handling numbers, stupid typo there. Also >= <= and <> was not being parsed correctly.

* Switched up logic a bit for better end result. Fixes #1263

* Fixed another bug
2017-10-16 13:56:03 -07:00
Tom Elliff
a6c38913a7 Add more tests for task count of container instance 2017-10-13 09:37:39 +01:00
Terry Cain
f3623e3cd3 Fix for #1258 (#1260)
* Fix for #1258

* Updated doc link
2017-10-12 13:59:02 -07:00
Tom Elliff
51afd54229 Fix runningTasksCount ECS container instance attribute
ECS container instances have attributes of 'runningTasksCount' and 'pendingTasksCount'.
See Boto3 docs here: http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.describe_container_instances
REST API docs here: http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html#API_DescribeContainerInstances_ResponseSyntax
2017-10-12 13:26:19 +01:00
Terry Cain
e3024ae1ba
Implemented Terminate, Cancel and List jobs 2017-10-11 23:46:27 +01:00
Terry Cain
ddd52a5a97
Merge branch 'master' into batch 2017-10-11 23:02:47 +01:00
Jack Danger
098dd3fa1c Merge pull request #1257 from bpandola/fix/newlines-in-create-access-key-response
Remove newlines from create-access-key response
2017-10-11 11:54:59 -07:00
Brian Pandola
8021098815 Remove newlines from create-access-key response 2017-10-11 10:57:15 -07:00
Jack Danger
7c54d9672b Merge pull request #1253 from JackDanger/version-1.1.22
bumping to version 1.1.22
2017-10-10 13:45:11 -07:00
Jack Danger
9a55b0951b changelog for 1.1.22 2017-10-10 13:39:42 -07:00
Jack Danger
94fd0ad9f8 bumping to version 1.1.22 2017-10-10 13:36:50 -07:00
Jack Danger
aa46795ade Merge pull request #1252 from JackDanger/jack/implement-sqs-queuedoesnotexist-error
implement SQS QueueDoesNotExist error
2017-10-10 13:36:45 -07:00
Alexander Mohr
5fe5efdb2d Merge remote-tracking branch 'spulec/master' 2017-10-10 13:10:46 -07:00
Jack Danger
dc40fce146 implement SQS QueueDoesNotExist error 2017-10-10 13:05:48 -07:00
Jack Danger
de57abf63f Merge pull request #1245 from terrycain/scan_filter_expression
Added overkill FilterExpression to dynamodb scan
2017-10-10 13:05:07 -07:00
Terry Cain
9a6ded32ea
More spelling 2017-10-08 10:36:02 +01:00
Terry Cain
9f59f1f7ca
Spelling fix ;-) 2017-10-08 10:34:30 +01:00
Jack Danger
371bb2b824 Merge pull request #1248 from JackDanger/jack/reverting-codecov
Reverting the code that send coverage to codecov.io
2017-10-07 20:59:07 -07:00
Terry Cain
d145b5dc18
Possible fix 2017-10-08 04:57:40 +01:00