enhancement #I4OQIX 组件执行轨迹日志级别调整

This commit is contained in:
bryan31
2022-01-05 22:49:42 +08:00
parent 5e0aef9349
commit 1442dda987
29 changed files with 74 additions and 63 deletions

View File

@@ -54,10 +54,10 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
executor.setLiteflowConfig(config);
executor.init();
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
}
@@ -75,9 +75,9 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
executor.setLiteflowConfig(config);
executor.init();
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
}
/**
@@ -94,8 +94,8 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
executor.setLiteflowConfig(config);
executor.init();
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
LiteflowResponse<DefaultSlot> response = executor.execute2Resp("chain3", "arg");
Assert.assertEquals("a==>c==>f==>g", response.getSlot().printStep());
Assert.assertEquals("a==>c==>f==>g", response.getSlot().getExecuteStepStr());
}
}

View File

@@ -32,8 +32,8 @@ public class LocalRuleSourcePatternMatchSpringTest extends BaseTest {
@Test
public void testLocalJsonRuleSourcePatternMatch() {
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
}
}

View File

@@ -67,7 +67,7 @@ public class ZkNodeWithJsonSpringTest extends BaseTest {
public void test() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
Assert.assertTrue(response.isSuccess());
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
}
@AfterClass

View File

@@ -67,7 +67,7 @@ public class ZkNodeWithXmlSpringTest extends BaseTest {
public void test() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
Assert.assertTrue(response.isSuccess());
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
}
@AfterClass

View File

@@ -73,7 +73,7 @@ public class ZkNodeWithYmlSpringTest extends BaseTest {
public void test() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
Assert.assertTrue(response.isSuccess());
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
}
@AfterClass