notification: transmit originating trigger as part of evaluation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Apr 2021 00:41:25 +0000 (20:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Apr 2021 02:06:54 +0000 (22:06 -0400)
Transmit the full trigger object instead of its condition when sending a
notification to a client. This allows clients to reliably filter on
triggers as, currently, only the name of a trigger is made available to
clients as part of the "on_event" evaluation object (the owner uid is
needed to perform a correct comparison for filtering).

This will also make the trigger accessible for all condition types.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I61d587436177eb34744487a1d3c486d87fe2e1f1


No differences found
This page took 0.027549 seconds and 5 git commands to generate.