[jira] [Updated] (OFBIZ-9381) Convert RateServices.xml mini-lang to groovyDSL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9381) Convert RateServices.xml mini-lang to groovyDSL

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin updated OFBIZ-9381:
---------------------------------
    Attachment: OFBIZ-9381.patch

I load a first patch version. I will continue to add some unit tests

> Convert RateServices.xml mini-lang to groovyDSL
> -----------------------------------------------
>
>                 Key: OFBIZ-9381
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9381
>             Project: OFBiz
>          Issue Type: Task
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>              Labels: groovy, mini-lang
>         Attachments: OFBIZ-9381.patch
>
>
> With the purpose to deprecate mini-lang OFBIZ-9350, I tried to convert some mini-lang service to groovy script.
> I converted updateRateAmount, deleteRateAmount, updatePartyRate and deleteRateAmount.
> Delete isn't a good definition for the service who expire the element instead of remove if. So I propose with the patch to move the deleteRateAmount and deletePartyRate to expireRateAmount and expirePartyRate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)