Is the statement about backwards compatibility only true for CEP and
decision tables, or does it pertain to upgrading from 5.2.M2 to Final as a
whole?
My project has been trying to upgrade from 5.2.M2 to Final, and we are
having problems with our StatefulKnowledgeSession not containing any of the
processes or fact types defined in our guvnor package.
Thanks,
Rob
_____
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Tuesday, July 12, 2011 11:53 AM
To: Rules Users List
Subject: Re: [rules-users] repository in 5.2.M2 crashes in 5.2.Final because
of decision table serialization
That explains it.
The CEP changes were made between 5.2.M2 and Final.
Since 5.2.M2 was a beta Mark Proctor was OK not keeping backwards
compatibility between the M2 and Final. I checked before making the changes.
Unfortunately the code-base only supports automatic conversion between
5.1.Final and 5.2.Final. Any guided decision tables made on 5.2.M1, 5.2.M2
and 5.2.CR1 are incompatible with 5.2.Final.
With kind regards,
Mike
2011/7/12 Vincent LEGENDRE <vincent.legendre(a)eurodecision.com>
We had a repository done with 5.2.M2.
We had exported this in a xml, and import this xml in a new 5.2.Final
version
We don't use the classes below (at least not intentionnaly), we simply try
to get the source (from Guvnor URL) or "compile" a package (from the package
view).
Is there a way to use
org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert the
repository explicitely ?
_____
De: "Michael Anstis" <michael.anstis(a)gmail.com>
À: "Rules Users List" <rules-users(a)lists.jboss.org>
Envoyé: Mardi 12 Juillet 2011 17:39:00
Objet: Re: [rules-users] repository in 5.2.M2 crashes in 5.2.Final because
of decision table serialization
How are you loading and compiling the dtable?
Guvnor uses org.drools.ide.common.server.util.GuidedDTXMLPersistence to
convert XML to and from the object model.
This in turn uses org.drools.ide.common.server.util.RepositoryUpgradeHelper
to convert from GuidedDecisionTable to GuidedDecisionTable52.
We had to make some essential changes for Guvnor 5.2 to support CEP
operators on the guided decision table.
With kind regards,
Mike
2011/7/12 Vincent LEGENDRE <vincent.legendre(a)eurodecision.com>
Hi all
We tried to use the 5.2.Final version of Guvnor, but the compilation fails
with an error saying that class "dtable" does not exists.
After looking more depply, it appears that the XML storage format has
changed in 5.2.Final :
- root XML is now "decision-table52" instead of "dtable"
- pattern is now "org.drools.guvnor.client.modeldriven.dt52.Pattern52" with
some condition-column grouped by fact, instead of independant
condition-column
- actions is now "insert-fact-column52" instead of the same thing without
version in it, but this time no structure changes ...
Is there a way to migrate old tables to new format ?
Changing a repository.xml by subtitutions is OK ?
Do we have to plan such problems for future versions ?
_______________________________________________
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
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users