The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
6a19cba6373d903071bf99348da462cafd057531 / Matthew B. <[email protected]>
refactor(file-service): share presign/multipart endpoints in a trait (#9431)

### What changes were proposed in this PR?
- Added a `ResourceUploadSupport` trait holding the presigned-download
and multipart-upload delegations to `ResourceUploadService`,
parameterized by an abstract `resourceStorage` descriptor.
- `DatasetResource` and `ModelResource` mix in the trait and supply
`resourceStorage` (`ResourceStorage.Dataset` / `ResourceStorage.Model`);
their five duplicated private helpers are removed.
- Behavior is unchanged: the JAX-RS endpoint methods and annotations
stay on each resource and call the inherited helpers.
### Any related issues, documentation, discussions?
Closes: #9428
### How was this PR tested?
- Run `sbt "FileService/compile"` and `sbt "FileService/Test/compile"`,
expect both to succeed (they pass locally).
- The runtime resource specs need Postgres and LakeFS, unavailable
locally; confirm the file-service job stays green in CI.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF

Report URL: https://github.com/apache/texera/actions/runs/43861381712

With regards,
GitHub Actions via GitBox

Reply via email to