Page MenuHomePhabricator

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

Authored by kamil on Jun 20 2024, 3:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 4, 11:29 AM
Unknown Object (File)
Sun, Mar 2, 6:14 PM
Unknown Object (File)
Fri, Feb 21, 1:11 AM
Unknown Object (File)
Fri, Feb 21, 1:11 AM
Unknown Object (File)
Fri, Feb 21, 1:11 AM
Unknown Object (File)
Feb 3 2025, 1:31 PM
Unknown Object (File)
Feb 2 2025, 4:15 PM
Unknown Object (File)
Jan 30 2025, 1:57 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.Jun 20 2024, 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.Jun 30 2024, 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