Skip to content

[FSSDK-11522] feat: update decision service to apply ho #576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

muzahidul-opti
Copy link
Contributor

Summary

  • The "what"; a concise description of each logical change
  • Another change

The "why", or other context.

Test plan

Issues

  • FSSDK-11522

… use ExperimentCore instead of Experiment. Fix ActivateNotification, ExperimentUtils, ActivateNotificationListener, NotificationCenterTest to reflect these changes.
- Add logic to process holdout rules for feature flags
- Implement a method to determine variation for a holdout rule
- Create decision responses based on a holdout decision and its reasons
- Update logger messages for holdout rule evaluation
…ctConfigV4

- Change visibility of FEATURE_FLAG_BOOLEAN_FEATURE to public
- Change visibility of Variation VARIATION_HOLDOUT_VARIATION_OFF to public
- Update entityIds in HOLDOUT_BASIC_HOLDOUT and holdouts-project-config.json to use "$opt_dummy_variation_id" instead of hardcoded values
- Create test for checking if a user is in a variation for holdout feature when included in flags
- Implement test to verify exclusion of user from variation for holdout when specified as excluded from flags
- Add assertions to validate decision source, experiment, and variation for holdout feature
- Added public constant HOLDOUT_TYPEDAUDIENCE_HOLDOUT to class ValidProjectConfigV4
- Updated feature flag constants to public static in class ValidProjectConfigV4
- Updated holdout constants to public static in class ValidProjectConfigV4
- Created unit test userMeetsHoldoutAudienceConditions in DecisionServiceTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant