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

Rafal Rusin updated ODE-567:
----------------------------

    Attachment: versioning-not-recompiling-cpbs.diff
                processVersionFromDUDirName.diff

I prepared two patches addressing this problem, which are quite independent.
versioning-not-recompiling-cpbs.diff - it checks for cbp before compiling bpel 
and doesn't recompile if not necessary. So it's possible to put cbp in service 
assembly and have it deployed as is. A benefit is that ODE won't create 
multiple GUIDs for process entries in process store after redeploying the same 
service assembly.
processVersionFromDUDirName.diff - it takes a version from package name (in 
servicemix it's SU name) instead of incrementing each time you redeploy SA. A 
benefit is that you have control over versioning of your processes. 

After applying those two patches and putting cbps to service assembly, you can 
redeploy it multiple times and still have the same process version registered. 

> Improve process versioning in JBI
> ---------------------------------
>
>                 Key: ODE-567
>                 URL: https://issues.apache.org/jira/browse/ODE-567
>             Project: ODE
>          Issue Type: Improvement
>          Components: JBI Integration
>    Affects Versions: 1.3.1
>            Reporter: Rafal Rusin
>             Fix For: 1.3.1
>
>         Attachments: processVersionFromDUDirName.diff, 
> versioning-not-recompiling-cpbs.diff
>
>
> Each time you redeploy a service assembly in servicemix, there's a new 
> process version registered in ODE. Also an old entry (old cbp) is deleted, 
> which causes old instances to throw 'error reloading compiled process' error. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to