Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests ( #4136 )
2021-08-04 17:24:26 +01:00
Bert Blommers
7693d77333
Remove Py2 support ( #3915 )
2021-07-26 07:40:39 +01:00
psheets
b9a42816bd
Fixed validation on custom-resource in applicationautoscaling ( #4026 )
...
* Added ResourceTypeExceptions
* Added test for custom-resource
Co-authored-by: Phil Sheets <p.sheets@fetchrewards.com>
2021-06-23 16:57:09 +01:00
Gianluca Pacchiella
273d632515
Fix/autoscaling elb interaction ( #3757 )
...
* Add minimal failing test case.
* Improve ELB instance ids handling.
We need to handle the instances originated by an autoscaling group differently.
2021-04-30 09:29:20 +01:00
rajinder
4b1c7225b6
added feature update_usage_plan and fixed some lint errors ( #3727 )
...
Co-authored-by: rajinder saini <rajinder.saini@c02vt5k2htd6.corp.climate.com>
2021-02-25 07:46:11 +00:00
Brian Pandola
ae85c539fd
Remove boto
package dependency
...
The `boto` library (long ago superseded by `boto3`) has not had an official
release in over two years or even a commit in the last 18 months. Importing
the package (or indirectly importing it by via `moto`) generates a deprecation
warning. Additionally, an ever-increasing number of `moto` users who have
left `boto` behind for `boto3` are still being forced to install `boto`.
This commit vendors a very small subset of the `boto` library--only the code
required by `moto` to run--into the /packages subdirectory. A README file
is included explaining the origin of the files and a recommendation for how
they can be removed entirely in a future release.
NOTE: Users of `boto` will still be able to use `moto` after this is merged.
closes #2978
closes #3013
closes #3170
closes #3418
relates to #2950
2020-11-26 23:59:15 -08:00
Adam Richie-Halford
9a9a1d8413
Decentralize cloudformation naming responsibilities ( #3201 )
...
* #3127 - Decentralize CF naming responsibilities
* Decentralize CloudFormation naming responsibilities
* Update URLs in cloudformation_resource_type functions
* Fix flake8 errors
* Black formatting
* Add a bunch of imports to populate CloudFormationModel.__subclasses__
* Add noqa to s3 models import statement in cloudformation/parsing.py
* Black formatting
* Remove debugging print statement
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-08-01 15:23:36 +01:00
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