From b796e8801ef947addd4212cb175afda1ecb8ee54 Mon Sep 17 00:00:00 2001 From: zuokai Date: Tue, 13 Jun 2023 19:37:28 +0800 Subject: [PATCH] update CallActivity comment --- CHANGELOG.md | 53 +++++++++++++++++++ demo/pom.xml | 6 +-- engine/pom.xml | 4 +- .../turbo/engine/bo/ElementInstance.java | 4 ++ .../engine/dao/FlowInstanceMappingDAO.java | 6 +-- .../dao/mapper/FlowInstanceMappingMapper.java | 2 +- .../SyncSingleCallActivityExecutor.java | 4 +- pom.xml | 2 +- 8 files changed, 69 insertions(+), 12 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..5838b9ec --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,53 @@ + +# Change Log + +All notable changes to this project will be documented in this file. + +## [1.1.0] - 2023-03-15 + +Support CallActivity configuration and execution. + +### Added + +Add CallActivity Node + +## [1.0.2] - 2023-02-20 + +### Changed + +1. Optimize Maven dependency management + + -Remove httpclient dependency + + -Remove individual jsr250 API dependencies + + -Remove individual junit dependencies + + -Commons collections 3.2.2-->commons collections 4 + + -Commons lang3 3.4-->3.12.0 + +2. Optimize hook function, change HTTP mode to internal call mode, reduce dependence on HTTP packages, and improve performance + +3. Simplify the configuration steps for Turbo introduction and add @ enableTurboEngine annotation + +4. Optimize partial code structure + +5. Optimize Demo Test Execution + +## [1.0.1] - 2022-07-08 + +### Changed + +1. Upgrade external dependencies +2. Uniformly manage spring boot starter versions + +### Fixed + +Fix vulnerabilities + +## [1.0.0] - 2020-12-28 + +### Added + +Turbo join open source. diff --git a/demo/pom.xml b/demo/pom.xml index 80424b4b..7f1962e2 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -6,13 +6,13 @@ com.didiglobal.turbo turbo - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 demo - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT jar @@ -20,7 +20,7 @@ 1.8 1.5.10.RELEASE - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT 1.4.200 diff --git a/engine/pom.xml b/engine/pom.xml index 90995706..ac8d7dfc 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -5,13 +5,13 @@ 4.0.0 engine - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT jar turbo com.didiglobal.turbo - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT 2.3.7 diff --git a/engine/src/main/java/com/didiglobal/turbo/engine/bo/ElementInstance.java b/engine/src/main/java/com/didiglobal/turbo/engine/bo/ElementInstance.java index e44d0c67..74661176 100644 --- a/engine/src/main/java/com/didiglobal/turbo/engine/bo/ElementInstance.java +++ b/engine/src/main/java/com/didiglobal/turbo/engine/bo/ElementInstance.java @@ -20,6 +20,10 @@ public ElementInstance() { super(); } + public ElementInstance(String modelKey, int status) { + this(modelKey, status, null, null); + } + public ElementInstance(String modelKey, int status, String nodeInstanceId, String instanceDataId) { super(); this.modelKey = modelKey; diff --git a/engine/src/main/java/com/didiglobal/turbo/engine/dao/FlowInstanceMappingDAO.java b/engine/src/main/java/com/didiglobal/turbo/engine/dao/FlowInstanceMappingDAO.java index be497280..547a05eb 100644 --- a/engine/src/main/java/com/didiglobal/turbo/engine/dao/FlowInstanceMappingDAO.java +++ b/engine/src/main/java/com/didiglobal/turbo/engine/dao/FlowInstanceMappingDAO.java @@ -47,12 +47,12 @@ public int insert(FlowInstanceMappingPO flowInstanceMappingPO) { return -1; } - public void updateStatus(String flowInstanceId, String nodeInstanceId, int status) { + public void updateType(String flowInstanceId, String nodeInstanceId, int type) { FlowInstanceMappingPO flowInstanceMappingPO = new FlowInstanceMappingPO(); flowInstanceMappingPO.setFlowInstanceId(flowInstanceId); flowInstanceMappingPO.setNodeInstanceId(nodeInstanceId); - flowInstanceMappingPO.setType(status); + flowInstanceMappingPO.setType(type); flowInstanceMappingPO.setModifyTime(new Date()); - baseMapper.updateStatus(flowInstanceMappingPO); + baseMapper.updateType(flowInstanceMappingPO); } } diff --git a/engine/src/main/java/com/didiglobal/turbo/engine/dao/mapper/FlowInstanceMappingMapper.java b/engine/src/main/java/com/didiglobal/turbo/engine/dao/mapper/FlowInstanceMappingMapper.java index 7e99c2ce..187cb533 100644 --- a/engine/src/main/java/com/didiglobal/turbo/engine/dao/mapper/FlowInstanceMappingMapper.java +++ b/engine/src/main/java/com/didiglobal/turbo/engine/dao/mapper/FlowInstanceMappingMapper.java @@ -17,5 +17,5 @@ public interface FlowInstanceMappingMapper extends BaseMappercom.didiglobal.turbo turbo pom - 1.0.2-SNAPSHOT + 1.1.0-SNAPSHOT turbo Turbo is a light-weight flow engine framework, support BPMN2.0 https://www.github.com/didi/turbo