-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ff1e45
commit bb2bf48
Showing
10 changed files
with
227 additions
and
277 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ule/service/entity/TestNopRuleDefinitionBizModel/testDecisionMatrix/output/response.json5
Large diffs are not rendered by default.
Oops, something went wrong.
63 changes: 4 additions & 59 deletions
63
...le/service/entity/TestNopRuleDefinitionBizModel/testDecisionMatrix/output/response2.json5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,6 @@ | ||
{ | ||
"data": { | ||
"logMessages": [ | ||
{ | ||
"logTime": "@var:rule-log-time", | ||
"message": "MISMATCH", | ||
"ruleNodeId": "A3", | ||
"ruleNodeLabel": "<20" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_1", | ||
"message": "MISMATCH", | ||
"ruleNodeId": "A5", | ||
"ruleNodeLabel": "<30" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_2", | ||
"message": "MATCH", | ||
"ruleNodeId": "A6", | ||
"ruleNodeLabel": ">=30" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_3", | ||
"message": "MATCH", | ||
"ruleNodeId": "B6", | ||
"ruleNodeLabel": "-" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_4", | ||
"message": "MISMATCH", | ||
"ruleNodeId": "C1", | ||
"ruleNodeLabel": "有房" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_5", | ||
"message": "MATCH", | ||
"ruleNodeId": "F1", | ||
"ruleNodeLabel": "无房" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_6", | ||
"message": "MISMATCH", | ||
"ruleNodeId": "F2", | ||
"ruleNodeLabel": "已婚" | ||
}, | ||
{ | ||
"logTime": "@var:rule-log-time_7", | ||
"message": "MATCH", | ||
"ruleNodeId": "G2", | ||
"ruleNodeLabel": "未婚" | ||
} | ||
], | ||
"outputs": { | ||
"result": 16 | ||
}, | ||
"ruleMatch": true, | ||
"ruleName": "testMatrix", | ||
"ruleVersion": 1 | ||
}, | ||
"status": 0 | ||
"bizFatal": false, | ||
"code": "nop.err.rule.output-var-not-allow-empty", | ||
"msg": "输出变量不允许为空:name=type,displayName=类型", | ||
"status": -1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
...ice/entity/TestNopRuleDefinitionBizModel/testImport/output/tables/nop_rule_definition.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
_chgType,RULE_ID,RULE_NAME,RULE_VERSION,DISPLAY_NAME,RULE_GROUP,RULE_TYPE,DESCRIPTION,MODEL_TEXT,STATUS,VERSION,CREATED_BY,CREATE_TIME,UPDATED_BY,UPDATE_TIME,REMARK | ||
A,@var:NopRuleDefinition@ruleId,test,1,Test Tree,default,TREE,,"<rule displayName=""测试规则"" x:schema=""/nop/schema/rule.xdef"" xmlns:x=""/nop/schema/xdsl.xdef""> | ||
<inputs> | ||
<input displayName=""季度"" mandatory=""true"" name=""season"" type=""String"" ext:level=""0""> | ||
<schema/> | ||
</input> | ||
<input displayName=""客人数"" mandatory=""true"" name=""guestCount"" type=""Integer"" ext:level=""0""> | ||
<schema/> | ||
</input> | ||
</inputs> | ||
<outputs> | ||
<output displayName=""食物"" mandatory=""true"" name=""dish"" type=""String"" ext:level=""0""> | ||
<schema/> | ||
</output> | ||
</outputs> | ||
<decisionMatrix> | ||
<colDecider/> | ||
<rowDecider/> | ||
</decisionMatrix> | ||
<input displayName=""季度"" mandatory=""true"" name=""season"" type=""String"" ext:level=""0""> | ||
<schema/> | ||
</input> | ||
<input displayName=""客人数"" mandatory=""true"" name=""guestCount"" type=""Integer"" ext:level=""0""> | ||
<schema/> | ||
</input> | ||
<output displayName=""食物"" mandatory=""true"" name=""dish"" type=""String"" ext:level=""0""> | ||
<schema/> | ||
</output> | ||
</rule>",1,0,autotest-ref,*,autotest-ref,*, |
Oops, something went wrong.