Documentation

conditions

Each policy can be configured with an optional conditions clause. This clause is used to constrain which requests will be handled with it. If conditions are not defined, the policy will handle any request. A condition rule consists of a namespace attribute, comparison operator and one or more values to compare.

Policy and handler conditions are defined as:

conditions <all | any | none> {
    <namespace attribute> <comparison operator> <value>;
    <namespace attribute> <comparison operator> [<value> <value> <value>];
    ...
}

Supported matching strategies are:

  • all: All condition rules must match
  • any: Any condition rule must match
  • none: None of conditions rules must match The format for configuring conditions for handlers is identical to configuring conditions for policies.
Navigation
Parents