<div dir="ltr"><font face="arial, helvetica, sans-serif" color="#000000">&gt;&nbsp;...build some rule lifecycle management into the workbench itself</font><div><font face="arial, helvetica, sans-serif" color="#000000"><br></font></div>
<div><font face="arial, helvetica, sans-serif" color="#000000">This is on our road map.</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 March 2014 15:08, Joe White <span dir="ltr">&lt;<a href="mailto:Joe.White@recondotech.com" target="_blank">Joe.White@recondotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">On the topic of #7.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">We are just adopting the Drools 6.x setup to achieve the goal you mention of business users creating and deploying business rules on their own.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The challenge is allowing your users to deploy in a targeted way since the drools workbench (DWB) doesn&rsquo;t have the concept of a deployment scope (dev, stage,
 prod). Here is my current thinking on managing lifecycle in 6.x:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal" style="text-indent:.25in"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Application Setup:<u></u><u></u></span></b></p>
<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Create separate maven repositories for SNAPSHOT vs fixed version &nbsp;deployments and point your installed applications to those different repositories.
<u></u><u></u></span></p>
<p style="margin-left:1.0in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1f497d"><span>o<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">KIEScanners in test applications will point to snapshot versions.
<u></u><u></u></span></p>
<p style="margin-left:1.0in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#1f497d"><span>o<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">KIEScanners in prod will point to version ranges like
</span><span style="font-size:10.0pt;font-family:Consolas">[1.3.0, 1.4.999]</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Developers design and create package structure. Very important since a new Project in the DWB will require a software release<u></u><u></u></span></p>

<p><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Developers design and create decision tables or guided rules for business users.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal" style="margin-left:.25in"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Business User SDLC flow:<u></u><u></u></span></b></p>
<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">User creates new rules in decision tables
<u></u><u></u></span></p>
<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">User validates new rules and runs analysis on rules in the DWB<u></u><u></u></span></p>
<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">When a user wants to test their rules they create a snapshot from the DWB and deploy it . Jar gets deployed to only the snapshot repo<u></u><u></u></span></p>

<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">User tests their new rules in the stage system (auto picked up from KIEScanner)<u></u><u></u></span></p>

<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Once they are happy they remove the SNAPSHOT designation, increment version, and deploy to prod (all in DWB)<u></u><u></u></span></p>

<p style="margin-left:.75in">
<u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><u></u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Users tests their new rules in prod (auto picked up from KIEScanner)<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">A relatively sophisticated business user should be able to manage versioning in the DWB with a little training. I&rsquo;m looking for other options as well if people
 have any. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Once we are successful with this I suspect we may try and build some rule lifecycle management into the workbench itself and contribute it back. But it is a
 longer term project. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b>On Behalf Of </b>Michael Anstis<br>
<b>Sent:</b> Wednesday, March 05, 2014 1:27 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Some basic questions/assumptions on Drools Work-bench/Guvnor<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p>6) Incorrect (well, almost.. read on). &quot;Real time&quot; would imply instant, zero latency, whereas for many use cases &quot;close to real time&quot; is often sufficient. If you read about KieScanner you will find you can have your application poll for updates to JARs*
 at a frequency you so desire.<u></u><u></u></p>
<p>(*) There are certain caveats that relate to standard maven best practice; for example if your JAR has a static version number (e.g. 1.0.0) you should not be changing its content (wheras a -SNAPSHOT is expected to change).<u></u><u></u></p>

<p>7) Drools itself does not impose any SDLC; you can use whatever you wish. Others who have used Drools in their applications may detail their experiences.
<u></u><u></u></p>
<p>Sent on the move<u></u><u></u></p>
<div>
<p class="MsoNormal">On 5 Mar 2014 19:58, &quot;arvidj&quot; &lt;<a href="mailto:arvidj@visi.com" target="_blank">arvidj@visi.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Sorry for follow-on basic questions. I am starting from scratch and therefore<br>
do not have any Drools experience.<br>
<br>
Already answered ...<br>
<br>
1) Drools workbench/Guvnor is not a replacement for Eclipse.* - Correct*<br>
2) Geeks like me develop the applications in Eclipse* - Correct*<br>
3) Drools workbench will be mainly used by the Rule authors (Business<br>
Analysts etc) once I set it up for them.* - Correct*<br>
4) The anslysts will author the rules and test it in the workbench.* -<br>
Correct*<br>
5) They will build the DRLs into a jar and I include it as a dependency in<br>
my POM.xml.* &nbsp;- Correct*<br>
<br>
Additional questions because I am new to Drools<br>
<br>
6) Based on the answer to (5) the concept of &quot;real time rule replacement&quot;<br>
does not exist. After the rules jar has been put into the Maven repository I<br>
need to build my application and deploy it ... i.e. stop the currently<br>
running application, remove it, install the new application and restart it.<br>
<br>
7) If someone can point me at high level documentation related to &quot;the<br>
complete Drools 6.0 rule software development lifecycle&quot; ... i.e. from rule<br>
creation to actually executing in a production environment ... I would<br>
appreciate it.<br>
<br>
I have been asked to do a Proof of Concept. There is the impression I will<br>
be able to prove that &quot;the business will be able to create their own rules<br>
and deploy them into production without any IT intervention&quot;. I do not<br>
believe this to be the case ... best SDLC practices not withstanding ... but<br>
have not been able to find a Drools SDLC picture that shows all of the steps<br>
necessary.<br>
<br>
Thanks,<br>
Arvid<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Some-basic-questions-assumptions-on-Drools-Work-bench-Guvnor-tp4028509p4028546.html" target="_blank">
http://drools.46999.n3.nabble.com/Some-basic-questions-assumptions-on-Drools-Work-bench-Guvnor-tp4028509p4028546.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><u></u><u></u></p>
</blockquote>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>