Migration of Drools 4.0.7 to 5.2.0 version
by Jain, Vaibhav
Hi,
Can anyone please answer the following ?
1. Is Drools 5.2.x backward compatible with drl files syntax of
4.0.7 ?
2. If there any comparison sheet for performance, stability,
features between 5.2 and 4.0.7 ?
3. What are the major challenges in Upgrading Drools from 4.0.x to
Drools 5.2.x ?
Kind Regards,
Vaibhav Jain
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. By messaging with Sender you consent to the foregoing.
13 years, 4 months
drools OSGI bundle for 5.1.1
by Salina Fung/UFL - ICIL
Is it somewhere I can get the OSGI bundle for 5.1.1 or
if I can get a pom.xml somewhere to build one. The zip
file that I downloaded without any pom.xml
Thanks
Salina
13 years, 4 months
how to eval with property inside a nested object
by gmkumar2005
Hi everyone.
I have a BaseProduct with paymentMode as a property
BaseProduct is assigned to a Customer
Customer creates a uProduct. uProduct is a customized product created by the
customer. It contains multiple BaseProducts.
for eg
Music is a Baseproduct with Wire paymentMode
Picture is a product with CreditCard paymentMode
Movie is a product with DebitCard paymentMode
iPod is a uProduct which contains Music and Pictures implies that it
supports Wire and CreditCard
iPad is a uProduct with contains Music, Movies and Pictures implies that it
supports all paymentModes
rule "Non Mandatory"
// calculates all non mandatory fields for display
when
$transaction : Transaction($paymentModes :uProduct.baseProduct)
// select all the paymentModes supported by the uProduct
$displayMode : Property(payMode in $paymentModes)
// select a property which has a valid paymentMode
... someOther conditions ....
then
...
in the above rule $paymentModes returns arrayList of baseProducts. But I
want to access the list of paymentModes. ie, when Transaction has iPod
$paymentMode should return [wire,CreditCard], when Transaction has iPad it
should return [wire,CreditCard,DebitCard]
Question : How do I access array of a selected property which are again part
of Array of an object ?
Any suggestion ?
Thanks a lot.
--
View this message in context: http://drools.46999.n3.nabble.com/how-to-eval-with-property-inside-a-nest...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 4 months
Drools Rule Editor based on Eclipse RCP
by magendo
Would it be possible to build a Drools Rule Editor based on the Eclipse RCP?
I'd like to have an rule editor which works similar to guvnor, but I need to
integrate it into my RCP configuration application. Where should I start in
order to achieve that? Are any similar projects out there? I have read in
different communities about guys who tried to build one, but all those
threads are dead now.
Thanks in advance for helpfull replies :)
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Rule-Editor-based-on-Eclipse-RCP...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 4 months
change-set schema location
by grimace
should it be this:
xs:schemaLocation='http://drools.org/drools-5.0/change-set
drools-change-set-5.0.xsd'
or this:
xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd'
I don't see an .xsd file at either of those locations.
and I am getting warnings trying to read a change-set file:
(null: 4, 99): schema_reference.4: Failed to read schema document
'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the
document could not be read; 3) the root element of the document is not
<xsd:schema>.
(null: 4, 99): cvc-elt.1: Cannot find the declaration of element
'change-set'.
(null: 6, 9): schema_reference.4: Failed to read schema document
'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the
document could not be read; 3) the root element of the document is not
<xsd:schema>.
(null: 7, 71): schema_reference.4: Failed to read schema document
'drools-change-set-5.0.xsd', because 1) could not find the document; 2) the
document could not be read; 3) the root element of the document is not
<xsd:schema>.
or this:
(null: 4, 77): SchemaLocation: schemaLocation value =
'http://drools.org/drools-5.0/change-set.xsd' must have even number of
URI's.
(null: 4, 77): cvc-elt.1: Cannot find the declaration of element
'change-set'.
--
View this message in context: http://drools.46999.n3.nabble.com/change-set-schema-location-tp3166854p31...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 4 months
decision tables and default rules for case when part of LHS failes for other rules
by Syargey
Hi all,
I have been asked to add default rules to a decision table.
We have a decision table with several conditions. Data from first two
columns are passed to action with binded variables. The action collects data
from all passed rules.
-------------------------------------
condition 1 | condition 2 | ... | action
-------------------------------------
AAA | AD | ... | X
-------------------------------------
BBB | AD | ... | X
-------------------------------------
BBB | AE | ... | X
-------------------------------------
BBB | CC | ... | X
-------------------------------------
CCC | AD | ... | X
-------------------------------------
DDD | AD | ... | X
-------------------------------------
BBB | AE | ... | X
-------------------------------------
... | ... | ... | X
-------------------------------------
Recently business asked me if it is possible to have default rules (rows) in
the table if there is not any rule passing condition 1.
-------------------------------------
DEFAULT | AD | ... | X
-------------------------------------
DEFAULT | AE | ... | X
-------------------------------------
Is it possible to have rules in decision table those can be fired only if a
specific part of LHS never occurs in others rules?
Thanks in advance,
Syargey
--
View this message in context: http://drools.46999.n3.nabble.com/decision-tables-and-default-rules-for-c...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 4 months