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