Page MenuHomePhabricator

[identity] Refactor DDB transactions to accept signatures
ClosedPublic

Authored by bartek on Mon, May 6, 3:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 11:17 AM
Unknown Object (File)
Sat, May 18, 4:33 AM
Unknown Object (File)
Fri, May 17, 1:40 PM
Unknown Object (File)
Fri, May 17, 8:55 AM
Unknown Object (File)
Mon, May 13, 6:53 PM
Unknown Object (File)
Mon, May 13, 4:13 PM
Unknown Object (File)
Mon, May 13, 3:13 PM
Unknown Object (File)
Sat, May 11, 10:52 PM
Subscribers

Details

Summary

Decided to refactor the closure return type in transact_update_devicelist().
The tuple is a bit ugly and could get even uglier when adding more stuff (device list signatures here). Introduced UpdateOperationInfo struct instead with a simple builder pattern. Included the signatures as well.

Depends on D11898

Test Plan

Device list unit and integration tests. Verified that signatures are stored in DDB when calling the update RPC

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable