CarnegieLearningWeb / UpGrade

Framework for adding A/B testing to education applications
https://www.upgradeplatform.org/
BSD 3-Clause "New" or "Revised" License
26 stars 13 forks source link

Java library changes for feature flags #1341

Closed amurphy-cl closed 1 month ago

amurphy-cl commented 8 months ago

Update Java client library's getAllFeaturedFlags and getFeatureFlag methods to call POST /featureflags.

Use the new structure for request / response as defined in #1340

getAllFeatureFlags will internally call POST /featureflags with a similar structure as getAllExperimentConditions(), with userId and context, and will store the list of key strings on the client.

getFeatureFlag should take a string and return true if the flags list contains that flag key, and false if it is not found.

danoswaltCL commented 2 months ago

This doesn't seem like it was done, reopening

amurphy-cl commented 1 month ago

Closing as done.