https://github.com/meta-magic/drools-demo
Drools Demo. Dynamic Drool file from DB, On the fly model declaration etc
https://github.com/meta-magic/drools-demo
amexio angular6 drools drools-example drools-rule-engine drools-springboot jdo rule-engine
Last synced: 5 months ago
JSON representation
Drools Demo. Dynamic Drool file from DB, On the fly model declaration etc
- Host: GitHub
- URL: https://github.com/meta-magic/drools-demo
- Owner: meta-magic
- Created: 2019-03-13T12:41:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T13:56:26.000Z (about 2 years ago)
- Last Synced: 2025-04-05T01:11:14.516Z (6 months ago)
- Topics: amexio, angular6, drools, drools-example, drools-rule-engine, drools-springboot, jdo, rule-engine
- Language: Java
- Homepage:
- Size: 174 KB
- Stars: 5
- Watchers: 2
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drools Demo
This demo focus on 3 key points
- Dynamically loading Drools [Rule file](https://github.com/meta-magic/drools-demo/blob/master/DB/droolsrule.txt) from DB in KSession
- Dynamically creating model which are defined in Drools File using [Declare](https://access.redhat.com/documentation/en-us/red_hat_jboss_bpm_suite/6.2/html/development_guide/sect-type_declaration)
- Get the runtime model defined in DRL and map the Incoming JSON structure to the Model## Prerequisite before you start application
- Run [create](https://github.com/meta-magic/drools-demo/blob/master/DB/create-script.sql) and [load data](https://github.com/meta-magic/drools-demo/blob/master/DB/data.csv) before your proceed.## Steps to run
- Start spring-boot application
- mvn spring-boot:run
- Start angular application
- ng serveOpen http://localhost:4200/ in browser, enter the required data and discount getting changed based on TYPE selection.
Thanks
KetanEnjoy!