-
Notifications
You must be signed in to change notification settings - Fork 2
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: Total Confidence - functionality to send tracking events #88
Conversation
…ider-java into evnt-generic
|
||
public abstract com.google.protobuf.Value toProto(); | ||
|
||
public static class StringValue extends ConfidenceValue { |
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 one differs by having the Value
suffix in it's name. But I think that makes sense. Having these primitive types being public and sharing so many names with standard Java types will be a mess for developers? We should have a common naming scheme though.
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.
Would also be solved by only modeling a Primitive..
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.
I'll take a stab at this.
src/main/java/com/spotify/confidence/ConfidenceFeatureProvider.java
Outdated
Show resolved
Hide resolved
src/main/java/com/spotify/confidence/FlagResolverClientImpl.java
Outdated
Show resolved
Hide resolved
private final String clientSecret; | ||
|
||
private final String SDK_VERSION; | ||
private static final SdkId SDK_ID = SdkId.SDK_ID_JAVA_PROVIDER; |
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.
Add a new SDK_ID to proto. SDK_ID_JAVA_CONFIDENCE
* context inheritence and closing WIP * don't throw for closed send() + tests * mark GrpcEventUploader constructor as package private --------- Co-authored-by: Andreas Karlsson <[email protected]>
…t for flag resolver grpc context flattening
bd74d90
to
14ce138
Compare
…add test for flag resolver grpc context flattening
…lient, add test for flag resolver grpc context flattening
The main part of this functionality lies in the new way of constructing the Provider, by using
Confidence.builder(..)
and passing yourConfidence
instance as a constructor param for the OF Provider you can also use theConfidence
object to emit tracking events!Release-As: 0.1.0