Page MenuHomePhabricator

[blob-service] Call service methods from handlers
ClosedPublic

Authored by bartek on Jul 9 2023, 2:07 PM.
Tags
None
Referenced Files
F3366058: D8458.id28997.diff
Mon, Nov 25, 9:20 AM
Unknown Object (File)
Sat, Nov 23, 8:49 PM
Unknown Object (File)
Sat, Nov 23, 12:49 PM
Unknown Object (File)
Thu, Nov 14, 10:05 PM
Unknown Object (File)
Sat, Nov 9, 2:03 AM
Unknown Object (File)
Fri, Nov 1, 5:52 PM
Unknown Object (File)
Fri, Nov 1, 5:50 PM
Unknown Object (File)
Fri, Nov 1, 5:47 PM
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 ↗(On Diff #28514)

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