[Architecture] BPMN deployment model

2014-02-25 Thread Chathura Ekanayake
Hi All, Activiti stores deployment artifacts in its database without keeping extracted versions of BPMN archives. I think it is better to follow a similar approach when implementing BPMN support in BPS. Similar to deploying BPEL packages, we can support deployments through file system and file

Re: [Architecture] BPMN deployment model

2014-02-25 Thread Nandika Jayawardana
This approach allows us to be aligned with activiti deployment model. Also it should work without any issue in the cluster also and would not require deployment synchronizer as well. Only draw back is that we do not have a file system based un deployment method. But i think we should be able to

Re: [Architecture] BPMN deployment model

2014-02-25 Thread Chathura Ekanayake
Yes, file system based undeployment cannot be supported with this model. Undeployment has to be done either using the WS API or from the UI. If we want to support file system based undeployment, we have to maintain an additional table containing the mapping (deployment ID - hash). Furthermore,

Re: [Architecture] BPMN deployment model

2014-02-25 Thread Nandika Jayawardana
I think additional table to keep hash values ect is unnecessary overhead. May be we can have an additional directory and move the file system deployed or uploaded bpmn artifact with a generated time stamp id to that directory in case the developer want to refer to that archive later. Regards