<p>Hi, </p>
<p>is there a distinction between snapshot and release versions at all in Guvnor? </p>
<p>If I use snapshots only (referenced by an id) from my production code, how can I tell snapshots intended for development-only use and those for production use apart? </p>
<p>How do I know which is the latest snapshot suitable for production use?</p>
<p>Kind regards</p>
<p>Ansgar</p>
<p>Am 26.12.2011 18:49 schrieb &quot;Mauricio Salatino&quot; &lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;:<br>
&gt;<br>
&gt; @Ansgar, it looks like you are doing in a database the work that it&#39;s<br>
&gt; being done by Guvnor, that keeps a lot of meta data for all the<br>
&gt; snapshots and it&#39;s ready to keep the snapshots forever, exposing them<br>
&gt; via a service, so you applications can get the right version. In the<br>
&gt; same way that you mention just knowing the ID of the snapshot that<br>
&gt; it&#39;s required.<br>
&gt; Using Guvnor, there is no need to remove snapshots, each snapshot will<br>
&gt; only contain the rules associated with it and not a complete<br>
&gt; application.<br>
&gt; Cheers<br>
&gt;<br>
&gt; 2011/12/26 Ansgar Konermann &lt;<a href="mailto:ansgar.konermann@googlemail.com">ansgar.konermann@googlemail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &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; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Did you try Guvnor? it already store the snapshots version. So you can<br>
&gt; &gt;&gt; get the right snapshot for running your rules against an old Loan<br>
&gt; &gt;&gt; again.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; @Ansgar: why do you recommend to not use snapshots?<br>
&gt; &gt;<br>
&gt; &gt; They change over time, making it more complex to track down the correct<br>
&gt; &gt; version.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;d preferr a stable loan application &lt;=&gt; rule set association. OTOH, it is<br>
&gt; &gt; probably *possible* to retrieve the correct snapshot version for a loan<br>
&gt; &gt; application if additional metadata is available. It&#39;s just more complicated:<br>
&gt; &gt; metadata needs to be available and sufficient to determine exactly *one*<br>
&gt; &gt; snapshot, snapshot needs to be available (not sure if Guvnor stores all<br>
&gt; &gt; snapshots forever or just a few).<br>
&gt; &gt;<br>
&gt; &gt; For releases, there is *one* figure you need to know to reference a certain<br>
&gt; &gt; ruleset (the version number). Releases are normally kept forever. Or, at<br>
&gt; &gt; least in my environment, deleting releases is done with extra extra care -if<br>
&gt; &gt; at all-, whereas snapshots older than a week or so get removed automatically<br>
&gt; &gt; on a daily basis.<br>
&gt; &gt;<br>
&gt; &gt; Best regards,<br>
&gt; &gt;<br>
&gt; &gt; Ansgar<br>
&gt; &gt;<br>
&gt; &gt;&gt; Cheers<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &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; &gt;<br>
&gt; &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; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Hi folks,<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; I work at a bank<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Me too (sort of)<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; and I am currently studying the best way to use JBoss Rules so that it<br>
&gt; &gt;&gt; &gt;&gt; fits our needs. Our loan analysis process can take several months<br>
&gt; &gt;&gt; &gt;&gt; depending<br>
&gt; &gt;&gt; &gt;&gt; on the type of the loan. Although our business rules can evolve, a loan<br>
&gt; &gt;&gt; &gt;&gt; must<br>
&gt; &gt;&gt; &gt;&gt; follow the rules valid at the time the loan application was made.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; In order to attend this requirement I thought about storing at the<br>
&gt; &gt;&gt; &gt;&gt; database the name of the current snapshot with the loan application<br>
&gt; &gt;&gt; &gt;&gt; data, so<br>
&gt; &gt;&gt; &gt;&gt; that it will possible run this rules in the future without freezing my<br>
&gt; &gt;&gt; &gt;&gt; rule<br>
&gt; &gt;&gt; &gt;&gt; database.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; * Is there a better way to attend this requirement?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Don&#39;t use snapshots. Release your rules and store the rules&#39; release<br>
&gt; &gt;&gt; &gt; number<br>
&gt; &gt;&gt; &gt; with the loan application data in your database.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; * How can I retrieve meta information from a snapshot, such as the date<br>
&gt; &gt;&gt; &gt;&gt; when the snapshot was created?<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Thanks in advance,<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Celso<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt;&gt; rules-users mailing list<br>
&gt; &gt;&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; &gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;&gt; &gt;&gt;<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">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; --<br>
&gt; &gt;&gt;  - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a><br>
&gt; &gt;&gt;  - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
&gt; &gt;&gt;  - Co-Founder @ <a href="http://www.jugargentina.org">http://www.jugargentina.org</a><br>
&gt; &gt;&gt;  - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  - Salatino &quot;Salaboy&quot; Mauricio -<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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;  - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a><br>
&gt;  - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
&gt;  - Co-Founder @ <a href="http://www.jugargentina.org">http://www.jugargentina.org</a><br>
&gt;  - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
&gt;<br>
&gt;  - Salatino &quot;Salaboy&quot; Mauricio -<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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</p>