Skip to content

Drools Demo. Dynamic Drool file from DB, On the fly model declaration etc

Notifications You must be signed in to change notification settings

meta-magic/drools-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drools Demo

This demo focus on 3 key points

  • Dynamically loading Drools Rule file from DB in KSession
  • Dynamically creating model which are defined in Drools File using Declare
  • Get the runtime model defined in DRL and map the Incoming JSON structure to the Model

Prerequisite before you start application

Steps to run

  • Start spring-boot application
    • mvn spring-boot:run
  • Start angular application
    • ng serve

Open http://localhost:4200/ in browser, enter the required data and discount getting changed based on TYPE selection.

Screen Shot 2019-03-13 at 7 44 07 PM

Screen Shot 2019-03-13 at 7 44 16 PM

Screen Shot 2019-03-13 at 7 45 56 PM

Thanks Ketan

Enjoy!