Page MenuHomePhabricator

[services][blob] Provide S3 and DB to service, add more constants
ClosedPublic

Authored by bartek on Nov 18 2022, 10:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 12:33 AM
Unknown Object (File)
Apr 8 2024, 8:24 PM
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 26 2024, 12:53 AM
Subscribers

Details

Summary
  • Provided the S3 and DynamoDB clients to the MyBlobService implementation, the very similiar way as it is done in Identity Service
  • Added some constants and grouped them. Their values are taken from various places across the C++ implementation.

Depends on D5681

Test Plan

The service is able to build and start as expected.

Diff Detail

Repository
rCOMM Comm
Branch
barthap/blob-rust
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Nov 18 2022, 10:45 AM
varun added inline comments.
services/blob/src/service.rs
15

I understand you're trying to keep things 1 to 1 with the existing blob service right now, but I think eventually we should expose our own interface on top of aws_sdk_s3::Client, similar to what we do for the DatabaseClient

This revision is now accepted and ready to land.Nov 22 2022, 10:01 AM
services/blob/src/service.rs
15

Yeah, definitely - It would look even cleaner that way. I'll create a task to keep track of this.

Edit: https://linear.app/comm/issue/ENG-2341/blob-service-create-s3-client-abstraction