Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 4.5.0
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      OpenIG Sprint 85

      Description

      In the IG toolbox, we lack a kind of filter : a ConditionalFilter : this is a filter that would execute a delegate filter in the provided condition evaluates to true. The condition is an expression that will be evaluated for each incoming request.
      If the evaluation results to true, then the delegate filter is executed, otherwise it is skipped.

      Here is a proposal of the configuration :

      {
         "type" : "ConditionalFilter",
         "config" : {
            "condition" : "${not empty request.headers['foo']}",
            "delegate" : "myFilter"
         }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                laurent.vaills Laurent Vaills
                Reporter:
                laurent.vaills Laurent Vaills
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: