This is an automated email from the ASF dual-hosted git repository. journey pushed a change to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git.
from c003cd1 [Improvement-3369][api] Introduce tenant service interface for clear code (#3420) add 93660f4 [Feature-2154][api] Workflow version control (#3053) No new revisions were added by this update. Summary of changes: .../controller/ProcessDefinitionController.java | 290 ++++++++++++------ .../apache/dolphinscheduler/api/enums/Status.java | 337 +++++++++++---------- .../api/service/ProcessDefinitionService.java | 113 ++++--- .../service/ProcessDefinitionVersionService.java | 70 +++++ .../api/service/ProcessInstanceService.java | 99 +++--- .../service/impl/ProcessDefinitionServiceImpl.java | 90 +++++- .../impl/ProcessDefinitionVersionServiceImpl.java | 181 +++++++++++ .../src/main/resources/i18n/messages.properties | 4 + .../main/resources/i18n/messages_en_US.properties | 4 + .../main/resources/i18n/messages_zh_CN.properties | 5 +- .../ProcessDefinitionControllerTest.java | 217 +++++++++---- .../api/service/ProcessDefinitionServiceTest.java | 37 ++- .../ProcessDefinitionVersionServiceTest.java | 274 +++++++++++++++++ .../api/service/ProcessInstanceServiceTest.java | 39 +-- .../api/service/ProjectServiceTest.java | 44 ++- .../dao/entity/ProcessDefinition.java | 32 +- .../dao/entity/ProcessDefinitionVersion.java | 329 ++++++++++++++++++++ .../dao/mapper/ProcessDefinitionMapper.java | 24 +- .../dao/mapper/ProcessDefinitionVersionMapper.java | 69 +++++ .../dao/mapper/ProcessDefinitionMapper.xml | 6 + ...pper.xml => ProcessDefinitionVersionMapper.xml} | 40 +-- .../dao/mapper/ProcessDefinitionMapperTest.java | 54 ++-- .../mapper/ProcessDefinitionVersionMapperTest.java | 172 +++++++++++ .../src/js/conf/home/pages/dag/_source/dag.vue | 155 +++++++++- .../home/pages/dag/_source/jumpAffirm/index.js | 2 +- .../pages/definition/pages/list/_source/list.vue | 125 +++++++- .../definition/pages/list/_source/versions.vue | 255 ++++++++++++++++ .../src/js/conf/home/store/dag/actions.js | 42 +++ .../src/js/module/i18n/locale/en_US.js | 5 + .../src/js/module/i18n/locale/zh_CN.js | 5 + pom.xml | 2 + sql/dolphinscheduler-postgre.sql | 27 ++ sql/dolphinscheduler_mysql.sql | 27 ++ .../1.3.3_schema/mysql/dolphinscheduler_ddl.sql | 31 ++ .../postgresql/dolphinscheduler_ddl.sql | 32 +- 35 files changed, 2698 insertions(+), 540 deletions(-) create mode 100644 dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionVersionService.java create mode 100644 dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionVersionServiceImpl.java create mode 100644 dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionVersionServiceTest.java create mode 100644 dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessDefinitionVersion.java create mode 100644 dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionVersionMapper.java copy dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/{ProcessInstanceMapMapper.xml => ProcessDefinitionVersionMapper.xml} (53%) create mode 100644 dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionVersionMapperTest.java create mode 100644 dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue