HomePhabricator
Diffusion Comm 7913dd6e2f18

[services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message

Description

[services] Tunnelbroker - Adding of handling of the NewNotifyToken message

Summary:
This diff introduces handling by the gRPC server of the NewNotifyToken message message from the client in the MessagesStream bidirectional stream.

When the client sends the new notification token the server should save it for the client in the database sessions table.

Linear task: ENG-2060

Test Plan:
Connect to the bidirectional gRPC MessagesStream stream with the valid sessionID in metadata and send the message to the server with the NewNotifyToken field value as a random string.
The expected behavior is that the value will be written into the sessions table of the dynamoDB database into the NotifyToken field.

Reviewers: jon, marcin, varun, tomek

Reviewed By: jon, tomek

Subscribers: ashoat, tomek, atul, abosh

Differential Revision: https://phab.comm.dev/D5534