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

author
Ketan Gote
Jun 25, 2019
5726f06 · Jun 25, 2019

History

15 Commits
Mar 21, 2019
Mar 21, 2019
Jun 25, 2019
Mar 13, 2019

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!