Page MenuHomePhabricator

[services] Tunnelbroker - Change `AmqpManager.send()` method arguments to use `MessageItem`
ClosedPublic

Authored by max on Jul 12 2022, 6:44 PM.
Tags
None
Referenced Files
F3301694: D4511.diff
Mon, Nov 18, 3:27 AM
Unknown Object (File)
Sat, Nov 9, 11:35 AM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Fri, Nov 8, 8:36 PM
Unknown Object (File)
Tue, Nov 5, 2:05 AM

Details

Summary

This diff introducing changes in AmqpManager.send() method to use MessageItem instead of arguments list.

Linear task: ENG-1214

Test Plan

Run tests from D4512

Diff Detail

Repository
rCOMM Comm
Branch
use-messageItem-in-amqp
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max published this revision for review.Jul 12 2022, 6:48 PM
max added reviewers: karol, tomek.
This revision is now accepted and ready to land.Jul 18 2022, 7:11 AM
services/tunnelbroker/src/Amqp/AmqpManager.cpp
114–115

We were taking payload by value and now we take message by reference - please make sure that everything will work correctly

Fixing a message access by pointer.

Please, make sure the CI doesn't fail.

This revision now requires changes to proceed.Jul 25 2022, 7:54 AM
In D4511#132413, @karol wrote:

Please, make sure the CI doesn't fail.

Sure! I saw the CI error. Thanks for pinging. Btw, when we are trying to land something with the build error the arc will throw attention, so we will not miss this anyway.

Fixing a nit in a function parameter.

This revision is now accepted and ready to land.Jul 26 2022, 4:09 AM