You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by Yichao Yang <10...@qq.com> on 2020/06/10 03:28:51 UTC

[DISCUSS] Implement version control for workflow

Hi


At present, when viewing the execution status, there has been version difference display for process and task instance. This is achieved by storing the JSON string of the current workflow when executing each process and task. What we want to achieve this time is version control for the workflow. At present, my ideas are as follows:


1. Add a version selection box in the workflow interface, and the current version will be displayed in the box;


2. You can select another version in the version selection box and change it to the current version;




I hope you can provide suggestions for implementation.



----------------------


目前在查看执行情况时,针对task和process已经有了版本差异的前端展示,这是通过执行每一条记录时存储当前工作流的json字符串实现的,我们这次想要实现的应该是针对工作流的版本控制,目前我的想法如下:


1.在工作流界面添加版本选择框,框内会显示当前版本;
2.用户可以在版本选择框内选择其他版本,修改为当前版本;


希望大家可以提供实现的建议或意见。



Best,
Yichao Yang

Re: [DISCUSS] Implement version control for workflow

Posted by lidong dai <da...@gmail.com>.
good idea,  how to handle the files in resource center? I think these files
also need version controll, these files maybe also update with the workflow
definition.

 anyway,  you can implement the first version about this feature with your
idea



Best Regards
---------------
DolphinScheduler(Incubator) PPMC
Lidong Dai 代立冬
dailidong66@gmail.com
---------------


Yichao Yang <10...@qq.com> 于2020年6月10日周三 上午11:29写道:

> Hi
>
>
> At present, when viewing the execution status, there has been version
> difference display for process and task instance. This is achieved by
> storing the JSON string of the current workflow when executing each process
> and task. What we want to achieve this time is version control for the
> workflow. At present, my ideas are as follows:
>
>
> 1. Add a version selection box in the workflow interface, and the current
> version will be displayed in the box;
>
>
> 2. You can select another version in the version selection box and change
> it to the current version;
>
>
>
>
> I hope you can provide suggestions for implementation.
>
>
>
> ----------------------
>
>
>
> 目前在查看执行情况时,针对task和process已经有了版本差异的前端展示,这是通过执行每一条记录时存储当前工作流的json字符串实现的,我们这次想要实现的应该是针对工作流的版本控制,目前我的想法如下:
>
>
> 1.在工作流界面添加版本选择框,框内会显示当前版本;
> 2.用户可以在版本选择框内选择其他版本,修改为当前版本;
>
>
> 希望大家可以提供实现的建议或意见。
>
>
>
> Best,
> Yichao Yang