-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: update sdk to support sdkPlatform metadata, update WASM lib, update OpenFeature #166
Conversation
jonathannorris
commented
Feb 12, 2025
•
edited
Loading
edited
- Update SDK to support setting sdkPlatform metadata for OpenFeature providers.
- Update to latest OpenFeature spec
- Add event tracking support in OpenFeature provider
- Use new initialization format for OpenFeature
Signed-off-by: Jonathan Norris <[email protected]>
src/test/java/com/devcycle/sdk/server/common/model/DevCycleUserTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/devcycle/sdk/server/local/api/DevCycleLocalClient.java
Outdated
Show resolved
Hide resolved
src/main/java/com/devcycle/sdk/server/openfeature/DevCycleProvider.java
Outdated
Show resolved
Hide resolved
throw new GeneralError("DevCycle client not initialized within 2 seconds"); | ||
} | ||
Thread.sleep(5); | ||
} while (!devcycleClient.isInitialized()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is how it's done in Flagd provider and other places...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we have a way of doing our initialization callback here? That would be cleaner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, no, this function is also synchronous and wouldn't do anything with a callback here. https://openfeature.dev/docs/reference/technologies/server/java#synchronous