Rules do not generate data. Rules can tell you whether existing data meets
conditions. Now if you create test data randomly, you can run a rule base
with this data, and at the end of the day, you will know whether you have a
data set matching a certain rule - or not. But I don't think that this
approach is the way you should go.
-W
On 29 March 2011 15:12, praveen p <p.praveenn(a)gmail.com> wrote:
Hi,
We need to make a decision on whether to use Jboss drools for our project,
please help me out on this. We are planning to develop a tool which
generates random test data based on some conditions. These conditions can be
something like age>18<60, 6 lettered string containing only first four
letters of an alphabet, Amount=Price*quantity. We are planning to store
these conditions in drools rule engine and generate data based on them. The
java application has to connect to drools, fetch the rule associated with a
property, get back to java layer and generate some output based on these
rules. Is this possible using drools? Please let me know the possibility and
provide some clarity on it.
Regards,
Praveen.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev