-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[extensionauth] Split extensionauth.Client by protocol type #12574
[extensionauth] Split extensionauth.Client by protocol type #12574
Conversation
5427cb5
to
9423499
Compare
9423499
to
71bb798
Compare
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #12574 +/- ##
==========================================
- Coverage 92.16% 92.06% -0.10%
==========================================
Files 471 473 +2
Lines 25561 25590 +29
==========================================
+ Hits 23558 23560 +2
- Misses 1591 1617 +26
- Partials 412 413 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
You will need to "undeprecate" the interface function implementations like https://github.com/open-telemetry/opentelemetry-collector/pull/12574/files#diff-23c4f67c72c9521b926d80da1f9233f3375e624222432f9983ae0aab05e8218aR64
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.
LGTM, just a few nitpicks on the doc comments
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
I addressed all comments, however I do not want to merge this until the discussion over at #12601 is finalized |
Given #12601 (comment) I am going to merge this |
1012122
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Prepares for addressing changes from open-telemetry/opentelemetry-collector#12574
…mentions (#38601) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> Follows #38451 and open-telemetry/opentelemetry-collector/pull/12574. Removes explicit mentions to `extensionauth.Client` and replaces them by `extensionauth.HTTPClient` and `extensionauth.GRPCClient`
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Removes deprecated symbols from `extensionauth` and `configauth` modules <!-- Issue number if applicable --> #### Link to tracking issue Follows #12574
Description
An attempt at splitting
extensionauth.Client
by protocol type. open-telemetry/opentelemetry-collector-contrib/pull/38451 removes usages of theNewClient
andNewServer
constructor