- Triggers should care about triggering(launching) hooks, not only about checking when hooks should be launched. This logic is moved from HookExecutor to Triggers - Remove "n/a" status of Hooks. There is no possible situation when such status can be configured. Also, "success" status is used now as default status. - `sys.call` saves output for success call too. - `get_configured_event_type` method of Trigger is renamed to `get_listening_event`. - Task Engine should not launch hook executor and timers if hooks section is not configured - HookExecutor doesn't create and start timer thread if "time" unit is not configured in any hook. - Results of Hooks relate to each particular trigger, so they are stored in trigger object and HookExecutor obtains results from there. Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com> Change-Id: I2ce6132e101790af75ed0899bc4d5e3ddb00d0d7
5.8 KiB
5.8 KiB