Page MenuHomePhabricator

[services-lib] Add method to upload blobs
ClosedPublic

Authored by bartek on Aug 10 2023, 10:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 4:46 PM
Unknown Object (File)
Oct 18 2024, 4:04 AM
Unknown Object (File)
Oct 18 2024, 3:52 AM
Unknown Object (File)
Oct 1 2024, 4:46 AM
Unknown Object (File)
Sep 28 2024, 7:33 PM
Unknown Object (File)
Sep 28 2024, 7:33 PM
Unknown Object (File)
Sep 27 2024, 11:57 PM
Unknown Object (File)
Sep 27 2024, 11:57 PM
Subscribers

Details

Summary

Part of ENG-4597.

Added a function that takes a stream as an argument and uploads the data to blob service.

Depends on D8778

Test Plan

Tested together with next diffs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
services/comm-services-lib/src/blob/client.rs
140–142 ↗(On Diff #29819)

Requirements of the reqwest body stream:
A stream of Result<impl Into<Vec<u8>>, impl Into<Box<dyn Error>>>

bartek published this revision for review.Aug 11 2023, 2:20 AM
michal added inline comments.
services/comm-services-lib/src/blob/client.rs
144 ↗(On Diff #29819)

Wrong message?

This revision is now accepted and ready to land.Aug 11 2023, 4:35 AM
This revision was automatically updated to reflect the committed changes.