harness / ff-ruby-server-sdk

Ruby Server SDK for integrating with Harness Feature Flag service.
https://www.harness.io/
Apache License 2.0
3 stars 5 forks source link

[FFM-11241] - Target v2: Adding support for AND/OR in clauses #37

Closed andybharness closed 7 months ago

andybharness commented 7 months ago

FFM-11241 - Target v2: Adding support for AND/OR in clauses

What Adding support for processing the new GroupServingRule in Segment. Also update API definition for OpenAPIGenerator plugin. The default behaviour now is to check for the existence of GroupServingRule if found then we ignore the old Rules section. Old Rules section will continue to work to aid transition if GroupServingRule is not yet populated. Each entry in GroupServingRule is ORed while each list of clauses is ANDed. The GroupServingRule with the highest priority used first to allow reordering on the backend.

Why This give the customer more flexibility on how they configure their rules in the backend.

Testing Initial unit tests for now + testgrid later