https://github.com/moqui/moqui-kie
Moqui tool component for KIE for Drools, jBPM, etc
https://github.com/moqui/moqui-kie
drools kie moqui moqui-framework
Last synced: about 1 year ago
JSON representation
Moqui tool component for KIE for Drools, jBPM, etc
- Host: GitHub
- URL: https://github.com/moqui/moqui-kie
- Owner: moqui
- License: other
- Created: 2016-06-06T23:10:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-21T22:27:51.000Z (over 2 years ago)
- Last Synced: 2024-03-25T23:57:31.193Z (over 2 years ago)
- Topics: drools, kie, moqui, moqui-framework
- Language: Groovy
- Size: 34.2 KB
- Stars: 9
- Watchers: 5
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Moqui KIE Tool Component
[](https://github.com/moqui/moqui-kie/blob/master/LICENSE.md)
[](https://github.com/moqui/moqui-kie/releases)
Moqui tool component for KIE tools including Drools, jBPM, etc.
To install run (with moqui-framework):
$ ./gradlew getComponent -Pcomponent=moqui-kie
This will add the component to the Moqui runtime/component directory.
The KIE, Drools, and dependent JAR files are added to the lib directory when the build is run for this component, which is
designed to be done from the Moqui build (ie from the moqui root directory) along with all other component builds.
To use just install this component. The configuration for the ToolFactory is already in place in the
MoquiConf.xml included in this component and will be merged with the main configuration at runtime.
To use KIE through the ToolFactory do something like this example from the Mantle USL PriceServices.get#ProductPrice service:
if (ec.factory.getToolFactory("KIE") != null)
ec.getTool("KIE", KieToolFactory.class).getStatelessKieSession("ProductPriceKS").execute([])
See also the mantle-usl/kie directory for configuration of a rules module and some actual rules and a decision table spreadsheet.