databricks-sdk-go
databricks-sdk-go copied to clipboard
Create a method to generate OAuth tokens
Changes
Create a method to generate OAuth tokens. This is required to later generate tokens to use in the DataPlane APIs. This PR introduces a breaking change by renaming CredentialsProvider -> CredentialsStrategy and changing the signature of the Configure method for such interface.
Tests
- [X] Manual test. No API returns the
authorization_detailsfor an object. - [X]
make testpassing - [X]
make fmtapplied - [ ] relevant integration tests applied
Codecov Report
Attention: Patch coverage is 49.10714% with 57 lines in your changes are missing coverage. Please review.
Project coverage is 7.12%. Comparing base (
27d08a6) to head (4214f2f). Report is 2 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #886 +/- ##
========================================
+ Coverage 7.08% 7.12% +0.03%
========================================
Files 276 279 +3
Lines 64376 64446 +70
========================================
+ Hits 4563 4590 +27
- Misses 59502 59546 +44
+ Partials 311 310 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.