[
https://jira.jboss.org/jira/browse/JBRULES-1023?page=com.atlassian.jira.p...
]
Edson Tirelli closed JBRULES-1023.
----------------------------------
Fix Version/s: 5.0.0.GA
(was: FUTURE)
Resolution: Done
This was implemented for Drools 5.0
Typing the parameter to be replace by DSL/DRL replacement
---------------------------------------------------------
Key: JBRULES-1023
URL:
https://jira.jboss.org/jira/browse/JBRULES-1023
Project: JBoss Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: christian bastin
Assignee: Edson Tirelli
Fix For: 5.0.0.GA
We have a very long DSL including more 150 différent lines (wich could be very similar).
We have no posibility to be sure of the replacement operarted by the parsing. We often
dicover problem that force us to move the order of the lines in the DSL. This is an simple
example of what I think could be improved.
If you have a DSL
test {code} is {value}
this could replace this 2 rules in the DRL
rule "Rule-1"
when
test 10 is 10
then
> System.out.println("test 1 OK");
end
rule "Rule-1"
when
test 10 + 10 is 10
then
> System.out.println("test 1 OK");
end
I would like the ability to type the parameter of my DSL, for example with regular
expression.
test {code|[0-9]+} is {value|[0-9]+}
so the only rule available for replacement should be the first rule ("Rule-1").
The other rule would not find a replacement and should be implemented in the DSL.
--
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