featuresfeature can be enabled or disabledattr, op, & values value/values list.Rule Group logic for keys all & any not implemented - see https://github.com/conorheffron/rules-engine/issues/13 for intended / expected implementation details.
```yml
feature:
new-checkout:
enabled: true
ruleGroups:
all:
- { attr: country, op: IN, values: [ “ES”, “PT” ] }
- { attr: appVersion, op: GTE, values: [ “120” ] }
any:
- { attr: tier, op: IN, values: [ “gold”, “platinum” ] }search-v2: enabled: false
beta-banner: enabled: true
old-checkout: enabled: true ruleGroups: all: - { attr: country, op: IN, values: [ IRL ] } any: - { attr: tier, op: IN, values: [ gold, platinum ] }
### Build & Run App
```shell
mvn clean install spring-boot:run
http://localhost:8080/api/executetask
http://localhost:8080/api/test
["ES","PT"]
http://localhost:8080/api/eval?feature=new-checkout&country=IE&appVersion=1&tier=2
http://localhost:8080/api/eval?feature=new-checkout&country=PT&appVersion=120&tier=2
http://localhost:8080/api/eval?feature=new-checkout&country=ES&appVersion=400&tier=2
http://localhost:8080/api/eval?feature=new-checkout&country=ES&appVersion=100&tier=2
http://localhost:8080/api/eval?feature=old-checkout&country=IRL&appVersion=100&tier=gold
http://localhost:8080/api/eval?feature=new-checkout&country=PT&appVersion=140&tier=gold
http://localhost:8080/api/eval?feature=search-v2&country=PT&appVersion=140&tier=gold
http://localhost:8080/