Good idea. However, having a rule engine like this with 170 rules are going to be not so good. Spring provides a way to create a list of all beans implementing a specific interface. That will make adding rules a lot easier. Also - suggest adding rule groups. So outcome of on rule group with go to the next rule group. Pretty much like Drools is using. Works very well!
GitHub Link to download the source Code :
=================================
github.com/sumitMultani/spring-boot-rule-engine-demo.git
Hello sir, I want help to build a rule engine with ast
Good idea. However, having a rule engine like this with 170 rules are going to be not so good.
Spring provides a way to create a list of all beans implementing a specific interface. That will make adding rules a lot easier.
Also - suggest adding rule groups. So outcome of on rule group with go to the next rule group. Pretty much like Drools is using. Works very well!