Page MenuHomePhabricator

[services][blob] Use S3 abstraction in service
ClosedPublic

Authored by bartek on Dec 1 2022, 5:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 12:33 AM
Unknown Object (File)
Apr 3 2024, 4:27 AM
Unknown Object (File)
Apr 3 2024, 4:27 AM
Unknown Object (File)
Apr 3 2024, 4:27 AM
Unknown Object (File)
Apr 3 2024, 4:27 AM
Unknown Object (File)
Apr 3 2024, 4:18 AM
Unknown Object (File)
Mar 7 2024, 1:33 AM
Unknown Object (File)
Mar 5 2024, 1:23 AM
Subscribers

Details

Summary

Follow up https://linear.app/comm/issue/ENG-2341/blob-service-create-s3-client-abstraction which follows up https://phab.comm.dev/D5682?id=18592#inline-38028

This diff replaces direct AWS S3 usages with the new S3Client abstraction. Also modified the MultiPartUploadSession not to be created directly, but only through S3Client.

Test Plan

Service builds. Blob service integration tests pass.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Dec 1 2022, 6:04 AM

looks pretty standard to me

This revision is now accepted and ready to land.Dec 6 2022, 8:04 PM

Updated the range value. Now it is clear if the range is inclusive or exclusive.