[
https://jira.jboss.org/jira/browse/JBRULES-1358?page=com.atlassian.jira.p...
]
Michael Neale closed JBRULES-1358.
----------------------------------
Resolution: Done
You create a dsl in the package, and then you can create rules that use the DSL, you can
then "view source" and it will show you the generated DRL.
DSL mapping not available in BRMS
---------------------------------
Key: JBRULES-1358
URL:
https://jira.jboss.org/jira/browse/JBRULES-1358
Project: JBoss Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 4.0.3
Reporter: Ravi Shankar
Assignee: Michael Neale
Fix For: 5.0.0.M3
Hi,
In the BRMS I did not find conversation of DSL to actual valid DRL syntax. For example in
the eclipse plugin I created the following as in when clause:
Shopping Basket price is more than or equal to {value}
and in the mapping I put the following java code:
originalBasket : ShoppingBasket(descriptor == "originalBasket",
cartTotal.value >= {value}) bestDiscounted : ShoppingBasket(descriptor ==
"bestDiscounted") currentDiscounted : ShoppingBasket(descriptor ==
"currentDiscounted")
so that when converting a .dslr into a .drl the conversion happens from business
user's friendly version to developer friendly code. But I do not find a place in BRMS
to specify such mappings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira