This change adds the Notifier interface to the fnenv component, which allows notifying of function runtime environments of an expected/future function execution. This will allow the fnenv to use this information/notification to (optionally) optimize the execution of the function by, for example, already provisioning resources ahead of time.
Additionally this also adds a small initial validate command to the wfcli tool. The idea behind this is that users can find errors in their definitions before submitting the workflows. This should decrease the feedback loop in the development workflow.
This change adds the
Notifier
interface to thefnenv
component, which allows notifying of function runtime environments of an expected/future function execution. This will allow the fnenv to use this information/notification to (optionally) optimize the execution of the function by, for example, already provisioning resources ahead of time.Additionally this also adds a small initial validate command to the wfcli tool. The idea behind this is that users can find errors in their definitions before submitting the workflows. This should decrease the feedback loop in the development workflow.