-
Notifications
You must be signed in to change notification settings - Fork 51
feat: Improve wait logic to a more elegant solution #1160 #1169
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: Improve wait logic to a more elegant solution #1160 #1169
Conversation
Signed-off-by: christian.lutnik <[email protected]>
…ant-solution-open-feature#1160 # Conflicts: # providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java # providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolver.java # providers/flagd/src/test/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolverTest.java
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/EventsLock.java
Outdated
Show resolved
Hide resolved
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.
thank you - i just added some questions and suggestions, nothing crucial except the one about where we are doing this wait and notify
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java
Outdated
Show resolved
Hide resolved
providers/flagd/src/test/java/dev/openfeature/contrib/providers/flagd/FlagdProviderTest.java
Outdated
Show resolved
Hide resolved
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/EventsLock.java
Outdated
Show resolved
Hide resolved
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/EventsLock.java
Outdated
Show resolved
Hide resolved
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
…re#1160 Signed-off-by: christian.lutnik <[email protected]>
|
…open-feature#1160 # Conflicts: # providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java
Signed-off-by: christian.lutnik <[email protected]>
providers/flagd/src/test/java/dev/openfeature/contrib/providers/flagd/ConfigCucumberTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: christian.lutnik <[email protected]>
Signed-off-by: christian.lutnik <[email protected]>
Signed-off-by: christian.lutnik <[email protected]>
...ers/flagd/src/test/java/dev/openfeature/contrib/providers/flagd/e2e/steps/ProviderSteps.java
Show resolved
Hide resolved
Signed-off-by: christian.lutnik <[email protected]>
Signed-off-by: christian.lutnik <[email protected]>
…open-feature#1160 # Conflicts: # providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java # providers/flagd/src/test/java/dev/openfeature/contrib/providers/flagd/e2e/steps/EventSteps.java
Signed-off-by: christian.lutnik <[email protected]>
I'll be sure to review this tomrrow. |
...gd/src/test/java/dev/openfeature/contrib/providers/flagd/FlagdProviderSyncResourcesTest.java
Outdated
Show resolved
Hide resolved
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.
Great work! 🙏
I'll merge this tomorrow unless I hear objections. |
Signed-off-by: christian.lutnik <[email protected]>
…gant-solution-#1160' into improve-wait-logic-to-a-more-elegant-solution-open-feature#1160
This PR
Adds a better wait logic to wait for the initialization of the
FlagdProvider
.With these changes, it is not advisable to restart a
FlagdProvider
once it has been shut down.Related Issues
Fixes #1160