Page MenuHomePhabricator

[keyserver] Move blob upload code to a new place
ClosedPublic

Authored by tomek on Nov 21 2023, 3:42 AM.
Tags
None
Referenced Files
F3524126: D9937.diff
Mon, Dec 23, 11:28 AM
F3523100: D9937.id33579.diff
Mon, Dec 23, 8:23 AM
F3523099: D9937.id33453.diff
Mon, Dec 23, 8:23 AM
F3523088: D9937.id.diff
Mon, Dec 23, 8:22 AM
F3523076: D9937.diff
Mon, Dec 23, 8:19 AM
F3522576: D9937.id.diff
Mon, Dec 23, 7:04 AM
Unknown Object (File)
Sat, Dec 21, 3:43 AM
Unknown Object (File)
Fri, Dec 20, 9:35 AM
Subscribers

Details

Summary

Currently, all the code with services logic lives in separate places on keyserver. This diff is the first part of refactoring which moves the code to one place - src/services directory.

Blob service upload code does two things: computes a hash and uploads the blob. In this diff I'm moving the code, later in the stack, I'm splitting it so it's clear which part is responsible for what. The blobServiceUpload would be calling the utils and return a result - the types will be cleaned later in the stack.

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Branch
linki
Lint
No Lint Coverage
Unit
No Test Coverage