Skip to content

fix: validate tenantUrl, derive cache TTL from JWT exp, dedupe tests

f6a93ac
Select commit
Loading
Failed to load commit list.
Open

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

fix: validate tenantUrl, derive cache TTL from JWT exp, dedupe tests
f6a93ac
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 15, 2026 in 1s

82.67% (+0.30%) compared to f47714f

View this Pull Request on Codecov

82.67% (+0.30%) compared to f47714f

Details

Codecov Report

❌ Patch coverage is 81.48148% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.67%. Comparing base (f47714f) to head (f6a93ac).

Files with missing lines Patch % Lines
...salesforce/datacloud/jdbc/DataCloudDatasource.java 44.44% 6 Missing and 4 partials ⚠️
...e/datacloud/jdbc/auth/DirectCdpTokenProcessor.java 91.22% 1 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #177      +/-   ##
============================================
+ Coverage     82.37%   82.67%   +0.30%     
- Complexity     1871     1896      +25     
============================================
  Files           125      126       +1     
  Lines          5020     5092      +72     
  Branches        540      548       +8     
============================================
+ Hits           4135     4210      +75     
+ Misses          642      634       -8     
- Partials        243      248       +5     
Components Coverage Δ
JDBC Core 83.14% <ø> (ø)
JDBC Main 57.42% <58.33%> (+16.72%) ⬆️
JDBC HTTP 90.40% <91.22%> (+0.10%) ⬆️
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 91.22% <91.22%> (ø)
...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.