-
Notifications
You must be signed in to change notification settings - Fork 31
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
Edit audiences with the SDK #499
Comments
Hi @siavashingka , our apologies for the very prolonged reply. We unfortunately don't offer the ability to create audiences programmatically via the SDK. However, we do offer such functionality with our REST API (https://docs.developers.optimizely.com/feature-experimentation/reference/create_audience). Would using our REST API possibly work with your implementation? We have created an internal ticket (FSSDK-9442) to analyze your feature request further. |
Hi again @siavashingka , I wanted to follow up once more on the above. Our dev team looked into the possibility of adding an SDK method for updating audiences which can currently be done through our REST API. Adding this into the SDKs would warrant some further investigation as to what other REST API functionality would make sense to be added and authentication considerations. Given the larger lift and open questions on this, I unfortunately don't think we can accommodate this now. I'm not sure if you've had a chance to evaluate updating audiences programmatically via the REST API. It's admittedly a bit involved. I'm happy to hop on a call to walk you through the steps and also get your feedback on how we could further improve our SDKs and app for use cases like yours. Please let me know if interested! Thank you. |
Hi Russell @russell-loube-optimizely , thanks for your detailed explanation in this regard and you're follow-up, we have implemented it manually in our code base, I would say that it was a bit of a hassle because we had to dig so deep into the internals of the implementation of Optimizely and understanding how it works and go through the specific data-structure (the tree structure of and ors) that it uses for the audience and so on, I am open to sit together in this regard and potentially save time for other teams that might need this functionality in future. You can reach me at this email address: [email protected] |
Hi, we are using Optimizely in our organization and now there is a requirement for updating audiences, we searched a lot, and apparently, there is no such feature in the java SDK.
The requirement is that there is a micro-service that notifies us to include a new audience in an already existing feature flag (we want to roll out a feature in our backends by cities) and we need to add the new audience programmatically to the audiences whenever the other micro-service tell us. This is not an A/B test or an experiment it is actually a rollout plan.
The text was updated successfully, but these errors were encountered: