浏览代码

更新调试模式

lijian 4 年之前
父节点
当前提交
69a866ebb3
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      pkg/ruleEngine/rule_chain_service.go

+ 8 - 8
pkg/ruleEngine/rule_chain_service.go

@@ -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",