GithubHelp home page GithubHelp logo

moqui-kie's Introduction

Moqui KIE Tool Component

license release

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.

moqui-kie's People

Contributors

jonesde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.