<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andy Mei wrote:
<blockquote
 cite="mid:a6781a0c0906160601l2551c795hf429e5fc10c910d6@mail.gmail.com"
 type="cite">Hi all,<br>
  <br>
   Long time user of Drools (dated back in xml syntax days).  We are
looking to revamp our in house rules product which is based on Drools
3.x.  We have built a Swing thick client that provides similar
functionality as Guvnor such as rule editing, versioning, deployment
(with approval system).  One major feature we do have is rule
simulation.  We allow user to simulate rules and display results while
user save or seek approval of their rules before deploy to production
system.  The simulation feature allows user to run against production
or testing environment to ensure it provide correct results.  I wonder
if Guvnor has such extensibility interface build in which I could add
my own functionality such as simulation and result browsing?  Since
Guvnor is based on Seam and GWT (i think), I could probably fork the
source and tweak the UI, but I much rather code against an interface
supported by Drools.  <br>
  <br>
  Thoughts? TIA.<br>
  <br>
PS:  I am curious how are existing Drools user test their rules
currently?<br>
</blockquote>
Guvnor has a simple scenario tester in the QA section. that allows you
to run some rules against a set of data and asserting the expected
results.<br>
<br>
I'm currently working on a more complete framework, although just the
backend api at the moment, for simulation and testing. I hope to have
something usable in the next few days. I think the initial plan is to
map it to an DSL in MVEL and also to maybe do a mapping to a
spreadsheet metaphor. The simulation impl I'm doing will be very
complete and allow for testing of rules, workflow and event processing.
I'll blog about it once something is ready.<br>
<br>
Not sure how this will plug into guvnor, other than the uploading and
displaying of spreadsheets. One idea is to have a chronoscope time
line, which displays all the steps and when they are suppose to happen.
If you select a step, it shows the MVEL DSL fragment for that step
which can be edited - just simple text area. After that works, we can
probably work on various GUI editors for the step segments.<br>
<br>
Mark<br>
<br>
<a class="moz-txt-link-freetext" href="http://blog.athico.com">http://blog.athico.com</a> Drools Blog.<br>
<blockquote
 cite="mid:a6781a0c0906160601l2551c795hf429e5fc10c910d6@mail.gmail.com"
 type="cite"><br>
Andy<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>