-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Implement default client authenticators #4837
Implement default client authenticators #4837
Conversation
See open-telemetry/opentelemetry-collector-contrib#7787 for more information on how client authenticators can use this new API. |
Codecov Report
@@ Coverage Diff @@
## main #4837 +/- ##
==========================================
+ Coverage 90.88% 90.95% +0.06%
==========================================
Files 181 182 +1
Lines 10633 10667 +34
==========================================
+ Hits 9664 9702 +38
+ Misses 751 748 -3
+ Partials 218 217 -1
Continue to review full report at Codecov.
|
LGTM! |
cda70b7
to
51128dc
Compare
@codeboten, could you please review this one? |
LGTM! Thanks @jpkrohling |
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've always been confused about the package choice for this extension. It is very strange to have an extension defined in the config
sub-package instead of a sub-package in extension
. I think we should fix this.
@pavankrish123 don't hesitate to press the "Approve" button, even though it does not make things "green", but it is easier to find who approved/lgtm than looking in the history of comments :) |
@bogdandrutu, do you mean for this PR? We have the server counterpart to this merged already. I'd then suggest closing this PR, applying the changes to the server authenticators, and opening a new PR for the client authenticators (replacing this PR here). |
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 am ok merging this, then fix the package .
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.
Code looks good. @jpkrohling please take a look at @bogdandrutu's last comment
Similar to open-telemetry#4558, this allows client authenticators to be created without having to implement all the functions from the ClientAuthenticator interface. This is non-breaking change. Fixes open-telemetry#4557 Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
51128dc
to
7080280
Compare
Comments addressed. Thanks for the review! |
* Implement default client authenticators Similar to open-telemetry#4558, this allows client authenticators to be created without having to implement all the functions from the ClientAuthenticator interface. This is non-breaking change. Fixes open-telemetry#4557 Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Similar to #4558, this allows client authenticators to be created without having to implement all the functions from the ClientAuthenticator interface.
This is non-breaking change.
Fixes #4557
Signed-off-by: Juraci Paixão Kröhling [email protected]