Page MenuHomePhabricator

[blob-service] Call service methods from handlers
ClosedPublic

Authored by bartek on Jul 9 2023, 2:07 PM.
Tags
None
Referenced Files
F2172794: D8458.id28917.diff
Tue, Jul 2, 8:41 PM
Unknown Object (File)
Sun, Jun 30, 11:17 AM
Unknown Object (File)
Tue, Jun 25, 10:01 PM
Unknown Object (File)
Tue, Jun 25, 7:04 PM
Unknown Object (File)
Tue, Jun 25, 3:35 AM
Unknown Object (File)
Tue, Jun 25, 3:35 AM
Unknown Object (File)
Tue, Jun 25, 3:35 AM
Unknown Object (File)
Tue, Jun 25, 3:34 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
Lint Not Applicable
Unit
Tests Not Applicable

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