astarte-platform / astarte-dashboard

Astarte dashboard
http://astarte-platform.org
Apache License 2.0
17 stars 16 forks source link

Support referencing Trigger Policy in a Trigger #369

Closed Annopaolo closed 1 year ago

Annopaolo commented 1 year ago

In the context of #365, the Trigger creation page should support referencing a Trigger Policy. A trigger may reference at most one Trigger Policy using the "policy" field. The Policy is referenced by name and it must already be installed when referenced. If no Policy is referenced, Astarte will by default behave as in the pre-Trigger Policy days. Thus, the "policy" field is optional. More information on this can be found in the release-1.1 documentation.