Page MenuHomePhabricator

[services][blob] Add assign holder HTTP endpoint
ClosedPublic

Authored by bartek on Apr 18 2023, 12:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 3 2024, 4:16 PM
Unknown Object (File)
Apr 3 2024, 4:16 PM
Unknown Object (File)
Apr 3 2024, 4:16 PM
Unknown Object (File)
Apr 3 2024, 4:13 PM
Unknown Object (File)
Mar 7 2024, 6:02 AM
Unknown Object (File)
Feb 26 2024, 11:49 AM
Unknown Object (File)
Feb 21 2024, 11:02 AM
Unknown Object (File)
Feb 21 2024, 5:05 AM
Subscribers

Details

Summary

This diff implements endpoint to assign holder to a blob instance. Details are in the linear task. Ensuring that the blob exists is done in a separate diff.

Depends on D7466

Test Plan

Executed this endpoint for:

  • non-existing blob - false is returned in response
  • existing blob - true is returned in response. Also checked if holder is assigned to blob in DB (a reverse index is created).
  • already existing holder - HTTP 409 is returned

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable