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

Clone this repo:
  1. 58018dc [incubator-kie-issues#2091] Modify the `kogito-maven-plugin` to be a wrapper of the codegen library (#6452) by Gabriele Cardosi · 12 hours ago main
  2. 7132996 Consolidate field accessors: merge primitive types and reduce code complexity (#6460) by Toni Rikkola · 5 days ago
  3. d7d5971 Fix: handle non-DataSource fields in RuleUnitData to avoid CNFE (#2100) (#6457) by Alex Porcelli · 7 days ago
  4. b5bfe34 [incubator-kie-drools 6453] Unifying listeners for testing (#6454) by Paolo Bizzarri · 7 days ago
  5. 27d2d5e [incubator-kie-drools#6448] Decision Engine: Fixing NPE in DMNEventUtils (#6456) by ChinchuAjith · 8 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: