Skip to content

feat: add support for using CDP auth token directly#177

Merged
KaviarasuSakthivadivel merged 9 commits into
mainfrom
rlemma/support-cdp-auth
May 21, 2026
Merged

feat: add support for using CDP auth token directly#177
KaviarasuSakthivadivel merged 9 commits into
mainfrom
rlemma/support-cdp-auth

fix: address PR feedback — strict JWT exp, fail on expired, rename me…

b723f14
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 20, 2026 in 0s

80.86% (+0.35%) compared to 9760106

View this Pull Request on Codecov

80.86% (+0.35%) compared to 9760106

Details

Codecov Report

❌ Patch coverage is 82.27848% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.86%. Comparing base (9760106) to head (b723f14).

Files with missing lines Patch % Lines
...salesforce/datacloud/jdbc/DataCloudDatasource.java 44.44% 6 Missing and 4 partials ⚠️
...e/datacloud/jdbc/auth/DirectCdpTokenProcessor.java 92.72% 1 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #177      +/-   ##
============================================
+ Coverage     80.51%   80.86%   +0.35%     
- Complexity     1703     1728      +25     
============================================
  Files           122      123       +1     
  Lines          4941     5011      +70     
  Branches        520      528       +8     
============================================
+ Hits           3978     4052      +74     
+ Misses          735      727       -8     
- Partials        228      232       +4     
Components Coverage Δ
JDBC Core 80.86% <ø> (ø)
JDBC Main 57.42% <58.33%> (+16.72%) ⬆️
JDBC HTTP 90.55% <92.72%> (+0.25%) ⬆️
JDBC Utilities 65.25% <ø> (ø)
Spark Datasource ∅ <ø> (∅)
Files with missing lines Coverage Δ
...cloud/jdbc/interceptor/TokenProcessorSupplier.java 100.00% <100.00%> (+100.00%) ⬆️
...e/datacloud/jdbc/auth/DirectCdpTokenProcessor.java 92.72% <92.72%> (ø)
...salesforce/datacloud/jdbc/DataCloudDatasource.java 50.00% <44.44%> (+9.64%) ⬆️

... and 1 file with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.