Currently, when a Trigger delivers an Event, the Event does not contain any information about the Trigger that generated it. This means that to distinguish between two triggers on the same interface, users have to use some out of band mechanism (e.g. using a different URL or adding a fixed query parameter).
Added trigger_name both in mustache template and event payload
Updated doc
No tests in this PR (there aren't tests for event data validation)
astarte_trigger_engine: add
trigger_name
to http eventRelative to https://github.com/astarte-platform/astarte/issues/692
Currently, when a Trigger delivers an Event, the Event does not contain any information about the Trigger that generated it. This means that to distinguish between two triggers on the same interface, users have to use some out of band mechanism (e.g. using a different URL or adding a fixed query parameter).
trigger_name
both in mustache template and event payloadNo tests in this PR (there aren't tests for event data validation)