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, Oct 29, 11:47 AM
Unknown Object (File)
Oct 4 2024, 4:20 AM
Unknown Object (File)
Oct 4 2024, 4:20 AM
Unknown Object (File)
Oct 4 2024, 4:20 AM
Unknown Object (File)
Oct 4 2024, 4:17 AM
Unknown Object (File)
Aug 29 2024, 12:57 PM
Unknown Object (File)
Aug 29 2024, 12:57 PM
Unknown Object (File)
Aug 29 2024, 12:57 PM
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