OSB and Continious Integration (CI)
751880Feb 14 2010 — edited Dec 1 2010We put our OSB projects in SVN for version control. What I would like to do sounds simple and is very common within the Java Community. We would like to use a test OSB server to be automatically propagated with certain OSB projects from a version control system (svn) and execute a number of automatic tests on it (SoapUI or SOAPUnit or whatever...). For that we need the following automated tasks (ANT or whatever).
1. Checkout (Welogic Workshop) OSB projects
2. Create sbconfig.jar
3. Import sbconfig.jar into OSB Test Server
4. Run tests
3. and 4. are not very complicated. There are a lot of samples with import.py scripts. 1. is not so complicated either, just doing a svn checkout on certain projects.
2. Seems to be more complicated. If I read correctly there are no scripts to create a sbconfig.jar out of weblogic/Eclipse workshop OSB projects in a workspace. You can only create a sbconfig.jar by exporting it from a running server instance. This is somewhat disappointing. So how should we proceed?
A somewhat complicate approach would be:
1. Start a deployment server instance of the CI server
2. Check out projects in local workspace on CI Server
3. Automatically publish them on deployment server (somehow triggering certain Weblogic Workshop/Eclipse classes ?!?)
4. Do an export sbconfig.jar on deployment server
5. --> 3. above and on
DOES THIS SOUND OK OR PLAIN ST.P.D ?!?
Or another approach would be:
Create a script by hand building the sbconfig.jar. This would result in a lot of work and be very specific to our situation. Use this script. HAS ANYONE DONE SUCH A THING...
To make things even more complicated we are using the JCA DB Adapter. I also read there was some trouble with automated deployments when you are using JCA adapters.
So the only answers I am looking for if it is possible to do fully automated deployments (including creating of sbconfig.jars from a code repository) for continuous integration. I cannot belief we are the only ones trying to pursue this. Please help us and give us some hints and guidelines (preferably with sample scripts) to help us achieve our goal...
Regards
Frank