Page MenuHomePhabricator

[blob-service] Call service methods from handlers
ClosedPublic

Authored by bartek on Jul 9 2023, 2:07 PM.
Tags
None
Referenced Files
F3386044: D8458.id28997.diff
Fri, Nov 29, 3:10 AM
F3385976: D8458.id28514.diff
Fri, Nov 29, 2:58 AM
F3385644: D8458.diff
Fri, Nov 29, 1:21 AM
F3384273: D8458.diff
Thu, Nov 28, 8:12 PM
F3383620: D8458.diff
Thu, Nov 28, 5:01 PM
Unknown Object (File)
Mon, Nov 25, 2:55 PM
Unknown Object (File)
Mon, Nov 25, 2:32 PM
Unknown Object (File)
Mon, Nov 25, 9:20 AM
Subscribers

Details

Summary

Part of ENG-4269.

Replaced HTTP handlers logic with calls to the BlobService class

Depends on D8457.

Test Plan

Blob service integration and performance tests pass at this point.
Played with Postman to manually test the endpoints - both successful and failure cases (blob/holder not found, already exists, empty upload, invalid inputs)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Jul 10 2023, 12:45 AM
bartek added inline comments.
services/blob/src/http/handlers/blob.rs
1

Will be removed in the next diff to avoid bloating this one

rust LGTM, would like for someone else to take a look

This revision is now accepted and ready to land.Jul 12 2023, 4:05 PM