• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tomdesair / tus-java-server / 32293599612
95%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 07:37PM UTC
Jobs 1
Files 156
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Aug 2026 07:32PM UTC coverage: 94.812% (-0.02%) from 94.831%
32293599612

push

github

web-flow
feat: support absolute base URLs in withUploadUri and Location headers (#37) (#121)

* feat: support absolute base URLs in withUploadUri and Location headers (#37)

- Allow withUploadUri(String) to accept absolute URLs (http:// or https://)
- Construct absolute Location response headers for upload creation across Tus 1.0.0 and RUFH protocols
- Support regex endpoints and maintain backward compatibility for relative paths
- Update README.md and CHANGELOG.md

* refactor: simplify getUploadUriOnCreation and enforce non-null requirements

- Use Objects.requireNonNull for uploadInfo, uploadId, storageService, and uploadUri
- Fall back to empty string in extractUriOrigin
- Streamline location URI resolution and update unit tests

* test: add integration tests for absolute upload URIs with and without path

- Add testUploadWithAbsoluteUploadUri (https://uploads.example.com) and testUploadWithAbsoluteUploadUriWithPath (https://uploads.example.com/api) in AbstractITTusFileUploadService and AbstractITRufhProtocol
- Assert returned Location header matches configured base URL with persisted UploadId
- Validate upload, download, and info retrieval across all storage backends (Disk, Lease-file, S3, Azure Blob)

* feat: Code review

2245 of 2518 branches covered (89.16%)

Branch coverage included in aggregate %.

42 of 42 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

4974 of 5096 relevant lines covered (97.61%)

6.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
92.4
-0.8% src/main/java/me/desair/tus/server/upload/disk/LeaseFileLockingService.java
Jobs
ID Job ID Ran Files Coverage
1 32293599612.1 19 Aug 2026 07:37PM UTC 312
78.99
GitHub Action Run
Source Files on build 32293599612
  • Tree
  • List 156
  • Changed 97
  • Source Changed 5
  • Coverage Changed 96
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32293599612
  • e8f44a50 on github
  • Prev Build on master (#32180999040)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc