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, Nov 7, 11:47 PM
Unknown Object (File)
Thu, Nov 7, 10:24 PM
Unknown Object (File)
Wed, Nov 6, 7:07 PM
Unknown Object (File)
Mon, Nov 4, 3:56 PM
Unknown Object (File)
Mon, Nov 4, 3:56 PM
Unknown Object (File)
Mon, Nov 4, 3:56 PM
Unknown Object (File)
Mon, Nov 4, 3:56 PM
Unknown Object (File)
Sun, Oct 27, 9:21 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.