From 0c88e643834ae76d4f4fc562221585365d4924fb Mon Sep 17 00:00:00 2001 From: Dino Chiesa Date: Fri, 20 Sep 2024 15:20:14 -0700 Subject: [PATCH] add test for missing name attribute on Server element --- README.md | 2 +- test/fixtures/resources/TD008/fail/t5.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 test/fixtures/resources/TD008/fail/t5.xml diff --git a/README.md b/README.md index 6d0c27c..86e047a 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,7 @@ This is the current list: |   |:white_check_mark:| TD005 | TargetEndpoint SSLInfo references | TargetEndpoint SSLInfo should use references for KeyStore and TrustStore. | |   |:white_check_mark:| TD006 | TargetEndpoint SSLInfo | When using a LoadBalancer, the SSLInfo should not be configured under HTTPTargetConnection. | |   |:white_check_mark:| TD007 | TargetEndpoint SSLInfo | TargetEndpoint HTTPTargetConnection SSLInfo should use TrustStore. | -|   |:white_check_mark:| TD008 | TargetEndpoint LoadBalancer Servers | LoadBalancer should not have duplicate Server entries. | +|   |:white_check_mark:| TD008 | TargetEndpoint LoadBalancer Servers | LoadBalancer should not have duplicate Server entries or multiple Fallbacks. | |   |:white_check_mark:| TD009 | TargetEndpoint LoadBalancer | TargetEndpoint HTTPTargetConnection should have at most one LoadBalancer. | | Flow |   |   |   |   | |   |:white_check_mark:| FL001 | Unconditional Flows | Only one unconditional flow will get executed. Error if more than one was detected. | diff --git a/test/fixtures/resources/TD008/fail/t5.xml b/test/fixtures/resources/TD008/fail/t5.xml new file mode 100644 index 0000000..12fd0f8 --- /dev/null +++ b/test/fixtures/resources/TD008/fail/t5.xml @@ -0,0 +1,9 @@ + + + + + + + + +