61 Commits

Author SHA1 Message Date
Bob Wombat Hogg
891801d569 Use ISO 8601 format for ELB DescribeLoadBalancers 2020-04-18 07:46:28 -04:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Benoît Faucon
ae2e6fef63 Add support for unregistered instances in ELB DescribeInstancesHealth API. 2018-08-06 10:47:00 +02:00
Steve Pulec
929ae286cf Fix ELB ssl_certificate_id typo. Closes #1528. 2018-04-13 07:33:53 -04:00
Dave Golombek
73a1c03580 Fix handling of PageSize for ELB/ELBv2
Resolves #1497
2018-03-05 16:52:56 -05:00
Jack Danger
161a187ee5 updating explanation of boto client usage 2017-08-02 13:41:39 -07:00
Jack Danger
08a932f5f1 handling AWSPreparedRequest instances in dispatch 2017-08-02 13:41:39 -07:00
Jack Danger
ce392fab79 Properly dispatch by api version in server mode
I'm not happy with this solution. Please think of a fix if you're reading this.
2017-08-02 13:41:38 -07:00
Jack Danger
7d00f6e92c python 2 support for dict_values 2017-07-19 17:14:20 -07:00
Jack Danger
6ed8d12317 Enforcing ELB security groups must be real 2017-07-19 15:58:49 -07:00
Jack Danger
98342bfcc3 Raise error on duplicate elbv1 listener
AWS returns an error condition when a listener is defined that interferes with an existing listener on the same load balancer port.
2017-07-06 21:52:01 -07:00
Jack Danger Canty
c8794e842d create_load_balancer requires port definitions
Throw the appropriate error when defining a loadbalancer with no ports
2017-06-12 16:42:43 -07:00
Jack Danger Canty
b0c83c4e70 Testing ELB connection draining timeouts 2017-05-31 15:53:39 -07:00
Jack Danger Canty
98264148e1 ELB connection draining timeout defaults to 300 seconds 2017-05-31 15:53:39 -07:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
30b1de507c Make ELB created_time dynamic. Closes #887. 2017-04-12 22:25:07 -04:00
Steve Pulec
25e2af0320 Fix camelcase_to_underscore. Closes #767. 2017-03-15 23:39:36 -04:00
Steve Pulec
6d422d1f37 Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Steve Pulec
d3df810065 Generalize decorator code. 2017-02-12 00:22:29 -05:00
Michael Nussbaum
51129f6ef3 Allow ELB policies to be set via Cloudformation. (#809)
Also more closely mirror AWS by not returning ELB
BackendServerDescriptions that don't have policies.

Signed-off-by: Michael Nussbaum <michael.nussbaum@getbraintree.com>
2017-01-18 23:02:04 -05:00
Taro Sato
02324ad708 Add more availability regions and implement default VPC (#773)
Fix filter name for availability zone

Fix bug assuming dict keys are ordered

Fix tests

Fix tests

Fix bug
2017-01-11 20:37:57 -05:00
rocky4570fft
d6f76cbb43 Add dry_run to a number of EC2 services 2016-10-16 00:34:52 +10:00
Marco Rucci
e47fc4cafc Disallow creation of ELBs with duplicate names. 2016-05-15 20:04:00 +02:00
Steve Pulec
a600deb96a Fix merge conflicts and add EC2 Instance delete. Closes #576. 2016-04-28 09:22:31 -04:00
Daniel Hepper
6eee995dcf Honor Tags when creating a load balancer 2016-04-14 15:50:51 +02:00
Daniel Hepper
de4dfaac55 Return default vpc when None given.
Restores default behaviour
2016-04-14 15:35:59 +02:00
Daniel Hepper
35a60fbf49 Removed unwanted whitespace 2016-04-14 14:48:57 +02:00
Daniel Hepper
ce3fdaa012 Implemented subnet handling in ELB backend
The ELB backend now honors the Subnets parameter in CreateLoadBalancer calls. When a load balancer is created with subnets, the VPC is also set to the VPC of the subnets.
2016-04-14 14:43:03 +02:00
Steve Pulec
941d057146 sort querystring so that tags will get matched up properly for later zip. Closes #541. 2016-02-27 20:22:46 -05:00
Steve Pulec
fe090d7bb5 Merge pull request #487 from a1exsh/bugfix/include-load-balancer-name-in-describe-tags-response
Fix ELB.describe_tags with multiple LoadBalancerNames.
2016-01-17 16:34:20 -05:00
gilzellner
d273fa15f3 fix issue 488 2015-12-14 15:38:40 +02:00
Oleksandr Shulgin
1ed5f50d56 Fix ELB.describe_tags with multiple LoadBalancerNames. 2015-12-14 12:38:10 +01:00
Steve Pulec
5d421dc343 Cleanup querying missing ELB error. 2015-12-13 22:41:17 -05:00
mfranke
73467e3b71 fix format 2015-12-10 18:22:03 +01:00
mfranke
faee9e2d72 fix 2015-12-09 23:04:34 +01:00
mfranke
bc89e7eedc compatibility fix for python 2.6.9 2015-12-09 22:25:59 +01:00
mfranke
5d47aa8c84 add AddTags, RemoveTags and DescribeTags endpoints to ELB 2015-12-09 21:30:40 +01:00
Chris Henry
e59a0b7fa9 Remove debug print statements 2015-12-03 11:24:55 -05:00
Chris Henry
6017a481cf Initial implementation of elb scheme 2015-12-02 17:46:24 -05:00
Tony Pitluga
1d8252feea Make all existing ELB endpoints compatible with boto3 2015-08-24 15:07:14 +00:00
Steve Pulec
9f02da4c56 Update ELBs to use newer querystring querying methods. 2015-07-18 09:08:27 -04:00
Andrew Harris
ea2fe6f290 change usages of long conversion to int for python3 2015-07-16 18:23:13 -07:00
Andrew Harris
bbb021d06d implement mocking for lb policies 2015-07-16 15:32:51 -07:00
Jeffrey Gelens
e722b67f36 Merge branch 'master' of https://github.com/spulec/moto into 0.4.1-threadsafe
* 'master' of https://github.com/spulec/moto: (25 commits)
  Add @zkourouma to authors.
  0.4.2
  Fix bug where listener certificate was not being saved correctly when creating an elb. Added test to cover that case.
  [dynamodb2] adds lookup method to Table class
  Add IAM list_groups and list_groups_for_user. Closes #343.
  Fix for deleting Route53 record sets with set identifiers. Closes #342.
  Use dummy date instead of an invalid date
  Adding support for comments on hosted zones.
  Add availability zone support to Subnets created via CloudFormation
  Make availability zone dynamic in Subnet Response templates
  Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
  allow starting without reseting
  Fix bug with empty string for instance vpc_id. Closes #337.
  Fix default security group description.
  Update responses.py
  Add @mrucci to authors.
  Fix merge conflicts.
  Add support for ELB attributes.
  cast to int when doing math.
  General cleanup.
  ...
2015-05-29 11:35:14 +02:00
Kevin Donnelly
3c75e0ef2e Fix bug where listener certificate was not being saved correctly when
creating an elb. Added test to cover that case.

Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Steve Pulec
a97beb0598 Fix merge conflicts. 2015-03-22 16:00:16 -04:00
Marco Rucci
08468e5f73 Add support for ELB attributes. 2015-03-22 15:35:27 +01:00
Jeffrey Gelens
c2f2c16892 Fixed non threadsafe code 2015-03-16 13:13:40 +01:00