Page MenuHomePhabricator

[proto][Tunnelbroker] add RPC to delete device data from Tunnelbroker
ClosedPublic

Authored by kamil on Thu, Jun 20, 3:33 PM.
Tags
None
Referenced Files
F2169574: D12525.id41582.diff
Tue, Jul 2, 12:09 PM
F2166709: D12525.id.diff
Tue, Jul 2, 4:59 AM
F2162765: D12525.diff
Mon, Jul 1, 5:11 PM
Unknown Object (File)
Mon, Jul 1, 12:55 AM
Unknown Object (File)
Sun, Jun 30, 3:29 PM
Unknown Object (File)
Sat, Jun 29, 3:27 PM
Unknown Object (File)
Thu, Jun 27, 6:48 PM
Unknown Object (File)
Thu, Jun 27, 1:29 PM
Subscribers

Details

Summary

ENG-8400 (see point 5. Logout).

This RPC will be used by Identity to inform Tunnelbroker about device logout.

Now remove the device token. Creating a follow-up task to delete persisted messages to device (ENG-8495).

Test Plan

Tested in next diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Thu, Jun 20, 4:10 PM

What about undelivered_messages? Are they considered a "device data" too?

What about undelivered_messages? Are they considered a "device data" too?

Yes, I created a follow-up task to implement this too: ENG-8495.

Can you remind me how we make sure that only Comm services can call DeleteDeviceData?

shared/protos/tunnelbroker.proto
30

Typo: extra space after message

This revision is now accepted and ready to land.Sun, Jun 30, 5:55 PM

Can you remind me how we make sure that only Comm services can call DeleteDeviceData?

Tunnelbroker gRPC port is exposed only to services