[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1358) DSL mapping not available in BRMS

Michael Neale (JIRA) jira-events at lists.jboss.org
Tue Oct 7 19:13:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        



More information about the jboss-jira mailing list