azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Azure Front Door - Remaing Rules

Open krispenner opened this issue 2 years ago • 5 comments

Hi,

Regarding this item:

  • To stop evaluating remaining rules if a specific rule is met, check Stop evaluating remaining rule. If this option is checked and all remaining rules in the Rule Set will not be executed regardless if the matching conditions were met.
  1. Primary question: Are remaining Rule Sets associated with the route executed or not?

  2. Grammar mistake: "and" should be "then", ("and all remaining rules" should be "then all remaining rules").

  3. Wording suggestion: "the" should be "their", ("if the matching conditions were met" should be "if their matching conditions were met").

Thanks.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

krispenner avatar Oct 07 '22 01:10 krispenner

@krispenner Thanks for your feedback! We will investigate and update as appropriate.

ManoharLakkoju-MSFT avatar Oct 07 '22 03:10 ManoharLakkoju-MSFT

Hi @krispenner,

The remaining rules in a single rule set will not be evaluated once you check Stop evaluating remaining rule. If there are other rule sets, they will be evaluated.

I have made the changes in the docs to change "and" to "then". They should reflect shortly.

KapilAnanth-MSFT avatar Oct 07 '22 05:10 KapilAnanth-MSFT

@KapilAnanth-MSFT From my recent testing, this does not seem to be the case.

Rule Set A

  1. Stop Evaluating Remaining Rules

Rule Set B

  1. Redirect to www.google.com

Route X Rule Sets

  1. Rule Set A
  2. Rule Set B

Route X is never redirected to www.google.com.

krispenner avatar Oct 08 '22 04:10 krispenner

Hi @krispenner, Thanks for the update. I shall check this behaviour and report back here.

KapilAnanth-MSFT avatar Oct 10 '22 13:10 KapilAnanth-MSFT

Hi @krispenner ,

I just got an update from our Product Team that, "Stop evaluating remaining rules will apply to all rulesets associated with the route".

Apologies for the earlier comments. I shall work with them and see if I can get the documents updated accordingly

KapilAnanth-MSFT avatar Oct 17 '22 06:10 KapilAnanth-MSFT

Hi @krispenner ,

I shall close this thread for now. Please feel free to reopen should you have any follow-up questions

KapilAnanth-MSFT avatar Oct 19 '22 11:10 KapilAnanth-MSFT

@KapilAnanth-MSFT but the document has not been updated yet and still reads an inaccurate description. I think it’s best to keep this open until it is resolved.

krispenner avatar Oct 19 '22 15:10 krispenner

Hi @krispenner, sure. I have assigned this thread to the author.

@duongau , I have looped you in the internal communications. Please review this and update the docs as required

KapilAnanth-MSFT avatar Oct 20 '22 10:10 KapilAnanth-MSFT