Ma77Ball opened a new pull request, #9431:
URL: https://github.com/apache/texera/pull/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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to