Commit Graph

2844 Commits

Author SHA1 Message Date
Jack Danger
b5f74d08f3 Merge pull request #1281 from jorgemarcial/master
Fix Error in get-logs request LogEvent instance is not JSON serializable
2017-10-23 09:46:22 -07:00
Jack Danger
0ca292b0ca Merge pull request #1289 from terrycain/dynamodb_filter_expression_v2
DynamoDB FilterExpression NOT logic
2017-10-23 09:46:02 -07:00
Jack Danger
d52369a8a4 Merge pull request #1293 from toshitanian/fix-flake8-version
Fix flake8 version to 3.4.1
2017-10-23 09:44:37 -07:00
Jack Danger
72670d5b2d Merge pull request #1259 from tomelliff/fix-running-pending-task-count-attribute
Fix runningTasksCount ECS container instance attribute
2017-10-23 09:43:50 -07:00
Jack Danger
2eec3a5c36 Merge pull request #1197 from terrycain/batch
AWS Batch
2017-10-23 09:43:10 -07:00
Jack Danger
8bf0ed697a Merge pull request #1287 from captainkerk/autoscaling-update-action-fix
update_auto_scaling_group method incorrectly supports LoadBalancerNames
2017-10-23 09:42:19 -07:00
Jack Danger
aaa0202d08 Merge pull request #1285 from captainkerk/autoscaling-load-balancer-target-group-support
Add ELBv2 Support  to Autoscaling Service
2017-10-23 09:41:52 -07:00
Jack Danger
462eceae6f Merge pull request #1283 from terrycain/fix_1276
Fixes #1276 SNS Subject validation
2017-10-23 09:41:17 -07:00
Jack Danger
d6ecaafe6e Merge pull request #1292 from frivoire/master
Do not freeze requirement aws-xray-sdk to a specific version
2017-10-23 09:39:34 -07:00
Toshiya Kawasaki
9eca6119bd Fix flake8 version to 3.4.1 2017-10-23 22:51:02 +09:00
Florent Rivoire
5c55119562 Do not freeze requirement aws-xray-sdk to a specific version (>= instead of ==) 2017-10-23 10:47:56 +02:00
Terry Cain
e9852c381b
Make improvements to filter expression, added NOT keyword 2017-10-22 23:20:00 +01:00
Terry Cain
fbc984933b
Added server test 2017-10-22 21:36:39 +01:00
Jack Danger
66a554470b Merge pull request #1286 from terrycain/fix_1282
Fix 1282
2017-10-22 11:53:19 -07:00
Terry Cain
ca3a3633e9
Called terminatejob from canceljob 2017-10-22 13:36:23 +01:00
Jack Danger
7fbdffdda2 Merge pull request #1280 from toshitanian/fix-scaffold
[WIP]fix scaffold template
2017-10-21 15:41:29 -07:00
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