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)
Tue, Feb 4, 4:23 AM
Unknown Object (File)
Sun, Feb 2, 11:00 AM
Unknown Object (File)
Thu, Jan 23, 12:11 AM
Unknown Object (File)
Thu, Jan 23, 12:11 AM
Unknown Object (File)
Thu, Jan 23, 12:08 AM
Unknown Object (File)
Wed, Jan 22, 8:15 PM
Unknown Object (File)
Jan 12 2025, 6:23 AM
Unknown Object (File)
Jan 11 2025, 7:25 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