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