Skip to content

Commit 60635e6

Browse files
committed
优化以来和test
1 parent 3beea11 commit 60635e6

File tree

10 files changed

+4
-119
lines changed

10 files changed

+4
-119
lines changed

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-local/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<artifactId>hsweb-system-workflow</artifactId>
77
<groupId>org.hswebframework.web</groupId>
88
<version>3.0.0-RC-SNAPSHOT</version>
9+
<relativePath>../pom.xml</relativePath>
910
</parent>
1011
<modelVersion>4.0.0</modelVersion>
1112

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-local/src/main/java/org/hswebframework/web/workflow/dimension/DefaultCandidateDimensionParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public CandidateDimension parse(DimensionContext context, String jsonConfig) {
3939
List<String> list = strategies
4040
.stream()
4141
.filter(strategy -> strategy.support(type))
42-
.map(strategy -> strategy.parse(config))
42+
.map(strategy -> strategy.parse(context,config))
4343
.filter(CollectionUtils::isNotEmpty)
4444
.flatMap(Collection::stream)
4545
.collect(Collectors.toList());

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<artifactId>hsweb-system-workflow</artifactId>
77
<groupId>org.hswebframework.web</groupId>
88
<version>3.0.0-RC-SNAPSHOT</version>
9+
<relativePath>../pom.xml</relativePath>
910
</parent>
1011
<modelVersion>4.0.0</modelVersion>
1112

Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
package org.hswebframework.web.workflow.starter;
22

3-
import org.hswebframework.web.service.workflow.ActDefService;
4-
import org.hswebframework.web.service.workflow.simple.SimpleActDefService;
5-
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
6-
import org.springframework.context.annotation.Bean;
73
import org.springframework.context.annotation.ComponentScan;
84
import org.springframework.context.annotation.Configuration;
95

106
@Configuration
117
@ComponentScan("org.hswebframework.web.workflow")
128
public class WorkFlowAutoConfiguration {
139

14-
@Bean
15-
@ConditionalOnMissingBean(ActDefService.class)
16-
public SimpleActDefService simpleActDefService(){
17-
return new SimpleActDefService();
18-
}
1910
}

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/src/test/java/org/hswebframework/web/workflow/flowable/ControllerTest.java

Lines changed: 0 additions & 57 deletions
This file was deleted.

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/src/test/java/org/hswebframework/web/workflow/flowable/TestApplication.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/src/test/resources/application-dev.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/src/test/resources/application.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

hsweb-system/hsweb-system-workflow/hsweb-system-workflow-starter/src/test/resources/processes/README.md

Whitespace-only changes.

hsweb-system/hsweb-system-workflow/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<artifactId>hsweb-system</artifactId>
77
<groupId>org.hswebframework.web</groupId>
88
<version>3.0.0-RC-SNAPSHOT</version>
9+
<relativePath>../pom.xml</relativePath>
910
</parent>
1011
<modelVersion>4.0.0</modelVersion>
1112

0 commit comments

Comments
 (0)