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
Adrian
73813460b6
Fix condition filtering bug in elbv2.create_rule() ( #3092 )
...
* Fix condition filtering bug
* Update test_handle_listener_rules unit test
* Run black
2020-06-27 09:42:32 +01:00
Asher Foa
2e20ad14df
Fix some 'DeprecationWarning: invalid escape sequence' warnings and use str.format for string interpolation.
...
Similar to https://github.com/spulec/moto/pull/2811
2020-03-25 11:08:12 -07:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Jessie Nadler
2b8bdc9bca
Validate elbv2 FixedResponseConfig attributes
2019-09-12 12:29:03 -04:00
Jessie Nadler
2983a63c0d
Allow fixed-response action type for elbv2
2019-09-12 12:25:43 -04:00
acsbendi
675db17ace
Implemented deregistering terminated instances from ELB target groups.
2019-08-30 18:21:11 +02:00
Steve Pulec
7b3846f6a1
Refactor Actions to be a real class. Add elb cognito.
2019-08-09 23:34:52 -05:00
Steve Pulec
a43228c5af
Refactor validating ELB actions.
2019-08-09 10:15:56 -05:00
acsbendi
9149852217
Implemented returning correct health for stopped instances.
2019-07-18 16:57:27 +02:00
William Richard
1b91534165
Add support for redirect actions on ELBv2 listeners ( #2029 )
2019-05-25 11:18:39 +01:00
William Richard
81381cd035
Correctly generate resource name for target groups when using cloudformation
...
They need to have less than 32 character names, so when you don't specify a name
cloudformation generates a name that is less than 32 characters.
And make sure that flake8 passes
2018-06-06 11:07:14 -04:00
Steve Pulec
9ad1e40cf5
Merge pull request #1498 from dgolombek/wip/fix_page_size_handling
...
Fix handling of PageSize for ELB/ELBv2
2018-03-07 07:24:36 -05:00
Dave Golombek
9a8b36debc
ELBv2.create_listener links TargetGroup to LB
...
In order to search target_groups by LB, we need this link in place.
Resolves #1500
2018-03-06 16:57:56 -05:00
Dave Golombek
73a1c03580
Fix handling of PageSize for ELB/ELBv2
...
Resolves #1497
2018-03-05 16:52:56 -05:00
Toshiya Kawasaki
871625998c
tweak ecrv2 FakeTargetgroups's default value ( #1351 )
2017-11-20 17:13:47 +00:00
Toshiya Kawasaki
49a2724d76
Set default value to elbv2 FakeTargetGroup ( #1349 )
2017-11-20 11:18:21 +00:00
Hugo Lopes Tavares
aa6a0765c1
Move target group default values to model FakeTargetGroup ( #1343 )
...
Before this commit everything that needs to create target groups
had to handle the default values (i.e., cloudformation call & ELBV2Response call)
2017-11-15 19:36:53 +00:00
Hugo Lopes Tavares
7b1ec157b8
Add proper CFN attribute handling to elbv2.FakeLoadBalancer ( #1341 )
2017-11-15 15:11:11 +00:00
Jack Danger
73f28d6ba8
adding elbv2 utils.py for arn generation
2017-11-06 17:49:45 -08:00
Jack Danger
7c3d78e7c5
validate protocol on target group creation
2017-11-06 14:19:03 -08:00
Terry Cain
c186733129
Merge branch 'master' into jack/validate-protocol-on-target-group-creation
2017-11-05 01:58:40 +00:00
Terry Cain
f120343d44
Fixed TargetGroup Matcher after #dfd41d8c00d1b4b8e1e2b294ca6be27e46833731
2017-10-29 19:31:15 +00:00
Terry Cain
c4273c9da1
Merge branch 'master' into lotsa_stuff
2017-10-29 19:26:27 +00:00
Terry Cain
2a52a0f91b
Completed ELBv2 implementation
2017-10-29 14:14:17 +00:00
Hugo Lopes Tavares
cc777f6049
Add missing newline (lint error)
2017-10-27 16:25:59 -04:00
Hugo Lopes Tavares
63c33211ee
Add GetAtt support to elbv2 LoadBalancer
2017-10-27 15:32:16 -04:00
Hugo Lopes Tavares
474ebfea40
Add default name to LoadBalancer (cloudformation)
2017-10-27 15:01:25 -04:00
Hugo Lopes Tavares
82ad66256a
Add default name to TargetGroup (cloudformation)
2017-10-27 15:01:17 -04:00
Hugo Lopes Tavares
7b074b50a9
Add CloudFormation support to AWS::ElasticLoadBalancingV2::Listener
2017-10-27 14:38:40 -04:00
Hugo Lopes Tavares
dfd41d8c00
Add CloudFormation support to AWS::ElasticLoadBalancingV2::TargetGroup
2017-10-27 14:24:11 -04:00
Hugo Lopes Tavares
8786c2df05
Add CloudFormation support to AWS::ElasticLoadBalancingV2::LoadBalancer
2017-10-27 11:54:55 -04:00
Hugo Lopes Tavares
307e13796b
Add IpAddressType to DESCRIBE_LOAD_BALANCERS_TEMPLATE
2017-10-27 11:53:42 -04:00
Jack Danger
23ad62a4f9
validate protocol on target group creation
2017-10-27 03:16:06 +02:00
Terry Cain
2249eee49d
Potential fix V3
2017-10-04 01:13:34 +01:00
Terry Cain
8441e44e80
Possible fix V2
2017-10-04 01:09:28 +01:00
Jack Danger
04542dccc0
implement elbv2 ResourceInUseError
2017-10-02 12:35:52 -07:00
Jack Danger
4b7a157560
implement target group tagging
2017-09-16 19:53:09 -07:00
Toshiya Kawasaki
8f0e2e7954
fix TargetGroupNnotFoundError is not definied correctly ( #1099 )
2017-09-07 11:25:59 -07:00
Jack Danger
245e75f7b8
Fixing trailing whitespace in elbv2 cert ( #1078 )
2017-08-23 00:30:48 -07:00
Jack Danger
ed5059367c
Handling the case of missing listeners ( #1077 )
2017-08-22 23:58:32 -07:00
Toshiya Kawasaki
2ace59a60e
fix bug that remove_rule doesnt remove rule correctly ( #1074 )
2017-08-21 12:30:03 -07:00
Toshiya Kawasaki
b6cc208534
ELBv2 modify_rule changes listener rule partially ( #1073 )
...
* modify_rule changes listener rule partially
* fix syntax
* fix outdated code
* fix outdated code
2017-08-21 12:28:58 -07:00
Jack Danger
bd98996a19
Merge pull request #1065 from kawasakitoshiya/toshitanian/validate_elbv2_target_group_name
...
validate target group name
2017-08-18 08:46:39 -07:00
Toshiya Kawasaki
775b8a953a
add validation for target name
2017-08-19 00:36:12 +09:00
Toshiya Kawasaki
d4c6111c40
raise error when name is more than 32 when creating target group
2017-08-18 23:54:28 +09:00
Toshiya Kawasaki
469cfb7b3e
fix bug that Names filter dont work at describe_target_groups
2017-08-18 15:56:53 +09:00
Toshiya Kawasaki
2b10ef8517
dont use base64 for marker at describe_rules
2017-08-17 04:37:42 +09:00
Toshiya Kawasaki
edc2e70fcf
make b64encode work both on python2 and python3
2017-08-17 03:56:01 +09:00
Toshiya Kawasaki
ea2a973813
fix syntax
2017-08-17 03:22:40 +09:00
Toshiya Kawasaki
e07bce003c
add set_rule_priorities to elbv2
2017-08-17 03:15:30 +09:00
Toshiya Kawasaki
0aaa624205
Fix respose number of rules of create_rule
2017-08-17 02:29:49 +09:00
Toshiya Kawasaki
9bc6779485
add modify_rules to elbv2
2017-08-17 02:25:39 +09:00
Toshiya Kawasaki
a73fa64043
add describe_rules to elbv2
2017-08-17 01:57:02 +09:00
Toshiya Kawasaki
3ac10945c1
add delete_rule to elbv2
2017-08-17 00:38:05 +09:00
Toshiya Kawasaki
05a2715f4b
add create_rule to elbv2
2017-08-17 00:22:00 +09:00
Jack Danger
543e5fb077
Implementing ELBV2 target group attributes
2017-08-02 15:57:15 -07:00
Jack Danger
8188fea0ce
This is required for the server test to work
2017-08-02 13:41:38 -07:00
Jack Danger
d56c30932f
this is handled in moto/elb/urls.py
2017-08-02 13:41:38 -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
04e623ea14
Implemented core endpoints of ELBv2
2017-08-02 13:41:38 -07:00