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)
Thu, Mar 27, 3:00 AM
Unknown Object (File)
Mar 3 2025, 7:43 PM
Unknown Object (File)
Feb 26 2025, 6:09 PM
Unknown Object (File)
Feb 26 2025, 6:09 PM
Unknown Object (File)
Feb 26 2025, 6:09 PM
Unknown Object (File)
Feb 26 2025, 6:08 PM
Unknown Object (File)
Feb 26 2025, 5:57 PM
Unknown Object (File)
Feb 26 2025, 12:22 PM
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