BPELUnit with IBM Websphere process server

20 views
Skip to first unread message

Anup

unread,
May 2, 2014, 1:16:06 PM5/2/14
to bpel...@googlegroups.com
I am trying to run BPELUnit on IBM Websphere process sever(WPS) and Integration designer tool. The primary feature I want to use from BPELUnit is Test coverage. But it seems test coverage feature is not support for WPS as I don't see it in the Deployer dropdown. Is there a way I can use the test coverage feature with WPS ?
 
Thanks,
anup

Daniel Lübke

unread,
May 3, 2014, 2:17:48 AM5/3/14
to bpel...@googlegroups.com
Hi Anup,

currently, BPELUnit does not support WPS. Also the test coverage code is undergoing a huge refactoring currently.

Supporting a new server would basically mean to write a deployer that can:
- read BPEL files from a deployment unit
- update BPEL files in a deployment unit
- add partner links in a deployment
- deploy a deployment unit

It has been literally several years since I have last seen a WPS and therefore I do not know whether this is possible and if yes how much effort is needed. Would you be willing to contributeto  and help with a WPS deployer?

Regards,
Daniel

Anup

unread,
May 3, 2014, 10:16:34 AM5/3/14
to bpel...@googlegroups.com
Daniel : thanks for the reply. 
Yeah I would be happy to contribute. What would be the best way to collaborate ?

Daniel Lübke

unread,
May 7, 2014, 10:10:09 AM5/7/14
to bpel...@googlegroups.com
Hi Anup,

sorry for the late response.

I think there are two steps:
- First step is building a basic deployer (deploy, undeploy)
- Second step is enhancing the deployer by support the IDeployment for letting BPELUnit change the deployment unit

Regarding the first step, I can prepare you a feature branch and build a new maven module for the deployer and integrate it into the BPELUnit core. You can see the diffs in this branch so you can learn to understand the integration. But more importantly, the deployer class in this branch can be filled with features.
You will need to deploy a process to WPS programmatically. I cannot help you there because I do not have any WPS instance available.

The second step we can tackle on later. You can prepare this by creating a simple Hello BPEL project (one process, receive-assign-reply) and package this as a deployment unit.

Would this suit you?

Regards,
Daniel

Anup

unread,
May 11, 2014, 8:26:29 PM5/11/14
to bpel...@googlegroups.com
Thanks Daniel..

So here is my understanding of the this. I can easily put together a sample project that has a BPEL. Regarding build and deployment, there are several ways that IBM WPS supports:
1. Deploying from WPS admin console
2. Deploy from command prompt using the scripts provided by IBM along with the WPS product.

I am Sorry I did not understand the complete meaning of deploying programmatically, but I am willing to investigate further as per your guidance.

Regards,
Anup .

Daniel Lübke

unread,
May 19, 2014, 10:34:39 AM5/19/14
to bpel...@googlegroups.com
Hi Anup,

I created a skeleton deployer and hopefully made all configurations so that the deployer is visible in BPELUnit. You can clone [1] from my private repo. You will find a new project net.bpelunit.framework.control.deployer.wps. In there is a class WPSDeployer that is empty but I added comments that hopefully help to fill in the logic for deploying. This would be the first step before going to the additions needed for test coverage.

As you see the Java WPSDeployer class will need to deploy programmatically. You can try to call the WPS command line script or you can look if there is a way by calling a Web service on WPS. The WPS Admin Console is not suitable as it will be hard/impossible to automate the deployment.

I hope this helps. If there are any questions just let me know.

Regards,
Daniel

[1] https://github.com/dluebke/bpelunit/tree/feature-wpsdeployer
Reply all
Reply to author
Forward
0 new messages