|
@@ -45,7 +45,7 @@ func (t *TestRuleChainService) FindRuleChainById(tenantId, ruleChainId string) (
|
|
|
TenantId: "4jnh0r0hrl0c5a8mmecuoew200o32b8g",
|
|
|
Name: "test rule chain 1",
|
|
|
FirstNodeId: "node1",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
IsRoot: true,
|
|
|
Config: "",
|
|
|
ChainId: "chain id 1",
|
|
@@ -59,7 +59,7 @@ func (t *TestRuleChainService) FindRuleNodeById(tenantId, ruleNodeId string) (*R
|
|
|
RuleChainId: "chain id 1",
|
|
|
Type: "MsgTypeFilterNode",
|
|
|
Name: "filternode1",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "",
|
|
|
RuleNodeId: "node1",
|
|
|
}, nil
|
|
@@ -68,7 +68,7 @@ func (t *TestRuleChainService) FindRuleNodeById(tenantId, ruleNodeId string) (*R
|
|
|
RuleChainId: "chain id 2",
|
|
|
Type: "MsgTypeFilterNode",
|
|
|
Name: "filternode2",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "",
|
|
|
RuleNodeId: "node2",
|
|
|
}, nil
|
|
@@ -77,7 +77,7 @@ func (t *TestRuleChainService) FindRuleNodeById(tenantId, ruleNodeId string) (*R
|
|
|
RuleChainId: "chain id 2",
|
|
|
Type: "RestApiRequestNode",
|
|
|
Name: "rest api",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "",
|
|
|
RuleNodeId: "node3",
|
|
|
}, nil
|
|
@@ -91,7 +91,7 @@ func (t *TestRuleChainService) GetRuleChainNodes(tenantId, ruleChainId string) (
|
|
|
RuleChainId: "chain id 1",
|
|
|
Type: "MsgTypeFilterNode",
|
|
|
Name: "filternode",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "",
|
|
|
RuleNodeId: "node1",
|
|
|
},
|
|
@@ -99,7 +99,7 @@ func (t *TestRuleChainService) GetRuleChainNodes(tenantId, ruleChainId string) (
|
|
|
RuleChainId: "chain id 2",
|
|
|
Type: "MsgTypeFilterNode",
|
|
|
Name: "filternode",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "",
|
|
|
RuleNodeId: "node2",
|
|
|
},
|
|
@@ -107,7 +107,7 @@ func (t *TestRuleChainService) GetRuleChainNodes(tenantId, ruleChainId string) (
|
|
|
RuleChainId: "chain id 2",
|
|
|
Type: "RestApiRequestNode",
|
|
|
Name: "rest api",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
Config: "{\"url\":\"http://localhost/api/test\",\"headers\":{},\"retry\":3,\"method\":\"post\",\"time_out\":5,\"retry_wait\":1}",
|
|
|
RuleNodeId: "node3",
|
|
|
},
|
|
@@ -120,7 +120,7 @@ func (t *TestRuleChainService) FindRuleChains(tenantId string) ([]*RuleChain, er
|
|
|
TenantId: "4jnh0r0hrl0c5a8mmecuoew200o32b8g",
|
|
|
Name: "test rule chain 1",
|
|
|
FirstNodeId: "node1",
|
|
|
- IsDebug: true,
|
|
|
+ IsDebug: false,
|
|
|
IsRoot: true,
|
|
|
Config: "",
|
|
|
ChainId: "chain id 1",
|