{"id":19595431,"url":"https://github.com/meta-magic/drools-demo","last_synced_at":"2025-04-27T15:34:33.599Z","repository":{"id":37059135,"uuid":"175418599","full_name":"meta-magic/drools-demo","owner":"meta-magic","description":"Drools Demo.  Dynamic Drool file from DB, On the fly model declaration etc","archived":false,"fork":false,"pushed_at":"2023-09-12T13:56:26.000Z","size":178,"stargazers_count":5,"open_issues_count":3,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:11:14.516Z","etag":null,"topics":["amexio","angular6","drools","drools-example","drools-rule-engine","drools-springboot","jdo","rule-engine"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meta-magic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-13T12:41:18.000Z","updated_at":"2024-08-09T07:28:53.000Z","dependencies_parsed_at":"2022-08-18T01:06:19.878Z","dependency_job_id":null,"html_url":"https://github.com/meta-magic/drools-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2Fdrools-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2Fdrools-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2Fdrools-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meta-magic%2Fdrools-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meta-magic","download_url":"https://codeload.github.com/meta-magic/drools-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162984,"owners_count":21545857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amexio","angular6","drools","drools-example","drools-rule-engine","drools-springboot","jdo","rule-engine"],"created_at":"2024-11-11T08:46:58.290Z","updated_at":"2025-04-27T15:34:28.544Z","avatar_url":"https://github.com/meta-magic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drools Demo\n\nThis demo focus on 3 key points\n- Dynamically loading Drools [Rule file](https://github.com/meta-magic/drools-demo/blob/master/DB/droolsrule.txt) from DB in KSession\n- 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)\n- Get the runtime model defined in DRL and map the Incoming JSON structure to the Model\n\n## Prerequisite before you start application\n- 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.\n\n## Steps to run\n- Start spring-boot application\n  - mvn spring-boot:run\n- Start angular application\n  - ng serve\n\n\nOpen http://localhost:4200/ in browser, enter the required data and discount getting changed based on TYPE selection.\n\n\u003cimg width=\"1673\" alt=\"Screen Shot 2019-03-13 at 7 44 07 PM\" src=\"https://user-images.githubusercontent.com/23295769/54285915-dc1a5600-45c8-11e9-9abe-1bb66f65de51.png\"\u003e\n\n\u003cimg width=\"1677\" alt=\"Screen Shot 2019-03-13 at 7 44 16 PM\" src=\"https://user-images.githubusercontent.com/23295769/54285932-e76d8180-45c8-11e9-84dd-3ecbb71c0a85.png\"\u003e\n\n\u003cimg width=\"1672\" alt=\"Screen Shot 2019-03-13 at 7 45 56 PM\" src=\"https://user-images.githubusercontent.com/23295769/54285940-e9cfdb80-45c8-11e9-9974-e77194d7e89e.png\"\u003e\n\n\nThanks\nKetan\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-magic%2Fdrools-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeta-magic%2Fdrools-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeta-magic%2Fdrools-demo/lists"}