Support all ELBv2 ListenerRule condition types (#4066)
* ELBv2 - ListenerRule condition validation - ListenerRule condition model now uses upper case field names that match input params for boto and CloudFormation. - BaseResponse._get_params() introduced to make it easier to deal with the querystring input params.
This commit is contained in:
parent
54b98d4749
commit
85dc52bd84
6 changed files with 755 additions and 80 deletions
|
|
@ -1213,7 +1213,7 @@ def test_handle_listener_rules():
|
|||
obtained_rule = rules["Rules"][0]
|
||||
obtained_rule["Conditions"][0]["Values"][0].should.equal(new_host)
|
||||
obtained_rule["Conditions"][1]["Values"][0].should.equal(new_path_pattern)
|
||||
obtained_rule["Conditions"][2]["Values"][0].should.equal(
|
||||
obtained_rule["Conditions"][2]["PathPatternConfig"]["Values"][0].should.equal(
|
||||
new_pathpatternconfig_pattern
|
||||
)
|
||||
obtained_rule["Actions"][0]["TargetGroupArn"].should.equal(
|
||||
|
|
@ -1253,7 +1253,7 @@ def test_handle_listener_rules():
|
|||
obtained_rule = rules["Rules"][2]
|
||||
obtained_rule["Conditions"][0]["Values"][0].should.equal(new_host_2)
|
||||
obtained_rule["Conditions"][1]["Values"][0].should.equal(new_path_pattern_2)
|
||||
obtained_rule["Conditions"][2]["Values"][0].should.equal(
|
||||
obtained_rule["Conditions"][2]["PathPatternConfig"]["Values"][0].should.equal(
|
||||
new_pathpatternconfig_pattern_2
|
||||
)
|
||||
obtained_rule["Actions"][0]["TargetGroupArn"].should.equal(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue