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
Unknown Object (File)
Sun, May 5, 3:51 AM
Unknown Object (File)
Sun, May 5, 3:51 AM
Unknown Object (File)
Sun, May 5, 3:05 AM
Unknown Object (File)
Wed, May 1, 10:37 PM
Unknown Object (File)
Tue, Apr 16, 3:23 AM
Unknown Object (File)
Mon, Apr 15, 8:46 PM
Unknown Object (File)
Sat, Apr 13, 8:32 AM
Unknown Object (File)
Sat, Apr 13, 4:50 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