For re-running an application as it was released some time  ago you&#39;ll need not only the rules but also Java classes and, possibly, other files, e.g., data tables. The Java stuff is bound to be more than just the data model as you might have it in Guvnor.<br>
<br>So, full Configuration Management usually has to deliver more that Guvnor (as far as I know) is ready to provide - or else it would compete with svn, git and whatnot.<br><br>A term like &quot;snapshot&quot; is usually different from &quot;release&quot;, and the use case presented by our banker is based on releases. Otherwise they&#39;d be in trouble.<br>
<br>-W<br><br><div class="gmail_quote">On 26 December 2011 18:48, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
@Ansgar, it looks like you are doing in a database the work that it&#39;s<br>
being done by Guvnor, that keeps a lot of meta data for all the<br>
snapshots and it&#39;s ready to keep the snapshots forever, exposing them<br>
via a service, so you applications can get the right version. In the<br>
same way that you mention just knowing the ID of the snapshot that<br>
it&#39;s required.<br>
Using Guvnor, there is no need to remove snapshots, each snapshot will<br>
only contain the rules associated with it and not a complete<br>
application.<br>
<div class="HOEnZb"><div class="h5">Cheers<br>
<br>
2011/12/26 Ansgar Konermann &lt;<a href="mailto:ansgar.konermann@googlemail.com">ansgar.konermann@googlemail.com</a>&gt;:<br>
&gt;<br>
&gt; Am 26.12.2011 18:16 schrieb &quot;Mauricio Salatino&quot; &lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Did you try Guvnor? it already store the snapshots version. So you can<br>
&gt;&gt; get the right snapshot for running your rules against an old Loan<br>
&gt;&gt; again.<br>
&gt;&gt;<br>
&gt;&gt; @Ansgar: why do you recommend to not use snapshots?<br>
&gt;<br>
&gt; They change over time, making it more complex to track down the correct<br>
&gt; version.<br>
&gt;<br>
&gt; I&#39;d preferr a stable loan application &lt;=&gt; rule set association. OTOH, it is<br>
&gt; probably *possible* to retrieve the correct snapshot version for a loan<br>
&gt; application if additional metadata is available. It&#39;s just more complicated:<br>
&gt; metadata needs to be available and sufficient to determine exactly *one*<br>
&gt; snapshot, snapshot needs to be available (not sure if Guvnor stores all<br>
&gt; snapshots forever or just a few).<br>
&gt;<br>
&gt; For releases, there is *one* figure you need to know to reference a certain<br>
&gt; ruleset (the version number). Releases are normally kept forever. Or, at<br>
&gt; least in my environment, deleting releases is done with extra extra care -if<br>
&gt; at all-, whereas snapshots older than a week or so get removed automatically<br>
&gt; on a daily basis.<br>
&gt;<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Ansgar<br>
&gt;<br>
&gt;&gt; Cheers<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2011/12/26 Ansgar Konermann &lt;<a href="mailto:ansgar.konermann@googlemail.com">ansgar.konermann@googlemail.com</a>&gt;:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Am 26.12.2011 18:08 schrieb &quot;Celso Junior&quot; &lt;<a href="mailto:celsogbj@gmail.com">celsogbj@gmail.com</a>&gt;:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi folks,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I work at a bank<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Me too (sort of)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; and I am currently studying the best way to use JBoss Rules so that it<br>
&gt;&gt; &gt;&gt; fits our needs. Our loan analysis process can take several months<br>
&gt;&gt; &gt;&gt; depending<br>
&gt;&gt; &gt;&gt; on the type of the loan. Although our business rules can evolve, a loan<br>
&gt;&gt; &gt;&gt; must<br>
&gt;&gt; &gt;&gt; follow the rules valid at the time the loan application was made.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; In order to attend this requirement I thought about storing at the<br>
&gt;&gt; &gt;&gt; database the name of the current snapshot with the loan application<br>
&gt;&gt; &gt;&gt; data, so<br>
&gt;&gt; &gt;&gt; that it will possible run this rules in the future without freezing my<br>
&gt;&gt; &gt;&gt; rule<br>
&gt;&gt; &gt;&gt; database.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; * Is there a better way to attend this requirement?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Don&#39;t use snapshots. Release your rules and store the rules&#39; release<br>
&gt;&gt; &gt; number<br>
&gt;&gt; &gt; with the loan application data in your database.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; * How can I retrieve meta information from a snapshot, such as the date<br>
&gt;&gt; &gt;&gt; when the snapshot was created?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks in advance,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Celso<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; rules-users mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rules-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;  - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a><br>
&gt;&gt;  - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
&gt;&gt;  - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>
&gt;&gt;  - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
&gt;&gt;<br>
&gt;&gt;  - Salatino &quot;Salaboy&quot; Mauricio -<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
 - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a><br>
 - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
 - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>
 - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
<br>
 - Salatino &quot;Salaboy&quot; Mauricio -<br>
<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>
</div></div></blockquote></div><br>