optimizely / optimizely/java-sdk
Access to Is feature enabled without check the audience as a pure FF
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 44
- Forks
- 32
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 1
Description
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

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()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Java SDK's isFeatureEnabled documentation and the existing isFeatureEnabled entry point described in the issue. Compare the proposed isFeatureEnabled, isFeatureActive, and OptimizelyConfig features-map options, then verify the chosen API can report a flag's on/off state without evaluating its audience flow and document or test the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100