enhancement #IAWJG1 ELBus中构建el表达式中对node包装类型格局的重新设计

This commit is contained in:
everywhere.z
2024-11-02 19:05:11 +08:00
parent 2317b6b0c4
commit 86905ee771
3 changed files with 3 additions and 3 deletions

View File

@@ -193,7 +193,7 @@ public class FallbackTest extends BaseTest {
@Test
public void testWithElBuild(){
ELWrapper el = ELBus.then("a", "b", "az");
ELWrapper el = ELBus.then("a", "b", ELBus.node("az"));
LiteFlowChainELBuilder.createChain().setChainId("elBuilder").setEL(el.toEL()).build();
LiteflowResponse response = flowExecutor.execute2Resp("elBuilder");
Assertions.assertTrue(response.isSuccess());

View File

@@ -190,7 +190,7 @@ public class FallbackELSolonTest extends BaseTest {
@Test
public void testWithElBuild(){
ELWrapper el = ELBus.then("a", "b", "az");
ELWrapper el = ELBus.then("a", "b", ELBus.node("az"));
LiteFlowChainELBuilder.createChain().setChainId("elBuilder").setEL(el.toEL()).build();
LiteflowResponse response = flowExecutor.execute2Resp("elBuilder");
Assertions.assertTrue(response.isSuccess());

View File

@@ -190,7 +190,7 @@ public class FallbackELSpringTest extends BaseTest {
@Test
public void testWithElBuild(){
ELWrapper el = ELBus.then("a", "b", "az");
ELWrapper el = ELBus.then("a", "b", ELBus.node("az"));
LiteFlowChainELBuilder.createChain().setChainId("elBuilder").setEL(el.toEL()).build();
LiteflowResponse response = flowExecutor.execute2Resp("elBuilder");
Assertions.assertTrue(response.isSuccess());