Drools is a rule engine, DMN engine and complex event processing (CEP) engine for Java.

Clone this repo:
  1. b7549f8 Removed uses of getHandleFactory (#6444) by Paolo Bizzarri · 2 days ago main
  2. dade33c [incubator-kie-drools-6420] modify or update in DRL causing rules wit… (#6430) by Toshiya Kobayashi · 2 days ago
  3. fa5d1b8 [incubator-kie-drools-6410] Multiple rules in an activation group can… (#6419) by Toshiya Kobayashi · 2 days ago
  4. a811f3e [incubator-kie-issues#2083] Fix correct overrides of expressionLanguage (#6443) by Gabriele Cardosi · 3 days ago
  5. 85ae603 [NO ISSUE] Remove getknowledgebase usages (#6440) by Paolo Bizzarri · 3 days ago

An open source rule engine, DMN engine and complex event processing (CEP) engine for Java™ and the JVM Platform.

Drools is a business rule management system with a forward-chaining and backward-chaining inference based rules engine, allowing fast and reliable evaluation of business rules and complex event processing. A rule engine is also a fundamental building block to create an expert system which, in artificial intelligence, is a computer system that emulates the decision-making ability of a human expert.

Be sure to check out the Apache KIE project website and documentation!

Test execution tip

Some test are meant to be executed on machine with en_US locale. A specific profile is provided to execute them on machines with different locale, namely test-en. There are two ways to activate such profile during maven build:

  1. -Ptest-en (profile-id based)
  2. -DTestEn (property based)

The following two commands will execute tests on machine with locale different than en_US:

  1. make test -Ptest-en
  2. make test -DTestEn

Troubleshooting

If the build fails with UnmappableCharacterException, set -Dfile.encoding=UTF-8 for MAVEN_OPTS (not as an argument of mvn command). Then run mvn.

example for Windows:

set MAVEN_OPTS=-Dfile.encoding=UTF-8
mvn clean install

Documenting tips

UML diagrams have been used for architectural and design documentation. Those diagrams are in “.puml” format and have been created using the PlantUML tool. Plugins exists to use it in different IDE: