deposit: Admin tool to reschedule deposits
As per the parent child #1693 (closed), we need a tool to ease the re-scheduling of deposits.
Impacts:
- (deposit model) keep the scheduling task identifier deposit side. (This is an information we can store at scheduling time. This in order to avoid any scheduler db lookup.)
- new admin cli endpoint in charge of rescheduling. This would orchestrate:
- the db record change needed (state needs to be reset: status set to 'verified', swh_id(s) set to null)
- effective task rescheduling (reusing the deposit's reference ids from the first point)
Migrated from T1703 (view on Phabricator)
Edited by Phabricator Migration user