All Projects → hongwen1993 → Fast Drools Spring Boot Starter

hongwen1993 / Fast Drools Spring Boot Starter

Easy drools,version 8.0.7

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Fast Drools Spring Boot Starter

Cloude
基于spring cloud的分布式系统架构。提供整套的微服务组件,包括服务发现、服务治理、链路追踪、服务监控等
Stars: ✭ 389 (-9.95%)
Mutual labels:  spring-boot
Spring Security Tutorial
Spring Security Tutorial takes you to learn Spring Security step by step with a large number of samples. Spring Security Tutorial 是一本关于 Spring Security 学习的开源书。利用业余时间写了本书,图文并茂,用大量实例带你一步一步走进 Spring Security 的世界。
Stars: ✭ 409 (-5.32%)
Mutual labels:  spring-boot
Lavalink
Standalone audio sending node based on Lavaplayer.
Stars: ✭ 420 (-2.78%)
Mutual labels:  spring-boot
Springbootblog
一个基于SpringBoot开发的个人博客。集成了:博客前台,后台管理。
Stars: ✭ 392 (-9.26%)
Mutual labels:  spring-boot
Spring Boot Tutorial
Spring Boot Tutorial takes you to learn Spring Boot step by step with a large number of samples.Spring Boot Tutorial 是一本关于 Spring Boot 学习的开源书。用大量实例带你一步一步走进 Spring Boot 的世界。
Stars: ✭ 399 (-7.64%)
Mutual labels:  spring-boot
Matecloud
🔥MateCloud是一款基于Spring Cloud Alibaba的微服务架构。目前已经整合Spring Cloud Alibaba、Spring Security Oauth2、Feign、Dubbo、JetCache、RocketMQ等服务套件,为您的开发保驾护航
Stars: ✭ 412 (-4.63%)
Mutual labels:  spring-boot
Kafka Sprout
🚀 Web GUI for Kafka Cluster Management
Stars: ✭ 388 (-10.19%)
Mutual labels:  spring-boot
Intranet app manager
应用内网发布平台| 类似蒲公英|fir|iOS OTA (Over-the-Air) | APP publish website like fir.im | 适用于企业 iOS & Android 内网发布测试使用,方便管理和分发 APP 包
Stars: ✭ 425 (-1.62%)
Mutual labels:  spring-boot
Jhipster
DEPRECATED: use https://github.com/jhipster/jhipster-bom instead
Stars: ✭ 399 (-7.64%)
Mutual labels:  spring-boot
Watchdog Framework
🍻 「停止维护」基于SpringBoot+Shiro+Mybatis等开发的轻量级管理系统快速开发脚手架
Stars: ✭ 421 (-2.55%)
Mutual labels:  spring-boot
Spring Boot Angular2
spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
Stars: ✭ 396 (-8.33%)
Mutual labels:  spring-boot
Spring Boot In Action
Spring Boot 系列实战合集
Stars: ✭ 4,153 (+861.34%)
Mutual labels:  spring-boot
Tut Spring Boot Kotlin
Building web applications with Spring Boot and Kotlin :: Learn how to easily build and test web applications with Spring, Kotlin, Junit 5 and JPA
Stars: ✭ 414 (-4.17%)
Mutual labels:  spring-boot
Ms Backend Boilerplates
Boilerplate for Your Server Side(Backend) Application, Java | Spring(Boot, Cloud) | Node.js(Express, Koa, Egg) | Go | Python | DevOps 💫 服务端项目模板
Stars: ✭ 394 (-8.8%)
Mutual labels:  spring-boot
Erupt
🚀 纯 Java 注解,快速开发 Admin 管理后台。不生成任何代码、零前端代码、零 CURD、自动建表、注解式API,支持所有主流数据库,支持自定义页面,支持多数据源,提供二十几类业务组件,十几种展示形式,支持逻辑删除,动态定时任务,前端后端分离等。核心技术:Spring Boot、JPA、Reflect、TypeScript、NG-ZORRO等。 开源不易,记得右上角点个star鼓励作者~
Stars: ✭ 421 (-2.55%)
Mutual labels:  spring-boot
Newbee Mall Api
新蜂商城前后端分离版本-后端API源码
Stars: ✭ 384 (-11.11%)
Mutual labels:  spring-boot
Admin
基于Spring Boot/Spring Security/thymeleaf的通用后台管理系统
Stars: ✭ 411 (-4.86%)
Mutual labels:  spring-boot
Cookbook
🎉🎉🎉JAVA高级架构师技术栈==任何技能通过 “刻意练习” 都可以达到融会贯通的境界,就像烹饪一样,这里有一份JAVA开发技术手册,只需要增加自己练习的次数。🏃🏃🏃
Stars: ✭ 428 (-0.93%)
Mutual labels:  spring-boot
One
基于Spring Boot和Vue2开发的前后端分离的后台管理系统
Stars: ✭ 426 (-1.39%)
Mutual labels:  spring-boot
Shop
spring cloud最佳实践项目实例,使用了spring cloud全家桶,TCC事务管理,EDA事务最终一致性等技术的下单示例
Stars: ✭ 418 (-3.24%)
Mutual labels:  spring-boot

Fast Drools 中文

FastDroolsLogo

Build Status LICENSE Language Average time to resolve an issue Percentage of issues still open

Introduction

fast-drools-spring-boot-starter integrates Drools with Springboot providing a more efficient, sophisticated model for rule configuration and management. It is capable of updating rules dynamically with regards to hot deployment.

Contact

Feel free to ask me any questions with the contacts below.

FAQ

Usage

  • 1)Inject the following dependency in pom.xmlupdate 2021/01/04):

    <dependency>
        <groupId>com.github.hongwen1993</groupId>
        <artifactId>fast-drools-spring-boot-starter</artifactId>
        <version>8.0.7</version>
    </dependency>
    
  • 2)Designate path to drools rule file in the configruation file

    # specify a rule file folder that will automatically scan all rule files, include  decision tables, and CSV files
    # support classpath resource path,如:classpath:drools/**/*.drl
    spring.drools.path = C:\\DRL\\
    # set up mode with options "stream" or "cloud"
    spring.drools.mode = stream
    # regulates update cycle (unit in seconds, default to 30s)
    spring.drools.update = 10
    # monitoring rules (default to on)
    spring.drools.listener = on
    # close drl file auto update(not recommend)
    spring.drools.auto-update = off
    
  • 3)Introduce KieTemplate with annotation

    @Autowired
    private KieTemplate kieTemplate;
    
  • 4)Session can be acquired with getKieSession(). Supporting multiple rule files at the same time as well as decisions tables.

    KieSession kieSession = kieTemplate.getKieSession("rule1.drl", "rule2.drl");
    ......
    
  • 5)Results

    2020-09-10 16:51:08.344 DEBUG ===>>开始更新规则文件
    2020-09-10 16:51:09.730 DEBUG ===>>插入对象:[fact 0:1:1571707504:1072693248:1:DEFAULT:NON_TRAIT:java.lang.Double:1.0];操作规则:null
    2020-09-10 16:51:09.748 DEBUG ===>>匹配的规则:[Rule name=规则1-1, agendaGroup=MAIN, salience=0, no-loop=false]
    2020-09-10 16:51:09.761 DEBUG ===>>开始执行Java代码块,匹配规则:[Rule name=规则1-1, agendaGroup=MAIN, salience=0, no-loop=false],评估对象:[[fact 0:1:1571707504:1072693248:1:DEFAULT:NON_TRAIT:java.lang.Double:1.0]]
    .... 执行过程忽略 ....
    2020-09-10 16:51:09.765 DEBUG ===>>结束执行Java代码块,匹配规则:[Rule name=规则1-1, agendaGroup=MAIN, salience=0, no-loop=false],评估对象:[[fact 0:1:1571707504:1072693248:1:DEFAULT:NON_TRAIT:java.lang.Double:1.0]]
    

(KieTemplate 下封装了许多 Drools 的功能,许多便捷的 API 等你来发现!)

Available Features

  • [x] Quick start with Drools-Springboot integration without having to go through the complex configuration process in kmodule.xml
  • [x] Specify filenames to perform evaluation rules for more intuitive process analysis.
  • [x] Dynamically loads the rules file
  • [x] Group rule file
  • [x] NIO file mapping for faster file reads and writes
  • [x] Use caching to improve rule evaluation
  • [x] Support for various path formats
  • [x] Supports rule table files in XLS and XLSX formats
  • [x] Logging monitors the dynamics of rules and evaluation objects in the process
  • [ ] Extreme execution speed and performance, and customizable

Features in Progress

  • Rule execution monitoring
  • Distributed based assessment and decision making
  • Rule execution success failure rate statistics
  • GUI control for rule files
  • GUI control for decision tables
  • Storage of distributed rule files

License

Apache 2.0

User List

If you are using fast-drools and think that it helps you or want do some contributions to it, please call me to let us know just for promotional purposes only.

## Stargazers over time

Stargazers over time

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].