-
Notifications
You must be signed in to change notification settings - Fork 49
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: flagd in-process provider #412
feat: flagd in-process provider #412
Conversation
7598b4c
to
6f29db3
Compare
0b27d58
to
e2b2afe
Compare
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/Config.java
Outdated
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/FlagStore.java
Outdated
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/FlagStore.java
Outdated
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolver.java
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolver.java
Outdated
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/model/FeatureFlag.java
Outdated
Show resolved
Hide resolved
...src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/model/FlagParser.java
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/FlagStore.java
Outdated
Show resolved
Hide resolved
...ure/contrib/providers/flagd/resolver/process/storage/connector/grpc/GrpcStreamConnector.java
Outdated
Show resolved
Hide resolved
...ure/contrib/providers/flagd/resolver/process/storage/connector/grpc/GrpcStreamConnector.java
Show resolved
Hide resolved
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java
Outdated
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolver.java
Show resolved
Hide resolved
...rc/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/InProcessResolver.java
Show resolved
Hide resolved
b784edb
to
f11f380
Compare
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.
The implementation LGTM, great work @Kavindu-Dodan 👏
I suggest adding some unit tests for the gRPC Stream Handler/Connector and the FlagStore.
Please, also adapt the main readme with the new usage options :) I suggest also posting there (or in another doc) the nice diagram that you attached to this PR
...src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/model/FlagParser.java
Outdated
Show resolved
Hide resolved
providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/FlagdProvider.java
Show resolved
Hide resolved
...ure/contrib/providers/flagd/resolver/process/storage/connector/grpc/GrpcStreamConnector.java
Outdated
Show resolved
Hide resolved
...gd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/common/ChannelBuilder.java
Show resolved
Hide resolved
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
…s/flagd/resolver/process/model/FlagParser.java Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]> fix test harness and review changes
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
36b358f
to
c08aab4
Compare
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
…s/flagd/resolver/process/storage/FlagStoreTest.java Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
…s/flagd/resolver/process/InProcessResolverTest.java Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
…s/flagd/resolver/process/storage/connector/grpc/GrpcStreamConnectorTest.java Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
Co-authored-by: Todd Baert <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
…s/flagd/resolver/process/model/FlagParserTest.java Co-authored-by: Giovanni Liva <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
Signed-off-by: Kavindu Dodanduwa <[email protected]>
0c3ac66
to
729c1e6
Compare
…ure#412) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR
Completes first set of tasks proposed through #411
Please review with checkout as this contains refactoring + implementation of the in-process resolver for flagd.
Design
Consider the following diagram for architecture,
Highlights