APIcast icon indicating copy to clipboard operation
APIcast copied to clipboard

Conditional Policy: Add more operations

Open davidor opened this issue 5 years ago • 5 comments

Right now, the conditional policy only supports 2 operations (!=, ==), and and/or for combining them.

After some discussion in #820 it looks that we'll need to add support for others for the @3scale/ostia project:

  • As operations: >=, <=, >, <, starts_with, matches.
  • For combining: nand, nor, xor, equals.

davidor avatar Jul 24 '18 16:07 davidor

yup, those improvements should be enough! 👍

jmprusi avatar Jul 25 '18 09:07 jmprusi

The "matches" operation was added in #975

davidor avatar Jan 10 '19 13:01 davidor

was it? I see it not merged?

unleashed avatar Jan 10 '19 14:01 unleashed

Now it is @unleashed :D

davidor avatar Jan 15 '19 09:01 davidor

We should also consider operations such as "includes" and "excludes" as suggested by @mikz in https://github.com/3scale/apicast/pull/976#discussion_r247752113

davidor avatar Jan 15 '19 09:01 davidor