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
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
Unknown Object (File)
Sun, Dec 15, 10:49 AM
Unknown Object (File)
Wed, Dec 11, 5:44 PM
Unknown Object (File)
Sun, Dec 8, 3:59 PM
Unknown Object (File)
Oct 29 2024, 11:47 AM
Unknown Object (File)
Oct 4 2024, 4:20 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable