https://github.com/jonashackt/spring-boot-starter-drools
Spring Boot Starter for booting fast with the JBoss Business Rules Engine Drools Expert and KIE Components
https://github.com/jonashackt/spring-boot-starter-drools
Last synced: about 1 year ago
JSON representation
Spring Boot Starter for booting fast with the JBoss Business Rules Engine Drools Expert and KIE Components
- Host: GitHub
- URL: https://github.com/jonashackt/spring-boot-starter-drools
- Owner: jonashackt
- License: mit
- Created: 2015-05-31T08:40:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T21:50:54.000Z (over 2 years ago)
- Last Synced: 2025-02-28T13:47:08.029Z (over 1 year ago)
- Language: Java
- Size: 164 KB
- Stars: 49
- Watchers: 9
- Forks: 36
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring-boot-starter-drools
[](https://travis-ci.org/jonashackt/spring-boot-starter-drools)
[](https://coveralls.io/r/jonashackt/spring-boot-starter-drools)
[](https://jitpack.io/#jonashackt/spring-boot-starter-drools)
[](https://jitpack.io/#jonashackt/spring-boot-starter-drools)
Spring Boot Starter for booting fast with the JBoss Business Rules Engine Drools Expert and KIE Components
### Howto
See the Testclass for how to use the drools-api (it's basicly the KieSession you need to interact with) or have a look at the [springdrools example project](https://github.com/jonashackt/springdrools), to see how to use the starter in your project.
There´s no official maven-repo-release, so you can use [jitpack]
Step 1. Add the JitPack repository to your build file
```xml
jitpack.io
https://jitpack.io
```
Step 2. Add the dependency in the form (change version to actual commit-id you can lookup [here](https://jitpack.io/#jonashackt/spring-boot-starter-drools))
```xml
com.github.User
spring-boot-starter-drools
225907afae
```
### Improve
* Error handling of Rules-Editing is bad (getting Cast-Exceptions, when Rules aren´t correctly defined - which happens 1000 times while developing...)
### Drools Eclipse/STS tooling
* if you´re using Spring Tool Suite, be shure you have 3.6.4 or higher, otherwise you get an installation error with drools described on [stackoverflow]
* install drools with [droolsupdatesite] for 6.2.0.Final or if the version is old, get the newest from [droolsdownload]:

[jitpack]:https://jitpack.io/
[stackoverflow]:http://stackoverflow.com/questions/28847975/eclipse-missing-requirement-e4-rcp-patch-when-installing-properties-editor
[droolsupdatesite]:http://download.jboss.org/drools/release/6.2.0.Final/org.drools.updatesite/
[droolsdownload]:http://www.drools.org/download/download.html