Unable to load DRL or Spreadsheet files from directory structure dynamically using KieScanner API

Solution Unverified - Updated -

Issue

  • We are using file directory structure to store DRL files and excel templates, users can create/update/delete the rules in that location and rule engine should be able to execute latest rules only without changing Release ID of kie-jar in kie-container.

  • Do KiScanner have support for FileSystem or does it monitors only Maven repository created through Business-Central or WorkBench?

  • Will the below line overwrites the existing kmodule with new kiefilesystem or will append a new kmodule with new Release ID along with the existing KModule.

            kieServices.newKieBuilder( kfs ).buildAll() ;
  • If it does not overwrite the existing kmodule (on updating any rule .xls / .drl ), then how the rules will be managed i.e. how to know which rules need to be executed (old rule or the new modified rule ).

Environment

  • Red Hat JBoss BRMS
    • 6.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content