Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Policy definitions current support the following actions in policy trigger definitions:
delegate
: to run a workflow defined elsewhere in the service templateinline
: to run a workflow defined inlinecall_operation
: to invoke an operation on a node or relationshipset_state
: set node stateWith the exception of
set_state
, none of these provide the ability for policies to make changes to the service representation graph, since workflows and operations interact with the external implementations only without modifying the representation first. This means that policies as currently defined are extremely limited in their usefulness.To make policies more useful, I recommend that we introduce a new
update
action that can be invoked by policy triggers. Theupdate
keyword takes a set of updated input values with which to update the service representation. This would allow for true closed loop automation.Beta Was this translation helpful? Give feedback.
All reactions