optimizely/java-sdk

Access to Is feature enabled without check the audience as a pure FF

eduard-coll opened this issue · 1 comments

We are trying to recover the value on/off of a feature flag without the rollout audience to validate if we need to review the optimizely flow but the current optimizely java sdk don't have this option.

https://docs.developers.optimizely.com/full-stack/docs/is-feature-enabled-java

image

We only want to know if the feature flag is on or off. We are not interested in audiences flow to recover this value.

Can be possible to implement one of the next options?

  • Option 1:
    • optimizely.isFeatureEnabled("my-feature")
  • Option 2:
    • optimizely.isFeatureActive("my-feature")
  • Option 3:
    • optimizely.getOptimizelyConfig().getFeaturesMap().get("my-feature").isActive()

Internal ticket for tracking: FSSDK-9413