Skip to content

jetlinks/rule-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

323 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

规则引擎

基于流程的流式规则引擎。

Maven Central Maven metadata URL Build Status codecov

规则模型

//规则模型 RuleModel{ events:[ RuleLink ] # 事件连接点,用于自定义规则事件的处理规则 nodes:[ RuleNodeModel ] # 所有节点信息,包含事件节点 } //节点模型 RuleNodeModel{ executor: "" # 节点执行器标识 configuration: { Map } # 节点配置 events:[ RuleLink ] # 事件连接点,用于自定义节点事件的处理规则 inputs:[ RuleLink ] # 输入连接点 outputs:[ RuleLink ] # 输出连接点 } //连接点,将2个规则节点关联 RuleLink{ type: "" # 类型,为事件连接点时类型则为事件类型 condition: Condition # 连接条件 source: RuleNodeModel # 连接节点 target: RuleNodeModel # 被连接节点 } //条件 Condition{ type: "" # 条件类型。如: expression configuration: { Map } # 条件配置 } 

About

基于流程,事件驱动,可拓展,响应式,轻量级的规则引擎。

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages