Add openfeature module: OpenFeature Java SDK 1.23.0 and flagd 0.19.0 on Spring Boot 4.2.0, targeting, 10% rollout, live reload, flagd-down behaviour, InMemoryProvider tests, with real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
658bc52e2b
commit
24dc4ba3ff
@@ -0,0 +1,12 @@
|
||||
# Targeting rules: who sees what
|
||||
|
||||
rule new-checkout : on if tier == premium OR email ends with @ankurm.com, else default (off)
|
||||
anonymous flag=new-checkout value=false variant=off reason=DEFAULT
|
||||
standard flag=new-checkout value=false variant=off reason=DEFAULT
|
||||
premium flag=new-checkout value=true variant=on reason=TARGETING_MATCH
|
||||
staff email flag=new-checkout value=true variant=on reason=TARGETING_MATCH
|
||||
|
||||
rule discount-percent : premium -> 20, standard -> 5, otherwise default (0)
|
||||
anonymous flag=discount-percent value=0 variant=none reason=DEFAULT
|
||||
standard flag=discount-percent value=5 variant=small reason=TARGETING_MATCH
|
||||
premium flag=discount-percent value=20 variant=big reason=TARGETING_MATCH
|
||||
Reference in New Issue
Block a user