We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bamboo-engine interface 提供了 hooks 实现。但是目前的 hooks 是比较少的。通过扩充interface层所支持的hooks的类型,在engine调度的过程中调用这些钩子即可。
目前pipeline接口可提供定义的钩子为:
信号的实现使用django signal信号,但是如此多的信号可能会给上层的使用方带来实现管理上的麻烦,于是讲所有的信号事件收敛为一个信号: bamboo_engine_events。
bamboo_engine_events
bamboo_engine_events 的协议如下:
{ "type": "pipeline_access_node", "data": { "pipeline_id": "", "node_id": "" } }
由上层的业务根据不同的type来去消费不同的事件数据。
type
The text was updated successfully, but these errors were encountered:
No branches or pull requests
目前梳理出的信号
任务级别
节点级别
网关:
节点:
子流程:
实现思路:
bamboo-engine interface 提供了 hooks 实现。但是目前的 hooks 是比较少的。通过扩充interface层所支持的hooks的类型,在engine调度的过程中调用这些钩子即可。
目前pipeline接口可提供定义的钩子为:
任务
节点:
我们需要新增:
任务
网关
子流程:
信号的实现使用django signal信号,但是如此多的信号可能会给上层的使用方带来实现管理上的麻烦,于是讲所有的信号事件收敛为一个信号:
bamboo_engine_events
。bamboo_engine_events 的协议如下:
由上层的业务根据不同的
type
来去消费不同的事件数据。The text was updated successfully, but these errors were encountered: