riftsaw SVN: r292 - branches/ODE/ODE-1.x-fixes.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-11-20 10:13:23 -0500 (Fri, 20 Nov 2009)
New Revision: 292
Modified:
branches/ODE/ODE-1.x-fixes/Rakefile-riftsaw
branches/ODE/ODE-1.x-fixes/publish.sh
branches/ODE/ODE-1.x-fixes/rebuild.sh
Log:
* update the buildr version to 1.2.10, and 2.0-M2 version.
Modified: branches/ODE/ODE-1.x-fixes/Rakefile-riftsaw
===================================================================
--- branches/ODE/ODE-1.x-fixes/Rakefile-riftsaw 2009-11-20 14:52:39 UTC (rev 291)
+++ branches/ODE/ODE-1.x-fixes/Rakefile-riftsaw 2009-11-20 15:13:23 UTC (rev 292)
@@ -23,8 +23,8 @@
require "buildr/hibernate"
# Keep this structure to allow the build system to update version numbers.
-VERSION_NUMBER = "2.0-SNAPSHOT"
-NEXT_VERSION = "2.0-M2"
+VERSION_NUMBER = "2.0-M2"
+NEXT_VERSION = "2.0-CR1"
ANNONGEN = "annogen:annogen:jar:0.1.0"
ANT = "ant:ant:jar:1.6.5"
@@ -146,7 +146,7 @@
repositories.remote << "http://people.apache.org/repo/m2-snapshot-repository"
repositories.remote << "http://download.java.net/maven/2"
repositories.remote << "http://ws.zones.apache.org/repository2"
-repositories.release_to[:url] ||= "file:///home/gary/riftsaw/maven2/repo/m2-snapshot-repository"
+repositories.release_to[:url] ||= "file:///opt/m2/repo"
# Changing releases tag names
class Release
Modified: branches/ODE/ODE-1.x-fixes/publish.sh
===================================================================
--- branches/ODE/ODE-1.x-fixes/publish.sh 2009-11-20 14:52:39 UTC (rev 291)
+++ branches/ODE/ODE-1.x-fixes/publish.sh 2009-11-20 15:13:23 UTC (rev 292)
@@ -1,2 +1,2 @@
#!/bin/sh
-buildr _1.2.4_ -f Rakefile-riftsaw TEST=no upload
+buildr _1.2.10_ -f Rakefile-riftsaw TEST=no upload
Modified: branches/ODE/ODE-1.x-fixes/rebuild.sh
===================================================================
--- branches/ODE/ODE-1.x-fixes/rebuild.sh 2009-11-20 14:52:39 UTC (rev 291)
+++ branches/ODE/ODE-1.x-fixes/rebuild.sh 2009-11-20 15:13:23 UTC (rev 292)
@@ -1,2 +1,2 @@
#!/bin/sh
-buildr _1.2.4_ -f Rakefile-riftsaw TEST=no clean jboss-riftsaw:distro:package
+buildr _1.2.10_ -f Rakefile-riftsaw TEST=no clean jboss-riftsaw:distro:package
14 years, 6 months
riftsaw SVN: r291 - tags.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2009-11-20 09:52:39 -0500 (Fri, 20 Nov 2009)
New Revision: 291
Added:
tags/RiftSaw-2.0-M2/
Log:
* tag the RiftSaw-2.0-M2.
Copied: tags/RiftSaw-2.0-M2 (from rev 290, trunk)
14 years, 6 months
riftsaw SVN: r290 - in trunk: distribution/src/main/release and 4 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-11-20 09:33:44 -0500 (Fri, 20 Nov 2009)
New Revision: 290
Modified:
trunk/distribution/src/main/assembly/bin.xml
trunk/distribution/src/main/release/ReleaseNotes.txt
trunk/distribution/src/main/release/install/build.xml
trunk/distribution/src/main/release/version.properties
trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
trunk/samples/esb/bpel_helloworld/build.xml
trunk/samples/esb/bpel_helloworld/readme.txt
trunk/samples/esb/bpel_loan_fault/build.xml
trunk/samples/esb/bpel_loan_fault/readme.txt
Log:
Updated release note and exluded examples that fail from the distribution for M2.
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 14:33:44 UTC (rev 290)
@@ -69,6 +69,17 @@
<fileSet>
<directory>../samples</directory>
<outputDirectory>samples</outputDirectory>
+
+ <!-- Only required for 2.0-M2 release, to remove examples
+ that are not currently working -->
+ <includes>
+ <include>quickstart/hello_world/**</include>
+ <include>quickstart/simple_correlation/**</include>
+ <include>quickstart/simple_invoke/**</include>
+ <include>quickstart/loan_approval/**</include>
+ <include>esb/bpel_helloworld/**</include>
+ <include>esb/bpel_loan_fault/**</include>
+ </includes>
</fileSet>
<fileSet>
Modified: trunk/distribution/src/main/release/ReleaseNotes.txt
===================================================================
--- trunk/distribution/src/main/release/ReleaseNotes.txt 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/distribution/src/main/release/ReleaseNotes.txt 2009-11-20 14:33:44 UTC (rev 290)
@@ -1,6 +1,46 @@
+RiftSaw 2.0-M2
+==============
+
+This is the second milestone release of RiftSaw 2.0 - the JBoss BPEL server.
+
+The main purpose of this release is to provide early access to the JBossWS integration
+and new GWT based admin console. The JBossWS integration replaces the Axis2
+functionality provided in 2.0-M1.
+
+The detailed report for this release can be found at:
+https://jira.jboss.org/jira/secure/ReleaseNote.jspa?version=12313779&styleName=Html&projectId=12310843&Create=Create
+
+Known Issues:
+
+RIFTSAW-10 - Migrate from Axis2 to JBossWS
+
+Most of the functionality has been implemented. The remaining issues relate to a BPEL
+process returning a fault (RIFTSAW-91) and where a BPEL process has a WSDL interface that
+imports other files (e.g. xsd or wsdl) (RIFTSAW-113).
+
+
+RIFTSAW-111 - GWT/BIRT related exceptions
+
+Some GWT and BIRT related exceptions occur when the server is started. These can
+be ignored.
+
+
+Database support
+
+There are a number of database related issues. We are investigating moving from
+the Hibernate to JPA based DAO implementation for ODE, to help resolve some of these issues
+(RIFTSAW-115). At present we would recommend using "hsql" as an in-memory db option,
+and mysql as a persistent db.
+
+Known problems include RIFTSAW-73, exception when undeploying BPEL processes using
+HSQL, and RIFTSAW-41 where a deadlock can occur when using Derby.
+
+
+-----------------------------------------------------------------------------------------------
+
RiftSaw 2.0-M1
==============
-
+
This is the first milestone release of RiftSaw 2.0 - the JBoss BPEL server.
-
-
+
+
Modified: trunk/distribution/src/main/release/install/build.xml
===================================================================
--- trunk/distribution/src/main/release/install/build.xml 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/distribution/src/main/release/install/build.xml 2009-11-20 14:33:44 UTC (rev 290)
@@ -127,6 +127,7 @@
<target name="undeploy-esb-examples" depends="check.deploy.props" description="Undeploys BPEL example from JBossESB">
<echo message="Undeploy BPEL example" />
<delete dir="${esb.examples.dir}/bpel_helloworld" />
+ <delete dir="${esb.examples.dir}/bpel_loan_fault" />
<delete dir="${esb.examples.dir}/webservice_esb_bpel" />
</target>
Modified: trunk/distribution/src/main/release/version.properties
===================================================================
--- trunk/distribution/src/main/release/version.properties 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/distribution/src/main/release/version.properties 2009-11-20 14:33:44 UTC (rev 290)
@@ -1 +1 @@
-bpel.version=2.0-SNAPSHOT
+bpel.version=2.0-M2
Modified: trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2009-11-20 14:33:44 UTC (rev 290)
@@ -151,7 +151,7 @@
</para>
<code>
- ant sendesb
+ ant runtest
</code>
<para>
@@ -167,6 +167,7 @@
</section>
+<!--
<section>
<title>ESB Examples - Order Management</title>
@@ -263,7 +264,7 @@
</imageobject>
</section>
-
+-->
<section>
<title>Importing Examples into Eclipse</title>
Modified: trunk/samples/esb/bpel_helloworld/build.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/build.xml 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/samples/esb/bpel_helloworld/build.xml 2009-11-20 14:33:44 UTC (rev 290)
@@ -8,7 +8,7 @@
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
- <target name="sendesb" depends="compile"
+ <target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage" failonerror="true">
Modified: trunk/samples/esb/bpel_helloworld/readme.txt
===================================================================
--- trunk/samples/esb/bpel_helloworld/readme.txt 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/samples/esb/bpel_helloworld/readme.txt 2009-11-20 14:33:44 UTC (rev 290)
@@ -16,6 +16,6 @@
1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
2. Open another command terminal window in this folder ("Window2"), type
- 'ant sendesb'.
+ 'ant runtest'.
3. Switch back to Application Server console to see the output from the ESB
4. In this folder ("Window1"), type 'ant undeploy'.
Modified: trunk/samples/esb/bpel_loan_fault/build.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/build.xml 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/samples/esb/bpel_loan_fault/build.xml 2009-11-20 14:33:44 UTC (rev 290)
@@ -8,7 +8,7 @@
<!-- Import the base Ant build script... -->
<import file="../conf/base-build.xml"/>
- <target name="sendesb" depends="compile"
+ <target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
<java fork="yes" classname="org.jboss.soa.esb.samples.quickstart.loanfault.test.SendEsbMessage" failonerror="true">
Modified: trunk/samples/esb/bpel_loan_fault/readme.txt
===================================================================
--- trunk/samples/esb/bpel_loan_fault/readme.txt 2009-11-20 11:41:33 UTC (rev 289)
+++ trunk/samples/esb/bpel_loan_fault/readme.txt 2009-11-20 14:33:44 UTC (rev 290)
@@ -16,6 +16,6 @@
1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
2. Open another command terminal window in this folder ("Window2"), type
- 'ant sendesb'.
+ 'ant runtest'.
3. Switch back to Application Server console to see the output from the ESB
4. In this folder ("Window1"), type 'ant undeploy'.
14 years, 6 months
riftsaw SVN: r289 - in trunk: integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-11-20 06:41:33 -0500 (Fri, 20 Nov 2009)
New Revision: 289
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/purchase/PurchaseSVC.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java
trunk/samples/quickstart/purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java
Log:
[RIFTSAW-34] correct wsdl locations in generated services
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/purchase/PurchaseSVC.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/purchase/PurchaseSVC.java 2009-11-20 10:49:57 UTC (rev 288)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/purchase/PurchaseSVC.java 2009-11-20 11:41:33 UTC (rev 289)
@@ -19,7 +19,7 @@
static final String TARGET_NAMESPACE =
"http://manufacturing.org/wsdl/purchase";
static final String WSDL_LOCATION =
- "file:/home/aguizar/riftsaw/trunk/samples/quickstart/purchase/bpel/purchase.wsdl";
+ "http://127.0.0.1:8080/Quickstart_bpel_purchase/purchaseOrder?wsdl";
private static final String PURCHASE_ORDER_PORT_NAME = "purchaseOrderSP";
private static final URL WSDL_URL = createURL(WSDL_LOCATION);
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java 2009-11-20 10:49:57 UTC (rev 288)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java 2009-11-20 11:41:33 UTC (rev 289)
@@ -19,7 +19,7 @@
static final String SERVICE_NAME = "TravelService";
static final String TARGET_NAMESPACE = "http://jbpm.org/examples/trip";
static final String WSDL_LOCATION =
- "file:/home/aguizar/riftsaw/trunk/samples/quickstart/travel_agency/bpel/trip.wsdl";
+ "http://127.0.0.1:8080/Quickstart_bpel_travel_agency/travelAgent?wsdl";
private final static URL WSDL_URL = createURL(WSDL_LOCATION);
Modified: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java 2009-11-20 10:49:57 UTC (rev 288)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java 2009-11-20 11:41:33 UTC (rev 289)
@@ -22,7 +22,7 @@
static final String TARGET_NAMESPACE =
"http://manufacturing.org/wsdl/purchase";
static final String WSDL_LOCATION =
- "file:/home/aguizar/riftsaw/trunk/samples/quickstart/purchase/bpel/purchase.wsdl";
+ "http://127.0.0.1:8080/Quickstart_bpel_purchase/purchaseOrder?wsdl";
static final String PURCHASE_ORDER_PORT_NAME = "purchaseOrderSP";
private static final URL WSDL_URL = createURL(WSDL_LOCATION);
Modified: trunk/samples/quickstart/purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java
===================================================================
--- trunk/samples/quickstart/purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java 2009-11-20 10:49:57 UTC (rev 288)
+++ trunk/samples/quickstart/purchase/ejb/src/org/jboss/soa/bpel/samples/quickstart/purchase/PurchaseSVC.java 2009-11-20 11:41:33 UTC (rev 289)
@@ -22,7 +22,7 @@
static final String TARGET_NAMESPACE =
"http://manufacturing.org/wsdl/purchase";
static final String WSDL_LOCATION =
- "file:/home/aguizar/riftsaw/trunk/samples/quickstart/purchase/bpel/purchase.wsdl";
+ "http://127.0.0.1:8080/Quickstart_bpel_purchase/invoiceCallback?wsdl";
static final String PURCHASE_ORDER_PORT_NAME = "purchaseOrderSP";
private static final URL WSDL_URL = createURL(WSDL_LOCATION);
14 years, 6 months
riftsaw SVN: r288 - in trunk: integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples and 31 other directories.
by riftsaw-commits@lists.jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-11-20 05:49:57 -0500 (Fri, 20 Nov 2009)
New Revision: 288
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Cancelation.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Detail.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Flight.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Hotel.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Invoice.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/ItemSet.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Order.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Penalty.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Query.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/RentalCar.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelAgent.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/package-info.java
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/ticket.wsdl
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpel
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpelex
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.wsdl
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/web.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
trunk/samples/quickstart/travel_agency/
trunk/samples/quickstart/travel_agency/bpel/
trunk/samples/quickstart/travel_agency/bpel/bpel-deploy.xml
trunk/samples/quickstart/travel_agency/bpel/ticket.wsdl
trunk/samples/quickstart/travel_agency/bpel/trip.bpel
trunk/samples/quickstart/travel_agency/bpel/trip.bpelex
trunk/samples/quickstart/travel_agency/bpel/trip.wsdl
trunk/samples/quickstart/travel_agency/build.xml
trunk/samples/quickstart/travel_agency/war/
trunk/samples/quickstart/travel_agency/war/resources/
trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/
trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/web.xml
trunk/samples/quickstart/travel_agency/war/src/
trunk/samples/quickstart/travel_agency/war/src/org/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
Modified:
trunk/integration-tests/build.xml
trunk/integration-tests/pom.xml
trunk/samples/quickstart/atm/bpel/bpel-deploy.xml
trunk/samples/quickstart/atm/build.xml
Log:
[RIFTSAW-34] post travel agency example
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2009-11-20 10:03:23 UTC (rev 287)
+++ trunk/integration-tests/build.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -123,6 +123,7 @@
<ant antfile="src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_bpel_atm/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_bpel_purchase/build.xml" />
+ <ant antfile="src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_fault/build.xml" />
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
+++ trunk/integration-tests/pom.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -280,6 +280,7 @@
<excludes>
<exclude>org/jboss/soa/bpel/tests/samples/QuickstartBPELAtmTestCase.java</exclude>
<exclude>org/jboss/soa/bpel/tests/samples/QuickstartBPELPurchaseTestCase.java</exclude>
+ <exclude>org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java</exclude>
</excludes>
</configuration>
<executions>
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,141 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import java.rmi.RemoteException;
+import java.util.Calendar;
+import java.util.GregorianCalendar;
+
+import javax.xml.datatype.DatatypeFactory;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+import org.jboss.soa.bpel.tests.samples.travel.Cancelation;
+import org.jboss.soa.bpel.tests.samples.travel.Detail;
+import org.jboss.soa.bpel.tests.samples.travel.Flight;
+import org.jboss.soa.bpel.tests.samples.travel.Hotel;
+import org.jboss.soa.bpel.tests.samples.travel.Invoice;
+import org.jboss.soa.bpel.tests.samples.travel.ItemSet;
+import org.jboss.soa.bpel.tests.samples.travel.Order;
+import org.jboss.soa.bpel.tests.samples.travel.Penalty;
+import org.jboss.soa.bpel.tests.samples.travel.Query;
+import org.jboss.soa.bpel.tests.samples.travel.RentalCar;
+import org.jboss.soa.bpel.tests.samples.travel.TravelAgent;
+import org.jboss.soa.bpel.tests.samples.travel.TravelService;
+
+/**
+ * @author Alejandro Guizar
+ */
+public class QuickstartBPELTravelAgencyTestCase extends RiftSawTest {
+
+ private TravelAgent travelAgent;
+
+ private Flight flight = new Flight();
+ private Hotel hotel = new Hotel();
+ private RentalCar car = new RentalCar();
+ private XMLGregorianCalendar tripDate;
+
+ private static final String TEST_NAME = "Quickstart_bpel_travel_agency";
+
+ public QuickstartBPELTravelAgencyTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return new RiftSawTestSetup(QuickstartBPELTravelAgencyTestCase.class,
+ TEST_NAME,
+ "Quickstart_bpel_travel_agency.war,Quickstart_bpel_travel_agency-1.jar");
+ }
+
+ protected void setUp() throws Exception {
+ TravelService tripService = new TravelService();
+ travelAgent = tripService.getTravelAgentPort();
+
+ flight.setAirline("AM");
+ flight.setNumber(637);
+ hotel.setName("Maria Isabel");
+ car.setCompany("Alamo");
+
+ GregorianCalendar now = new GregorianCalendar();
+ now.add(Calendar.SECOND, 10);
+ tripDate = DatatypeFactory.newInstance().newXMLGregorianCalendar(now);
+ }
+
+ public void testPurchaseTrip() throws RemoteException {
+ ItemSet items = new ItemSet();
+ items.setFlight(flight); // cost: 300
+ items.setHotel(hotel); // cost: 100
+
+ Order order = new Order();
+ order.setDate(tripDate);
+ order.setItems(items);
+
+ Invoice invoice = travelAgent.purchaseTrip(order);
+ assertEquals(300 + 100, invoice.getCost(), 0);
+ }
+
+ public void testGetTripDetails() throws RemoteException {
+ ItemSet items = new ItemSet();
+ items.setFlight(flight);
+ items.setHotel(hotel);
+ items.setRentalCar(car);
+
+ Order order = new Order();
+ order.setDate(tripDate);
+ order.setItems(items);
+
+ Invoice invoice = travelAgent.purchaseTrip(order);
+
+ Query query = new Query();
+ query.setLocator(invoice.getLocator());
+
+ Detail detail = travelAgent.getTripDetail(query);
+ items = detail.getItems();
+
+ assertEquals(flight.getAirline(), items.getFlight().getAirline());
+ assertEquals(flight.getNumber(), items.getFlight().getNumber());
+ assertEquals(hotel.getName(), items.getHotel().getName());
+ assertEquals(car.getCompany(), items.getRentalCar().getCompany());
+ assertEquals(invoice.getCost(), detail.getCost(), 0);
+ }
+
+ public void testCancelTrip() throws Exception {
+ ItemSet items = new ItemSet();
+ items.setFlight(flight); // fee: 100
+ items.setRentalCar(car); // fee: 5
+
+ Order order = new Order();
+ order.setDate(tripDate);
+ order.setItems(items);
+
+ Invoice invoice = travelAgent.purchaseTrip(order);
+
+ Cancelation reference = new Cancelation();
+ reference.setLocator(invoice.getLocator());
+
+ Penalty penalty = travelAgent.cancelTrip(reference);
+ assertEquals(100 + 5, penalty.getFee(), 0);
+ }
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELTravelAgencyTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Cancelation.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Cancelation.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Cancelation.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,50 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="locator" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "cancelation")
+public class Cancelation {
+
+ @XmlAttribute(required = true)
+ protected int locator;
+
+ /**
+ * Gets the value of the locator property.
+ */
+ public int getLocator() {
+ return locator;
+ }
+
+ /**
+ * Sets the value of the locator property.
+ */
+ public void setLocator(int value) {
+ this.locator = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Cancelation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Detail.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Detail.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Detail.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,72 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="items" type="{http://jbpm.org/examples/trip}ItemSet"/>
+ * </sequence>
+ * <attribute name="cost" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "items" })
+@XmlRootElement(name = "detail")
+public class Detail {
+
+ @XmlElement(required = true)
+ protected ItemSet items;
+ @XmlAttribute(required = true)
+ protected double cost;
+
+ /**
+ * Gets the value of the items property.
+ *
+ * @return possible object is {@link ItemSet }
+ */
+ public ItemSet getItems() {
+ return items;
+ }
+
+ /**
+ * Sets the value of the items property.
+ *
+ * @param value allowed object is {@link ItemSet }
+ */
+ public void setItems(ItemSet value) {
+ this.items = value;
+ }
+
+ /**
+ * Gets the value of the cost property.
+ */
+ public double getCost() {
+ return cost;
+ }
+
+ /**
+ * Sets the value of the cost property.
+ */
+ public void setCost(double value) {
+ this.cost = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Detail.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Flight.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Flight.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Flight.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,67 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for Flight complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Flight">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="airline" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Flight")
+public class Flight {
+
+ @XmlAttribute(required = true)
+ protected String airline;
+ @XmlAttribute(required = true)
+ protected int number;
+
+ /**
+ * Gets the value of the airline property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getAirline() {
+ return airline;
+ }
+
+ /**
+ * Sets the value of the airline property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setAirline(String value) {
+ this.airline = value;
+ }
+
+ /**
+ * Gets the value of the number property.
+ */
+ public int getNumber() {
+ return number;
+ }
+
+ /**
+ * Sets the value of the number property.
+ */
+ public void setNumber(int value) {
+ this.number = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Flight.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Hotel.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Hotel.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Hotel.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,50 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for Hotel complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="Hotel">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Hotel")
+public class Hotel {
+
+ @XmlAttribute(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Hotel.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Invoice.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Invoice.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Invoice.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,67 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="locator" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="cost" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "invoice")
+public class Invoice {
+
+ @XmlAttribute(required = true)
+ protected int locator;
+ @XmlAttribute(required = true)
+ protected double cost;
+
+ /**
+ * Gets the value of the locator property.
+ */
+ public int getLocator() {
+ return locator;
+ }
+
+ /**
+ * Sets the value of the locator property.
+ */
+ public void setLocator(int value) {
+ this.locator = value;
+ }
+
+ /**
+ * Gets the value of the cost property.
+ */
+ public double getCost() {
+ return cost;
+ }
+
+ /**
+ * Sets the value of the cost property.
+ */
+ public void setCost(double value) {
+ this.cost = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Invoice.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/ItemSet.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/ItemSet.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/ItemSet.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,94 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for ItemSet complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="ItemSet">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="flight" type="{http://jbpm.org/examples/trip}Flight"/>
+ * <element name="hotel" type="{http://jbpm.org/examples/trip}Hotel"/>
+ * <element name="rentalCar" type="{http://jbpm.org/examples/trip}RentalCar"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ItemSet", propOrder = { "flight", "hotel", "rentalCar" })
+public class ItemSet {
+
+ @XmlElement(required = true, nillable = true)
+ protected Flight flight;
+ @XmlElement(required = true, nillable = true)
+ protected Hotel hotel;
+ @XmlElement(required = true, nillable = true)
+ protected RentalCar rentalCar;
+
+ /**
+ * Gets the value of the flight property.
+ *
+ * @return possible object is {@link Flight }
+ */
+ public Flight getFlight() {
+ return flight;
+ }
+
+ /**
+ * Sets the value of the flight property.
+ *
+ * @param value allowed object is {@link Flight }
+ */
+ public void setFlight(Flight value) {
+ this.flight = value;
+ }
+
+ /**
+ * Gets the value of the hotel property.
+ *
+ * @return possible object is {@link Hotel }
+ */
+ public Hotel getHotel() {
+ return hotel;
+ }
+
+ /**
+ * Sets the value of the hotel property.
+ *
+ * @param value allowed object is {@link Hotel }
+ */
+ public void setHotel(Hotel value) {
+ this.hotel = value;
+ }
+
+ /**
+ * Gets the value of the rentalCar property.
+ *
+ * @return possible object is {@link RentalCar }
+ */
+ public RentalCar getRentalCar() {
+ return rentalCar;
+ }
+
+ /**
+ * Sets the value of the rentalCar property.
+ *
+ * @param value allowed object is {@link RentalCar }
+ */
+ public void setRentalCar(RentalCar value) {
+ this.rentalCar = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/ItemSet.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Order.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Order.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Order.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,78 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="items" type="{http://jbpm.org/examples/trip}ItemSet"/>
+ * <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = { "items", "date" })
+@XmlRootElement(name = "order")
+public class Order {
+
+ @XmlElement(required = true)
+ protected ItemSet items;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar date;
+
+ /**
+ * Gets the value of the items property.
+ *
+ * @return possible object is {@link ItemSet }
+ */
+ public ItemSet getItems() {
+ return items;
+ }
+
+ /**
+ * Sets the value of the items property.
+ *
+ * @param value allowed object is {@link ItemSet }
+ */
+ public void setItems(ItemSet value) {
+ this.items = value;
+ }
+
+ /**
+ * Gets the value of the date property.
+ *
+ * @return possible object is {@link XMLGregorianCalendar }
+ */
+ public XMLGregorianCalendar getDate() {
+ return date;
+ }
+
+ /**
+ * Sets the value of the date property.
+ *
+ * @param value allowed object is {@link XMLGregorianCalendar }
+ */
+ public void setDate(XMLGregorianCalendar value) {
+ this.date = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Order.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Penalty.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Penalty.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Penalty.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,50 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="fee" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "penalty")
+public class Penalty {
+
+ @XmlAttribute(required = true)
+ protected double fee;
+
+ /**
+ * Gets the value of the fee property.
+ */
+ public double getFee() {
+ return fee;
+ }
+
+ /**
+ * Sets the value of the fee property.
+ */
+ public void setFee(double value) {
+ this.fee = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Penalty.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Query.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Query.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Query.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,50 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for anonymous complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * <attribute name="locator" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "query")
+public class Query {
+
+ @XmlAttribute(required = true)
+ protected int locator;
+
+ /**
+ * Gets the value of the locator property.
+ */
+ public int getLocator() {
+ return locator;
+ }
+
+ /**
+ * Sets the value of the locator property.
+ */
+ public void setLocator(int value) {
+ this.locator = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/Query.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/RentalCar.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/RentalCar.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/RentalCar.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,50 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * <p>
+ * Java class for RentalCar complex type.
+ * <p>
+ * The following schema fragment specifies the expected content contained within
+ * this class.
+ *
+ * <pre>
+ * <complexType name="RentalCar">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="company" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "RentalCar")
+public class RentalCar {
+
+ @XmlAttribute(required = true)
+ protected String company;
+
+ /**
+ * Gets the value of the company property.
+ *
+ * @return possible object is {@link String }
+ */
+ public String getCompany() {
+ return company;
+ }
+
+ /**
+ * Sets the value of the company property.
+ *
+ * @param value allowed object is {@link String }
+ */
+ public void setCompany(String value) {
+ this.company = value;
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/RentalCar.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelAgent.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelAgent.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelAgent.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,44 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 Generated source
+ * version: 2.1
+ */
+@WebService(name = "TravelAgent", targetNamespace = "http://jbpm.org/examples/trip")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface TravelAgent {
+
+ /**
+ * @param order
+ * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Invoice
+ */
+ @WebMethod(action = "http://jbpm.org/examples/trip/purchaseTrip")
+ @WebResult(name = "invoice", targetNamespace = "http://jbpm.org/examples/trip", partName = "invoice")
+ public Invoice purchaseTrip(
+ @WebParam(name = "order", targetNamespace = "http://jbpm.org/examples/trip", partName = "order") Order order);
+
+ /**
+ * @param cancelation
+ * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Penalty
+ */
+ @WebMethod(action = "http://jbpm.org/examples/trip/cancelTrip")
+ @WebResult(name = "penalty", targetNamespace = "http://jbpm.org/examples/trip", partName = "penalty")
+ public Penalty cancelTrip(
+ @WebParam(name = "cancelation", targetNamespace = "http://jbpm.org/examples/trip", partName = "cancelation") Cancelation cancelation);
+
+ /**
+ * @param query
+ * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Detail
+ */
+ @WebMethod(action = "http://jbpm.org/examples/trip/getTripDetail")
+ @WebResult(name = "detail", targetNamespace = "http://jbpm.org/examples/trip", partName = "detail")
+ public Detail getTripDetail(
+ @WebParam(name = "query", targetNamespace = "http://jbpm.org/examples/trip", partName = "query") Query query);
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelAgent.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,64 @@
+package org.jboss.soa.bpel.tests.samples.travel;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceFeature;
+
+/**
+ * This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 Generated source
+ * version: 2.1
+ */
+@WebServiceClient(name = TravelService.SERVICE_NAME, targetNamespace = TravelService.TARGET_NAMESPACE, wsdlLocation = TravelService.WSDL_LOCATION)
+public class TravelService extends Service {
+
+ private static final String TRAVEL_AGENT_PORT_NAME = "TravelAgentPort";
+ static final String SERVICE_NAME = "TravelService";
+ static final String TARGET_NAMESPACE = "http://jbpm.org/examples/trip";
+ static final String WSDL_LOCATION =
+ "file:/home/aguizar/riftsaw/trunk/samples/quickstart/travel_agency/bpel/trip.wsdl";
+
+ private final static URL WSDL_URL = createURL(WSDL_LOCATION);
+
+ private static URL createURL(String location) {
+ try {
+ return new URL(location);
+ }
+ catch (MalformedURLException e) {
+ throw new IllegalArgumentException(location, e);
+ }
+ }
+
+ public TravelService(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public TravelService() {
+ super(WSDL_URL, new QName(TARGET_NAMESPACE, SERVICE_NAME));
+ }
+
+ /**
+ * @return returns TravelAgent
+ */
+ @WebEndpoint(name = TRAVEL_AGENT_PORT_NAME)
+ public TravelAgent getTravelAgentPort() {
+ return super.getPort(new QName(TARGET_NAMESPACE, TRAVEL_AGENT_PORT_NAME),
+ TravelAgent.class);
+ }
+
+ /**
+ * @param features A list of {@link javax.xml.ws.WebServiceFeature} to
+ * configure on the proxy. Supported features not in the <code>features</code>
+ * parameter will have their default values.
+ * @return returns TravelAgent
+ */
+ @WebEndpoint(name = TRAVEL_AGENT_PORT_NAME)
+ public TravelAgent getTravelAgentPort(WebServiceFeature... features) {
+ return super.getPort(new QName(TARGET_NAMESPACE, TRAVEL_AGENT_PORT_NAME),
+ TravelAgent.class, features);
+ }
+
+}
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/TravelService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/package-info.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/package-info.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/package-info.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,3 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://jbpm.org/examples/trip")
+package org.jboss.soa.bpel.tests.samples.travel;
+
Property changes on: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/travel/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/bpel-deploy.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:trp="http://jbpm.org/examples/trip"
+ xmlns:tic="http://jbpm.org/examples/ticket" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <process name="trp:TripReservation">
+ <active>true</active>
+
+ <provide partnerLink="traveler">
+ <service name="trp:TravelService" port="TravelAgentPort" />
+ </provide>
+
+ <invoke partnerLink="ticket">
+ <service name="tic:TicketService" port="TicketIssuerPort" />
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/bpel-deploy.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/ticket.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/ticket.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/ticket.wsdl 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions targetNamespace="http://jbpm.org/examples/ticket"
+ xmlns:tns="http://jbpm.org/examples/ticket" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+ <message name="ticketRequest">
+ <documentation>ticket creation request</documentation>
+ </message>
+
+ <message name="ticketMessage">
+ <documentation>ticket number wrapper</documentation>
+ <part name="ticketNo" type="xsd:int" />
+ </message>
+
+ <portType name="TicketIssuer">
+ <documentation>interface to ticket issuer service</documentation>
+
+ <operation name="createTicket">
+ <documentation>generate a ticket number, distinct from previous calls
+ </documentation>
+ <input message="tns:ticketRequest" />
+ <output message="tns:ticketMessage" />
+ </operation>
+ </portType>
+
+ <binding name="TicketIssuerBinding" type="tns:TicketIssuer">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
+
+ <operation name="createTicket">
+ <soap:operation soapAction="http://jbpm.org/examples/ticket#createTicket" />
+ <input>
+ <soap:body use="literal" namespace="http://jbpm.org/examples/ticket" />
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://jbpm.org/examples/ticket" />
+ </output>
+ </operation>
+ </binding>
+
+ <service name="TicketService">
+ <port name="TicketIssuerPort" binding="tns:TicketIssuerBinding">
+ <soap:address location="http://127.0.0.1:8080/Quickstart_bpel_travel_agency/ticketIssuer" />
+ </port>
+ </service>
+
+</definitions>
\ No newline at end of file
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/ticket.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpel 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpws:process exitOnStandardFault="yes" name="TripReservation"
+ targetNamespace="http://jbpm.org/examples/trip"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tic="http://jbpm.org/examples/ticket"
+ xmlns:tns="http://jbpm.org/examples/trip"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
+ location="trip.wsdl" namespace="http://jbpm.org/examples/trip"/>
+ <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
+ location="ticket.wsdl" namespace="http://jbpm.org/examples/ticket"/>
+ <bpws:partnerLinks>
+ <bpws:partnerLink myRole="Agent" name="traveler" partnerLinkType="tns:Traveler-Agent"/>
+ <bpws:partnerLink name="ticket"
+ partnerLinkType="tns:Agent-Ticket" partnerRole="TicketIssuer"/>
+ </bpws:partnerLinks>
+ <bpws:variables>
+ <bpws:variable messageType="tns:purchaseRequest" name="purchaseRequest"/>
+ <bpws:variable name="cost" type="xsd:double"/>
+ <bpws:variable name="items" type="tns:ItemSet"/>
+ <bpws:variable name="dateReached" type="xsd:boolean"/>
+ <bpws:variable messageType="tns:detailRequest" name="detailRequest"/>
+ <bpws:variable messageType="tns:detailResponse" name="detailResponse"/>
+ <bpws:variable messageType="tns:cancelRequest" name="cancelRequest"/>
+ <bpws:variable messageType="tns:cancelResponse" name="cancelResponse"/>
+ </bpws:variables>
+ <bpws:correlationSets>
+ <bpws:correlationSet name="trip" properties="tns:tripLocator"/>
+ </bpws:correlationSets>
+ <bpws:faultHandlers>
+ <bpws:catch faultName="tns:cancelation">
+ <bpws:sequence name="Cancel">
+ <bpws:compensateScope name="UndoPurchase" target="TripPurchase" />
+ <bpws:assign name="PreparePenalty" validate="no">
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="penalty" variable="cancelResponse">
+ <bpws:query><![CDATA[@fee]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendPenalty" operation="cancelTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="cancelResponse"/>
+ </bpws:sequence>
+ </bpws:catch>
+ </bpws:faultHandlers>
+ <bpws:sequence name="Main">
+ <bpws:scope name="TripPurchase">
+ <bpws:variables>
+ <bpws:variable messageType="tic:ticketRequest" name="ticketRequest"/>
+ <bpws:variable messageType="tic:ticketMessage" name="ticketMessage"/>
+ <bpws:variable messageType="tns:purchaseResponse" name="purchaseResponse"/>
+ </bpws:variables>
+ <bpws:sequence name="PurchaseTrip">
+ <bpws:receive createInstance="yes"
+ name="ReceiveTripOrder" operation="purchaseTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="purchaseRequest"/>
+ <bpws:flow>
+ <bpws:invoke inputVariable="ticketRequest"
+ name="CreateTicket" operation="createTicket"
+ outputVariable="ticketMessage"
+ partnerLink="ticket" portType="tic:TicketIssuer">
+ <bpws:correlations>
+ <bpws:correlation initiate="yes"
+ pattern="in" set="trip"/>
+ </bpws:correlations>
+ </bpws:invoke>
+ <bpws:sequence name="EvaluateCost">
+ <bpws:assign name="InitializeCost" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[0]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from part="order" variable="purchaseRequest">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:from>
+ <bpws:to variable="items"/>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:if name="FlightDecision">
+ <bpws:condition><![CDATA[$items/flight and string($items/flight/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="FlightReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="ReimburseFlight" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 300 + 100]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeFlight" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 300]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ <bpws:if name="HotelDecision">
+ <bpws:condition><![CDATA[$items/hotel and string($items/hotel/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="HotelReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="ReimburseHotel" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 100 + 25]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeHotel" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 100]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ <bpws:if name="CarDecision">
+ <bpws:condition><![CDATA[$items/rentalCar and string($items/rentalCar/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="CarReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="reimburseCar" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 50 + 5]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeCar" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 50]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ </bpws:sequence>
+ </bpws:flow>
+ <bpws:assign name="PrepareInvoice" validate="no">
+ <bpws:copy>
+ <bpws:from part="ticketNo" variable="ticketMessage"/>
+ <bpws:to part="invoice" variable="purchaseResponse">
+ <bpws:query><![CDATA[@locator]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="invoice" variable="purchaseResponse">
+ <bpws:query><![CDATA[@cost]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendInvoice" operation="purchaseTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="purchaseResponse">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ </bpws:reply>
+ </bpws:sequence>
+ </bpws:scope>
+ <bpws:assign name="SetDateNotReached" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[false()]]></bpws:from>
+ <bpws:to variable="dateReached"/>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:while name="PredateLoop">
+ <bpws:condition><![CDATA[$dateReached = 'false']]></bpws:condition>
+ <bpws:pick name="PredateMenu">
+ <bpws:onMessage operation="getTripDetail"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="detailRequest">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ <bpws:sequence name="GetTripDetail">
+ <bpws:assign name="PrepareTripDetail" validate="no">
+ <bpws:copy>
+ <bpws:from part="order" variable="purchaseRequest">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:from>
+ <bpws:to part="detail" variable="detailResponse">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="detail" variable="detailResponse">
+ <bpws:query><![CDATA[@cost]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendTripDetail"
+ operation="getTripDetail"
+ partnerLink="traveler"
+ portType="tns:TravelAgent" variable="detailResponse"/>
+ </bpws:sequence>
+ </bpws:onMessage>
+ <bpws:onMessage operation="cancelTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="cancelRequest">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ <bpws:throw faultName="tns:cancelation" name="CancelTrip"/>
+ </bpws:onMessage>
+ <bpws:onAlarm>
+ <bpws:until><![CDATA[$purchaseRequest.order/date]]></bpws:until>
+ <bpws:assign name="SetDateReached" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[true()]]></bpws:from>
+ <bpws:to variable="dateReached"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:onAlarm>
+ </bpws:pick>
+ </bpws:while>
+ </bpws:sequence>
+</bpws:process>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.bpelex 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="178" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.2/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.2/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)messages.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1258689763000"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.wsdl 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="trip" targetNamespace="http://jbpm.org/examples/trip"
+ xmlns:tns="http://jbpm.org/examples/trip" xmlns:tic="http://jbpm.org/examples/ticket"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:plt="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <import namespace="http://jbpm.org/examples/ticket" location="ticket.wsdl" />
+
+ <types>
+ <xsd:schema targetNamespace="http://jbpm.org/examples/trip">
+ <xsd:complexType name="Flight">
+ <xsd:attribute name="airline" type="xsd:string" use="required" />
+ <xsd:attribute name="number" type="xsd:int" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="Hotel">
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="RentalCar">
+ <xsd:attribute name="company" type="xsd:string" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="ItemSet">
+ <xsd:sequence>
+ <xsd:element name="flight" type="tns:Flight" nillable="true" />
+ <xsd:element name="hotel" type="tns:Hotel" nillable="true" />
+ <xsd:element name="rentalCar" type="tns:RentalCar" nillable="true" />
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:element name="order">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="items" type="tns:ItemSet" />
+ <xsd:element name="date" type="xsd:dateTime" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="invoice">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ <xsd:attribute name="cost" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="cancelation">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="penalty">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="fee" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="query">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="detail">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="items" type="tns:ItemSet" />
+ </xsd:sequence>
+ <xsd:attribute name="cost" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </types>
+
+ <message name="detailRequest">
+ <part name="query" element="tns:query" />
+ </message>
+
+ <message name="cancelRequest">
+ <part name="cancelation" element="tns:cancelation" />
+ </message>
+
+ <message name="purchaseResponse">
+ <part name="invoice" element="tns:invoice" />
+ </message>
+
+ <message name="cancelResponse">
+ <part name="penalty" element="tns:penalty" />
+ </message>
+
+ <message name="purchaseRequest">
+ <part name="order" element="tns:order" />
+ </message>
+
+ <message name="detailResponse">
+ <part name="detail" element="tns:detail" />
+ </message>
+
+ <portType name="TravelAgent">
+ <operation name="purchaseTrip">
+ <input message="tns:purchaseRequest" />
+ <output message="tns:purchaseResponse" />
+ </operation>
+
+ <operation name="cancelTrip">
+ <input message="tns:cancelRequest" />
+ <output message="tns:cancelResponse" />
+ </operation>
+
+ <operation name="getTripDetail">
+ <input message="tns:detailRequest" />
+ <output message="tns:detailResponse" />
+ </operation>
+ </portType>
+
+ <binding name="TravelAgentBinding" type="tns:TravelAgent">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+
+ <operation name="purchaseTrip">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/purchaseTrip" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+
+ <operation name="cancelTrip">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/cancelTrip" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+
+ <operation name="getTripDetail">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/getTripDetail" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+ </binding>
+
+ <service name="TravelService">
+ <port name="TravelAgentPort" binding="tns:TravelAgentBinding">
+ <soap:address
+ location="http://127.0.0.1:8080/Quickstart_bpel_travel_agency/travelAgent" />
+ </port>
+ </service>
+
+ <plt:partnerLinkType name="Traveler-Agent">
+ <plt:role name="Agent" portType="tns:TravelAgent" />
+ </plt:partnerLinkType>
+
+ <plt:partnerLinkType name="Agent-Ticket">
+ <plt:role name="TicketIssuer" portType="tic:TicketIssuer" />
+ </plt:partnerLinkType>
+
+ <vprop:property name="tripLocator" type="xsd:string" />
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:purchaseResponse" part="invoice">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:cancelRequest" part="cancelation">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:detailRequest" part="query">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tic:ticketMessage" part="ticketNo" />
+
+</definitions>
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/bpel/trip.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,52 @@
+<project name="Quickstart_bpel_travel_agency" default="deploy" basedir=".">
+
+ <description>${ant.project.name}</description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests" />
+ <property name="test.dir"
+ value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+ <property name="war.build.dir"
+ location="${deploy.dir}/${ant.project.name}/build/war/classes" />
+
+ <path id="compile-classpath">
+ <pathelement location="${org.jboss.as.home}/client/jboss-javaee.jar" />
+ </path>
+
+ <target name="deploywar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="${test.dir}/war/src"
+ destdir="${war.build.dir}"
+ target="1.5"
+ debug="true"
+ fork="true">
+ <classpath refid="compile-classpath" />
+ </javac>
+
+ <!-- War... -->
+ <war warfile="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"
+ webxml="${test.dir}/war/resources/WEB-INF/web.xml">
+ <classes dir="${war.build.dir}" />
+ </war>
+ </target>
+
+ <target name="undeploywar">
+ <delete file="${deploy.dir}/${ant.project.name}/${ant.project.name}.war" />
+ </target>
+
+ <target name="deploy" depends="deploywar">
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="${test.dir}/bpel"
+ destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+ </target>
+
+ <target name="undeploy" depends="undeploywar">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+ </target>
+
+</project>
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/build.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/web.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/web.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/web.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>ticketIssuerServlet</servlet-name>
+ <servlet-class>
+ org.jboss.soa.bpel.samples.quickstart.ticket.TicketIssuer_Impl
+ </servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ticketIssuerServlet</servlet-name>
+ <url-pattern>/ticketIssuer</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/resources/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,22 @@
+package org.jboss.soa.bpel.samples.quickstart.ticket;
+
+import javax.jws.WebMethod;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * interface to ticket issuer service
+ */
+@WebService(name = "TicketIssuer", targetNamespace = "http://jbpm.org/examples/ticket")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface TicketIssuer {
+
+ /**
+ * generate a ticket number, distinct from previous calls
+ */
+ @WebMethod(action = "http://jbpm.org/examples/ticket#createTicket")
+ @WebResult(name = "ticketNo", partName = "ticketNo")
+ public int createTicket();
+
+}
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the JBPM BPEL PUBLIC LICENSE AGREEMENT as
+ * published by JBoss Inc.; either version 1.0 of the License, or
+ * (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+package org.jboss.soa.bpel.samples.quickstart.ticket;
+
+import javax.jws.WebService;
+
+/**
+ * @author Alejandro Guizar
+ * @version $Revision$ $Date: 2006/09/27 03:53:07 $
+ */
+@WebService(endpointInterface = "org.jboss.soa.bpel.samples.quickstart.ticket.TicketIssuer", targetNamespace = "http://jbpm.org/examples/ticket", serviceName = "TicketService", portName = "TicketIssuerPort")
+public class TicketIssuer_Impl implements TicketIssuer {
+
+ private static int currentSession = 1;
+
+ public int createTicket() {
+ synchronized (TicketIssuer_Impl.class) {
+ return currentSession++;
+ }
+ }
+}
Property changes on: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: trunk/samples/quickstart/atm/bpel/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/atm/bpel/bpel-deploy.xml 2009-11-20 10:03:23 UTC (rev 287)
+++ trunk/samples/quickstart/atm/bpel/bpel-deploy.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
-<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03">
- <process name="atm:AtmFrontEnd" xmlns:atm="http://jbpm.org/examples/atm">
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:atm="http://jbpm.org/examples/atm"
+ xmlns:tic="http://jbpm.org/examples/ticket" xmlns:acc="http://jbpm.org/examples/account">
+ <process name="atm:AtmFrontEnd">
<active>true</active>
+
<provide partnerLink="atm">
<service name="atm:AtmFrontEndService" port="FrontEndPort" />
</provide>
+
<invoke partnerLink="ticket">
- <service name="tic:TicketService" port="TicketIssuerPort"
- xmlns:tic="http://jbpm.org/examples/ticket" />
+ <service name="tic:TicketService" port="TicketIssuerPort" />
</invoke>
+
<invoke partnerLink="account">
- <service name="acc:AccountService" port="AccountSystemPort"
- xmlns:acc="http://jbpm.org/examples/account" />
+ <service name="acc:AccountService" port="AccountSystemPort" />
</invoke>
</process>
</deploy>
\ No newline at end of file
Modified: trunk/samples/quickstart/atm/build.xml
===================================================================
--- trunk/samples/quickstart/atm/build.xml 2009-11-20 10:03:23 UTC (rev 287)
+++ trunk/samples/quickstart/atm/build.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -1,8 +1,6 @@
<project name="Quickstart_bpel_atm" default="deploy" basedir=".">
- <description>
- ${ant.project.name}
- </description>
+ <description>${ant.project.name}</description>
<!-- Import the base Ant build script... -->
<property file="../../../install/deployment.properties" />
Added: trunk/samples/quickstart/travel_agency/bpel/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/travel_agency/bpel/bpel-deploy.xml (rev 0)
+++ trunk/samples/quickstart/travel_agency/bpel/bpel-deploy.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:trp="http://jbpm.org/examples/trip"
+ xmlns:tic="http://jbpm.org/examples/ticket" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <process name="trp:TripReservation">
+ <active>true</active>
+
+ <provide partnerLink="traveler">
+ <service name="trp:TravelService" port="TravelAgentPort" />
+ </provide>
+
+ <invoke partnerLink="ticket">
+ <service name="tic:TicketService" port="TicketIssuerPort" />
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Property changes on: trunk/samples/quickstart/travel_agency/bpel/bpel-deploy.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/bpel/ticket.wsdl
===================================================================
--- trunk/samples/quickstart/travel_agency/bpel/ticket.wsdl (rev 0)
+++ trunk/samples/quickstart/travel_agency/bpel/ticket.wsdl 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions targetNamespace="http://jbpm.org/examples/ticket"
+ xmlns:tns="http://jbpm.org/examples/ticket" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+
+ <message name="ticketRequest">
+ <documentation>ticket creation request</documentation>
+ </message>
+
+ <message name="ticketMessage">
+ <documentation>ticket number wrapper</documentation>
+ <part name="ticketNo" type="xsd:int" />
+ </message>
+
+ <portType name="TicketIssuer">
+ <documentation>interface to ticket issuer service</documentation>
+
+ <operation name="createTicket">
+ <documentation>generate a ticket number, distinct from previous calls
+ </documentation>
+ <input message="tns:ticketRequest" />
+ <output message="tns:ticketMessage" />
+ </operation>
+ </portType>
+
+ <binding name="TicketIssuerBinding" type="tns:TicketIssuer">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
+
+ <operation name="createTicket">
+ <soap:operation soapAction="http://jbpm.org/examples/ticket#createTicket" />
+ <input>
+ <soap:body use="literal" namespace="http://jbpm.org/examples/ticket" />
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://jbpm.org/examples/ticket" />
+ </output>
+ </operation>
+ </binding>
+
+ <service name="TicketService">
+ <port name="TicketIssuerPort" binding="tns:TicketIssuerBinding">
+ <soap:address location="http://127.0.0.1:8080/Quickstart_bpel_travel_agency/ticketIssuer" />
+ </port>
+ </service>
+
+</definitions>
\ No newline at end of file
Property changes on: trunk/samples/quickstart/travel_agency/bpel/ticket.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/bpel/trip.bpel
===================================================================
--- trunk/samples/quickstart/travel_agency/bpel/trip.bpel (rev 0)
+++ trunk/samples/quickstart/travel_agency/bpel/trip.bpel 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpws:process exitOnStandardFault="yes" name="TripReservation"
+ targetNamespace="http://jbpm.org/examples/trip"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tic="http://jbpm.org/examples/ticket"
+ xmlns:tns="http://jbpm.org/examples/trip"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
+ location="trip.wsdl" namespace="http://jbpm.org/examples/trip"/>
+ <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
+ location="ticket.wsdl" namespace="http://jbpm.org/examples/ticket"/>
+ <bpws:partnerLinks>
+ <bpws:partnerLink myRole="Agent" name="traveler" partnerLinkType="tns:Traveler-Agent"/>
+ <bpws:partnerLink name="ticket"
+ partnerLinkType="tns:Agent-Ticket" partnerRole="TicketIssuer"/>
+ </bpws:partnerLinks>
+ <bpws:variables>
+ <bpws:variable messageType="tns:purchaseRequest" name="purchaseRequest"/>
+ <bpws:variable name="cost" type="xsd:double"/>
+ <bpws:variable name="items" type="tns:ItemSet"/>
+ <bpws:variable name="dateReached" type="xsd:boolean"/>
+ <bpws:variable messageType="tns:detailRequest" name="detailRequest"/>
+ <bpws:variable messageType="tns:detailResponse" name="detailResponse"/>
+ <bpws:variable messageType="tns:cancelRequest" name="cancelRequest"/>
+ <bpws:variable messageType="tns:cancelResponse" name="cancelResponse"/>
+ </bpws:variables>
+ <bpws:correlationSets>
+ <bpws:correlationSet name="trip" properties="tns:tripLocator"/>
+ </bpws:correlationSets>
+ <bpws:faultHandlers>
+ <bpws:catch faultName="tns:cancelation">
+ <bpws:sequence name="Cancel">
+ <bpws:compensateScope name="UndoPurchase" target="TripPurchase" />
+ <bpws:assign name="PreparePenalty" validate="no">
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="penalty" variable="cancelResponse">
+ <bpws:query><![CDATA[@fee]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendPenalty" operation="cancelTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="cancelResponse"/>
+ </bpws:sequence>
+ </bpws:catch>
+ </bpws:faultHandlers>
+ <bpws:sequence name="Main">
+ <bpws:scope name="TripPurchase">
+ <bpws:variables>
+ <bpws:variable messageType="tic:ticketRequest" name="ticketRequest"/>
+ <bpws:variable messageType="tic:ticketMessage" name="ticketMessage"/>
+ <bpws:variable messageType="tns:purchaseResponse" name="purchaseResponse"/>
+ </bpws:variables>
+ <bpws:sequence name="PurchaseTrip">
+ <bpws:receive createInstance="yes"
+ name="ReceiveTripOrder" operation="purchaseTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="purchaseRequest"/>
+ <bpws:flow>
+ <bpws:invoke inputVariable="ticketRequest"
+ name="CreateTicket" operation="createTicket"
+ outputVariable="ticketMessage"
+ partnerLink="ticket" portType="tic:TicketIssuer">
+ <bpws:correlations>
+ <bpws:correlation initiate="yes"
+ pattern="in" set="trip"/>
+ </bpws:correlations>
+ </bpws:invoke>
+ <bpws:sequence name="EvaluateCost">
+ <bpws:assign name="InitializeCost" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[0]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from part="order" variable="purchaseRequest">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:from>
+ <bpws:to variable="items"/>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:if name="FlightDecision">
+ <bpws:condition><![CDATA[$items/flight and string($items/flight/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="FlightReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="ReimburseFlight" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 300 + 100]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeFlight" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 300]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ <bpws:if name="HotelDecision">
+ <bpws:condition><![CDATA[$items/hotel and string($items/hotel/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="HotelReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="ReimburseHotel" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 100 + 25]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeHotel" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 100]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ <bpws:if name="CarDecision">
+ <bpws:condition><![CDATA[$items/rentalCar and string($items/rentalCar/@xsi:nil) != '1']]></bpws:condition>
+ <bpws:scope name="CarReservation">
+ <bpws:compensationHandler>
+ <bpws:assign name="reimburseCar" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost - 50 + 5]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:compensationHandler>
+ <bpws:assign name="ChargeCar" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[$cost + 50]]></bpws:from>
+ <bpws:to variable="cost"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:scope>
+ </bpws:if>
+ </bpws:sequence>
+ </bpws:flow>
+ <bpws:assign name="PrepareInvoice" validate="no">
+ <bpws:copy>
+ <bpws:from part="ticketNo" variable="ticketMessage"/>
+ <bpws:to part="invoice" variable="purchaseResponse">
+ <bpws:query><![CDATA[@locator]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="invoice" variable="purchaseResponse">
+ <bpws:query><![CDATA[@cost]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendInvoice" operation="purchaseTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="purchaseResponse">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ </bpws:reply>
+ </bpws:sequence>
+ </bpws:scope>
+ <bpws:assign name="SetDateNotReached" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[false()]]></bpws:from>
+ <bpws:to variable="dateReached"/>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:while name="PredateLoop">
+ <bpws:condition><![CDATA[$dateReached = 'false']]></bpws:condition>
+ <bpws:pick name="PredateMenu">
+ <bpws:onMessage operation="getTripDetail"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="detailRequest">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ <bpws:sequence name="GetTripDetail">
+ <bpws:assign name="PrepareTripDetail" validate="no">
+ <bpws:copy>
+ <bpws:from part="order" variable="purchaseRequest">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:from>
+ <bpws:to part="detail" variable="detailResponse">
+ <bpws:query><![CDATA[items]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from variable="cost"/>
+ <bpws:to part="detail" variable="detailResponse">
+ <bpws:query><![CDATA[@cost]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </bpws:assign>
+ <bpws:reply name="SendTripDetail"
+ operation="getTripDetail"
+ partnerLink="traveler"
+ portType="tns:TravelAgent" variable="detailResponse"/>
+ </bpws:sequence>
+ </bpws:onMessage>
+ <bpws:onMessage operation="cancelTrip"
+ partnerLink="traveler" portType="tns:TravelAgent" variable="cancelRequest">
+ <bpws:correlations>
+ <bpws:correlation initiate="no" set="trip"/>
+ </bpws:correlations>
+ <bpws:throw faultName="tns:cancelation" name="CancelTrip"/>
+ </bpws:onMessage>
+ <bpws:onAlarm>
+ <bpws:until><![CDATA[$purchaseRequest.order/date]]></bpws:until>
+ <bpws:assign name="SetDateReached" validate="no">
+ <bpws:copy>
+ <bpws:from><![CDATA[true()]]></bpws:from>
+ <bpws:to variable="dateReached"/>
+ </bpws:copy>
+ </bpws:assign>
+ </bpws:onAlarm>
+ </bpws:pick>
+ </bpws:while>
+ </bpws:sequence>
+</bpws:process>
Added: trunk/samples/quickstart/travel_agency/bpel/trip.bpelex
===================================================================
--- trunk/samples/quickstart/travel_agency/bpel/trip.bpelex (rev 0)
+++ trunk/samples/quickstart/travel_agency/bpel/trip.bpelex 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@variables/(a)children.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="178" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.1/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.2/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@compensationHandler/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@compensationHandler/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.1/@activities.1/@activities.3/@activity/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.2/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/@activities.2/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.0/@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)messages.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@messages.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@activity/@activities.2/@activity/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="trip.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1258689763000"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/travel_agency/bpel/trip.wsdl
===================================================================
--- trunk/samples/quickstart/travel_agency/bpel/trip.wsdl (rev 0)
+++ trunk/samples/quickstart/travel_agency/bpel/trip.wsdl 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="trip" targetNamespace="http://jbpm.org/examples/trip"
+ xmlns:tns="http://jbpm.org/examples/trip" xmlns:tic="http://jbpm.org/examples/ticket"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:plt="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <import namespace="http://jbpm.org/examples/ticket" location="ticket.wsdl" />
+
+ <types>
+ <xsd:schema targetNamespace="http://jbpm.org/examples/trip">
+ <xsd:complexType name="Flight">
+ <xsd:attribute name="airline" type="xsd:string" use="required" />
+ <xsd:attribute name="number" type="xsd:int" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="Hotel">
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="RentalCar">
+ <xsd:attribute name="company" type="xsd:string" use="required" />
+ </xsd:complexType>
+
+ <xsd:complexType name="ItemSet">
+ <xsd:sequence>
+ <xsd:element name="flight" type="tns:Flight" nillable="true" />
+ <xsd:element name="hotel" type="tns:Hotel" nillable="true" />
+ <xsd:element name="rentalCar" type="tns:RentalCar" nillable="true" />
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:element name="order">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="items" type="tns:ItemSet" />
+ <xsd:element name="date" type="xsd:dateTime" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="invoice">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ <xsd:attribute name="cost" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="cancelation">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="penalty">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="fee" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="query">
+ <xsd:complexType>
+ <xsd:sequence />
+ <xsd:attribute name="locator" type="xsd:int" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="detail">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="items" type="tns:ItemSet" />
+ </xsd:sequence>
+ <xsd:attribute name="cost" type="xsd:double" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ </types>
+
+ <message name="detailRequest">
+ <part name="query" element="tns:query" />
+ </message>
+
+ <message name="cancelRequest">
+ <part name="cancelation" element="tns:cancelation" />
+ </message>
+
+ <message name="purchaseResponse">
+ <part name="invoice" element="tns:invoice" />
+ </message>
+
+ <message name="cancelResponse">
+ <part name="penalty" element="tns:penalty" />
+ </message>
+
+ <message name="purchaseRequest">
+ <part name="order" element="tns:order" />
+ </message>
+
+ <message name="detailResponse">
+ <part name="detail" element="tns:detail" />
+ </message>
+
+ <portType name="TravelAgent">
+ <operation name="purchaseTrip">
+ <input message="tns:purchaseRequest" />
+ <output message="tns:purchaseResponse" />
+ </operation>
+
+ <operation name="cancelTrip">
+ <input message="tns:cancelRequest" />
+ <output message="tns:cancelResponse" />
+ </operation>
+
+ <operation name="getTripDetail">
+ <input message="tns:detailRequest" />
+ <output message="tns:detailResponse" />
+ </operation>
+ </portType>
+
+ <binding name="TravelAgentBinding" type="tns:TravelAgent">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+
+ <operation name="purchaseTrip">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/purchaseTrip" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+
+ <operation name="cancelTrip">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/cancelTrip" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+
+ <operation name="getTripDetail">
+ <soap:operation soapAction="http://jbpm.org/examples/trip/getTripDetail" />
+ <input>
+ <soap:body use="literal" />
+ </input>
+ <output>
+ <soap:body use="literal" />
+ </output>
+ </operation>
+ </binding>
+
+ <service name="TravelService">
+ <port name="TravelAgentPort" binding="tns:TravelAgentBinding">
+ <soap:address
+ location="http://127.0.0.1:8080/Quickstart_bpel_travel_agency/travelAgent" />
+ </port>
+ </service>
+
+ <plt:partnerLinkType name="Traveler-Agent">
+ <plt:role name="Agent" portType="tns:TravelAgent" />
+ </plt:partnerLinkType>
+
+ <plt:partnerLinkType name="Agent-Ticket">
+ <plt:role name="TicketIssuer" portType="tic:TicketIssuer" />
+ </plt:partnerLinkType>
+
+ <vprop:property name="tripLocator" type="xsd:string" />
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:purchaseResponse" part="invoice">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:cancelRequest" part="cancelation">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tns:detailRequest" part="query">
+ <vprop:query>@locator</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:tripLocator"
+ messageType="tic:ticketMessage" part="ticketNo" />
+
+</definitions>
Property changes on: trunk/samples/quickstart/travel_agency/bpel/trip.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/build.xml
===================================================================
--- trunk/samples/quickstart/travel_agency/build.xml (rev 0)
+++ trunk/samples/quickstart/travel_agency/build.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,61 @@
+<project name="Quickstart_bpel_travel_agency" default="deploy" basedir=".">
+
+ <description>${ant.project.name}</description>
+
+ <!-- Import the base Ant build script... -->
+ <property file="../../../install/deployment.properties" />
+
+ <property name="version" value="1" />
+
+ <property name="server.dir"
+ value="${org.jboss.as.home}/server/${org.jboss.as.config}" />
+ <property name="conf.dir" value="${server.dir}/conf" />
+ <property name="deploy.dir" value="${server.dir}/deploy" />
+ <property name="server.lib.dir" value="${server.dir}/lib" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+ <property name="war.build.dir" location="build/war/classes" />
+
+ <path id="compile-classpath">
+ <pathelement location="${org.jboss.as.home}/client/jboss-javaee.jar" />
+ </path>
+
+ <target name="makewar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${war.build.dir}" />
+ <javac srcdir="war/src"
+ destdir="${war.build.dir}"
+ target="1.5"
+ debug="true">
+ <classpath refid="compile-classpath" />
+ </javac>
+ <copy todir="${war.build.dir}">
+ <fileset dir="war/src" includes="**/*.xml" />
+ </copy>
+
+ <!-- War... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${basedir}/war/resources/WEB-INF/web.xml">
+ <classes dir="${war.build.dir}" />
+ </war>
+ </target>
+
+ <target name="deploywar" depends="makewar">
+ <copy todir="${deploy.dir}" file="build/${ant.project.name}.war" />
+ </target>
+
+ <target name="undeploywar">
+ <delete file="${deploy.dir}/${ant.project.name}.war" />
+ </target>
+
+ <target name="deploy" depends="deploywar">
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="bpel" destfile="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+ <target name="undeploy" depends="undeploywar">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Property changes on: trunk/samples/quickstart/travel_agency/build.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/web.xml
===================================================================
--- trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/web.xml (rev 0)
+++ trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/web.xml 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>ticketIssuerServlet</servlet-name>
+ <servlet-class>
+ org.jboss.soa.bpel.samples.quickstart.ticket.TicketIssuer_Impl
+ </servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>ticketIssuerServlet</servlet-name>
+ <url-pattern>/ticketIssuer</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: trunk/samples/quickstart/travel_agency/war/resources/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
===================================================================
--- trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java (rev 0)
+++ trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,22 @@
+package org.jboss.soa.bpel.samples.quickstart.ticket;
+
+import javax.jws.WebMethod;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ * interface to ticket issuer service
+ */
+@WebService(name = "TicketIssuer", targetNamespace = "http://jbpm.org/examples/ticket")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface TicketIssuer {
+
+ /**
+ * generate a ticket number, distinct from previous calls
+ */
+ @WebMethod(action = "http://jbpm.org/examples/ticket#createTicket")
+ @WebResult(name = "ticketNo", partName = "ticketNo")
+ public int createTicket();
+
+}
Property changes on: trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
===================================================================
--- trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java (rev 0)
+++ trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java 2009-11-20 10:49:57 UTC (rev 288)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the JBPM BPEL PUBLIC LICENSE AGREEMENT as
+ * published by JBoss Inc.; either version 1.0 of the License, or
+ * (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+package org.jboss.soa.bpel.samples.quickstart.ticket;
+
+import javax.jws.WebService;
+
+/**
+ * @author Alejandro Guizar
+ * @version $Revision$ $Date: 2006/09/27 03:53:07 $
+ */
+@WebService(endpointInterface = "org.jboss.soa.bpel.samples.quickstart.ticket.TicketIssuer", targetNamespace = "http://jbpm.org/examples/ticket", serviceName = "TicketService", portName = "TicketIssuerPort")
+public class TicketIssuer_Impl implements TicketIssuer {
+
+ private static int currentSession = 1;
+
+ public int createTicket() {
+ synchronized (TicketIssuer_Impl.class) {
+ return currentSession++;
+ }
+ }
+}
Property changes on: trunk/samples/quickstart/travel_agency/war/src/org/jboss/soa/bpel/samples/quickstart/ticket/TicketIssuer_Impl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
14 years, 6 months
riftsaw SVN: r287 - in trunk: console and 17 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2009-11-20 05:03:23 -0500 (Fri, 20 Nov 2009)
New Revision: 287
Modified:
trunk/console/identity/pom.xml
trunk/console/integration/pom.xml
trunk/console/pom.xml
trunk/distribution/pom.xml
trunk/distribution/src/main/assembly/bin.xml
trunk/docs/docbook/gettingstartedguide/pom.xml
trunk/docs/docbook/gettingstartedguide/src/main/master.xml
trunk/docs/docbook/pom.xml
trunk/docs/docbook/userguide/pom.xml
trunk/docs/docbook/userguide/src/main/master.xml
trunk/integration-tests/pom.xml
trunk/pom.xml
trunk/qa/build.xml
trunk/runtime/deployer/pom.xml
trunk/runtime/engine-assembly/pom.xml
trunk/runtime/engine/pom.xml
trunk/runtime/jbossesb-bpel-assembly/pom.xml
trunk/runtime/jbossesb-bpel/pom.xml
trunk/runtime/pom.xml
Log:
Update version to 2.0-M2.
Modified: trunk/console/identity/pom.xml
===================================================================
--- trunk/console/identity/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/console/identity/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,14 +4,14 @@
<groupId>org.jboss.soa.bpel.console</groupId>
<artifactId>identity</artifactId>
<packaging>jar</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Console::Identity</name>
<url>http://www.jboss.org</url>
<parent>
<groupId>org.jboss.soa.bpel.console</groupId>
<artifactId>parent</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<build>
Modified: trunk/console/integration/pom.xml
===================================================================
--- trunk/console/integration/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/console/integration/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,14 +4,14 @@
<groupId>org.jboss.soa.bpel.console</groupId>
<artifactId>integration</artifactId>
<packaging>jar</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Console::Integration</name>
<url>http://www.jboss.org</url>
<parent>
<groupId>org.jboss.soa.bpel.console</groupId>
<artifactId>parent</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<!-- Properties -->
@@ -51,7 +51,7 @@
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>engine</artifactId>
+ <artifactId>riftsaw-engine</artifactId>
<version>${version}</version>
</dependency>
Modified: trunk/console/pom.xml
===================================================================
--- trunk/console/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/console/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -5,13 +5,13 @@
<groupId>org.jboss.soa.bpel.console</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Console</name>
<parent>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<modules>
Modified: trunk/distribution/pom.xml
===================================================================
--- trunk/distribution/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/distribution/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -23,13 +23,13 @@
<artifactId>distribution</artifactId>
<packaging>pom</packaging>
<name>RiftSaw::Distribution</name>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<url>http://www.jboss.org/riftsaw</url>
<parent>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<relativePath>../pom.xml</relativePath>
</parent>
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -62,7 +62,7 @@
</fileSet>
<fileSet>
- <directory>../runtime/engine-assembly/target/riftsaw-2.0-SNAPSHOT/</directory>
+ <directory>../runtime/engine-assembly/target/riftsaw-2.0-M2/</directory>
<outputDirectory>/modules/riftsaw.sar</outputDirectory>
</fileSet>
@@ -77,14 +77,14 @@
</fileSet>
<fileSet>
- <directory>../runtime/engine-assembly/target/ode-distro/jboss-riftsaw-war-2.0-SNAPSHOT/lib</directory>
+ <directory>../runtime/engine-assembly/target/ode-distro/jboss-riftsaw-war-2.0-M2/lib</directory>
<outputDirectory>lib</outputDirectory>
</fileSet>
<!-- Short term fix as dependency on riftsaw-utils is not being resolved,
so copy from BPEL war instead -->
<fileSet>
- <directory>../runtime/engine-assembly/target/riftsaw-2.0-SNAPSHOT/lib</directory>
+ <directory>../runtime/engine-assembly/target/riftsaw-2.0-M2/lib</directory>
<outputDirectory>/samples/common/lib</outputDirectory>
<includes>
<include>riftsaw-utils-*.jar</include>
Modified: trunk/docs/docbook/gettingstartedguide/pom.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/docs/docbook/gettingstartedguide/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -13,7 +13,7 @@
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>docs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
Modified: trunk/docs/docbook/gettingstartedguide/src/main/master.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/master.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/docs/docbook/gettingstartedguide/src/main/master.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -5,7 +5,7 @@
<book lang="en">
<bookinfo>
- <title>RiftSaw 2.0-SNAPSHOT</title>
+ <title>RiftSaw 2.0-M2</title>
<subtitle>Getting Started Guide</subtitle>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
</bookinfo>
Modified: trunk/docs/docbook/pom.xml
===================================================================
--- trunk/docs/docbook/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/docs/docbook/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -6,14 +6,14 @@
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>docs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<packaging>pom</packaging>
<name>RiftSaw::Docs</name>
<parent>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<profiles>
Modified: trunk/docs/docbook/userguide/pom.xml
===================================================================
--- trunk/docs/docbook/userguide/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/docs/docbook/userguide/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -13,7 +13,7 @@
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>docs</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
Modified: trunk/docs/docbook/userguide/src/main/master.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/master.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/docs/docbook/userguide/src/main/master.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -5,7 +5,7 @@
<book lang="en">
<bookinfo>
- <title>RiftSaw 2.0-SNAPSHOT</title>
+ <title>RiftSaw 2.0-M2</title>
<subtitle>User Guide</subtitle>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="module/author_group.xml"/>
</bookinfo>
Modified: trunk/integration-tests/pom.xml
===================================================================
--- trunk/integration-tests/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/integration-tests/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -5,13 +5,13 @@
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>integration-tests</artifactId>
<packaging>pom</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Integration-Tests</name>
<parent>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<properties>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<packaging>pom</packaging>
<name>RiftSaw</name>
<url>http://www.jboss.org/bpel</url>
Modified: trunk/qa/build.xml
===================================================================
--- trunk/qa/build.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/qa/build.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -9,7 +9,7 @@
<!-- CONFIGURABLE PROPERTIES -->
<property name="database" value="hsqldb" />
- <property name="riftsaw.version" value="2.0-SNAPSHOT" />
+ <property name="riftsaw.version" value="2.0-M2" />
<property name="riftsaw.home" value="${riftsaw.parent.dir}/riftsaw-${riftsaw.version}" /> <!-- riftsaw.home should not be configured. change riftsaw.parent.dir instead -->
<property name="jboss.parent.dir" value="${riftsaw.home}" />
Modified: trunk/runtime/deployer/pom.xml
===================================================================
--- trunk/runtime/deployer/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/deployer/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,14 +4,14 @@
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>deployer</artifactId>
<packaging>jar</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Runtime::Deployer</name>
<url>http://www.jboss.org</url>
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<dependencies>
Modified: trunk/runtime/engine/pom.xml
===================================================================
--- trunk/runtime/engine/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/engine/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,14 +4,14 @@
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>riftsaw-engine</artifactId>
<packaging>jar</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Runtime::Engine</name>
<url>http://www.jboss.org</url>
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<dependencies>
@@ -85,7 +85,7 @@
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>deployer</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/runtime/engine-assembly/pom.xml
===================================================================
--- trunk/runtime/engine-assembly/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/engine-assembly/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>riftsaw</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<packaging>jboss-sar</packaging>
<name>RiftSaw::Runtime::Engine-Assembly</name>
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<dependencies>
@@ -128,8 +128,8 @@
<phase>package</phase>
<configuration>
<tasks>
- <delete file="${basedir}/target/riftsaw-2.0-SNAPSHOT/META-INF/jboss-service.xml"/>
- <delete file="${basedir}/target/riftsaw-2.0-SNAPSHOT/lib/geronimo-transaction-2.0.1.jar"/>
+ <delete file="${basedir}/target/riftsaw-2.0-M2/META-INF/jboss-service.xml"/>
+ <delete file="${basedir}/target/riftsaw-2.0-M2/lib/geronimo-transaction-2.0.1.jar"/>
</tasks>
</configuration>
<goals>
Modified: trunk/runtime/jbossesb-bpel/pom.xml
===================================================================
--- trunk/runtime/jbossesb-bpel/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/jbossesb-bpel/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -4,21 +4,21 @@
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>jbossesb-bpel</artifactId>
<packaging>jar</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Runtime::JBossESB-BPEL</name>
<url>http://www.jboss.org</url>
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<dependencies>
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>riftsaw-engine</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel.dependencies.esb</groupId>
Modified: trunk/runtime/jbossesb-bpel-assembly/pom.xml
===================================================================
--- trunk/runtime/jbossesb-bpel-assembly/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/jbossesb-bpel-assembly/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -3,19 +3,19 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>bpel.esb</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<packaging>jboss-esb</packaging>
<name>RiftSaw::Runtime::JBossESB-BPEL-Assembly</name>
<parent>
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<dependencies>
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
<artifactId>jbossesb-bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</dependency>
</dependencies>
Modified: trunk/runtime/pom.xml
===================================================================
--- trunk/runtime/pom.xml 2009-11-20 06:16:33 UTC (rev 286)
+++ trunk/runtime/pom.xml 2009-11-20 10:03:23 UTC (rev 287)
@@ -5,13 +5,13 @@
<groupId>org.jboss.soa.bpel</groupId>
<artifactId>runtime</artifactId>
<packaging>pom</packaging>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
<name>RiftSaw::Runtime</name>
<parent>
<groupId>org.jboss.soa</groupId>
<artifactId>bpel</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-M2</version>
</parent>
<modules>
14 years, 6 months
riftsaw SVN: r286 - in trunk/runtime/engine-assembly: src/main/resources/META-INF and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2009-11-20 01:16:33 -0500 (Fri, 20 Nov 2009)
New Revision: 286
Removed:
trunk/runtime/engine-assembly/resources/
Modified:
trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml
Log:
RIFTSAW-24, moving default datasource
Modified: trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml 2009-11-20 06:07:57 UTC (rev 285)
+++ trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml 2009-11-20 06:16:33 UTC (rev 286)
@@ -15,7 +15,7 @@
<prepared-statement-cache-size>32</prepared-statement-cache-size>
<depends>jboss:service=h2,database=BPELDB</depends>
</local-tx-datasource>
- <mbean code="org.jboss.internal.soa.esb.dependencies.H2Database"
+ <mbean code="org.jboss.soa.bpel.runtime.db.H2Database"
name="jboss:service=h2,database=BPELDB">
<attribute name="Database">BPELDB</attribute>
<attribute name="DataDir">${jboss.server.data.dir}</attribute>
14 years, 6 months
riftsaw SVN: r285 - in trunk: distribution/src and 4 other directories.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2009-11-20 01:07:57 -0500 (Fri, 20 Nov 2009)
New Revision: 285
Added:
trunk/distribution/src/main/release/bin/
Removed:
trunk/distribution/src/bin/
trunk/runtime/engine-assembly/build.xml
trunk/runtime/engine-assembly/war/
Modified:
trunk/distribution/pom.xml
trunk/distribution/src/main/assembly/bin.xml
Log:
RIFTSAW-24, adding bin and lib directory back into the distribution
Modified: trunk/distribution/pom.xml
===================================================================
--- trunk/distribution/pom.xml 2009-11-20 05:13:52 UTC (rev 284)
+++ trunk/distribution/pom.xml 2009-11-20 06:07:57 UTC (rev 285)
@@ -51,6 +51,16 @@
<version>${pom.version}</version>
</dependency>
<dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-bpel-compiler</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-bpel-obj</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
@@ -66,12 +76,56 @@
<version>1.1.1</version>
</dependency>
<dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.7.0</version>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>2.9.0</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-dom</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-xpath</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-xqj</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>9.x</version>
+ </dependency>
-
<!-- database driver -->
<dependency>
<groupId>mysql</groupId>
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-20 05:13:52 UTC (rev 284)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 06:07:57 UTC (rev 285)
@@ -72,7 +72,7 @@
</fileSet>
<fileSet>
- <directory>src/bin</directory>
+ <directory>src/main/release/bin</directory>
<outputDirectory>bin</outputDirectory>
</fileSet>
@@ -160,6 +160,32 @@
<include>org.jboss.bpm:gwt-console-rpc</include>
</includes>
</dependencySet>
+
+ <dependencySet>
+ <outputDirectory>/lib</outputDirectory>
+ <includes>
+ <include>commons-codec:commons-codec</include>
+ <include>commons-collections:commons-collections</include>
+ <include>commons-httpclient:commons-httpclient</include>
+ <include>commons-logging:commons-logging</include>
+ <include>commons-pool:commons-pool</include>
+ <include>jaxen:jaxen</include>
+ <include>log4j:log4j</include>
+ <include>org.jboss.soa.bpel:riftsaw-bpel-api</include>
+ <include>org.jboss.soa.bpel:riftsaw-bpel-compiler</include>
+ <include>org.jboss.soa.bpel:riftsaw-bpel-obj</include>
+ <include>org.jboss.soa.bpel:riftsaw-bpel-schemas</include>
+ <include>org.jboss.soa.bpel:riftsaw-tools</include>
+ <include>org.jboss.soa.bpel:riftsaw-utils</include>
+ <include>net.sf.saxon:saxon</include>
+ <include>net.sf.saxon:saxon-dom</include>
+ <include>net.sf.saxon:saxon-xpath</include>
+ <include>net.sf.saxon:saxon-xqj</include>
+ <include>wsdl4j:wsdl4j</include>
+ <include>xalan:xalan</include>
+ <include>xerces:xercesImpl</include>
+ </includes>
+ </dependencySet>
</dependencySets>
Copied: trunk/distribution/src/main/release/bin (from rev 284, trunk/distribution/src/bin)
Property changes on: trunk/distribution/src/main/release/bin
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: trunk/runtime/engine-assembly/build.xml
===================================================================
--- trunk/runtime/engine-assembly/build.xml 2009-11-20 05:13:52 UTC (rev 284)
+++ trunk/runtime/engine-assembly/build.xml 2009-11-20 06:07:57 UTC (rev 285)
@@ -1,96 +0,0 @@
-<project name="engine-assembly" default="package-bpel" basedir=".">
-
- <target name="unzip-ode">
- <mkdir dir="${basedir}/target/ode-distro"/>
- <echo>${local.repo}</echo>
- <unzip dest="${basedir}/target/ode-distro" src="${local.repo}/org/jboss/soa/bpel/jboss-riftsaw-war/${riftsaw.engine.version}/jboss-riftsaw-war-${riftsaw.engine.version}.zip"/>
- </target>
-
- <target name="create-war" depends="unzip-ode">
- <mkdir dir="${basedir}/target/bpel.war"/>
- <unzip dest="${basedir}/target/bpel.war" src="${basedir}/target/ode-distro/jboss-riftsaw-war-${riftsaw.engine.version}/bpel.war"/>
- <delete dir="${basedir}/target/bpel.war/WEB-INF/lib">
- <include name="geronimo-jta*.jar"/>
- <include name="xerces*.jar"/>
- <include name="xml-apis*.jar"/>
- <include name="riftsaw-dao-jpa*.jar" />
- <include name="axis2-spring-*.jar" />
- <include name="axis2-saaj-api-*.jar" />
- <!-- Required for ODE2.0
- <include name="saxon-xqj-*.jar" />
- -->
- <include name="woden-impl-dom-*.jar" />
- <include name="geronimo-kernel-*.jar" />
- </delete>
- <copy todir="${basedir}/target/bpel.war" overwrite="true" >
- <fileset dir="war"/>
- </copy>
-
- <!-- Remove the persistence.xml from riftsaw-bpel-store -->
- <mkdir dir="${basedir}/target/riftsaw-bpel-store" />
- <unzip dest="${basedir}/target/riftsaw-bpel-store" src="${basedir}/target/bpel.war/WEB-INF/lib/riftsaw-bpel-store-${riftsaw.engine.version}.jar" />
- <delete file="${basedir}/target/riftsaw-bpel-store/META-INF/persistence.xml" />
- <jar destfile="${basedir}/target/bpel.war/WEB-INF/lib/riftsaw-bpel-store-${riftsaw.engine.version}.jar" basedir="${basedir}/target/riftsaw-bpel-store" />
-
- <!-- Remove the persistence.xml from riftsaw-bpel-dao -->
- <mkdir dir="${basedir}/target/riftsaw-bpel-dao" />
- <unzip dest="${basedir}/target/riftsaw-bpel-dao" src="${basedir}/target/bpel.war/WEB-INF/lib/riftsaw-bpel-dao-${riftsaw.engine.version}.jar" />
- <delete file="${basedir}/target/riftsaw-bpel-dao/META-INF/persistence.xml" />
- <jar destfile="${basedir}/target/bpel.war/WEB-INF/lib/riftsaw-bpel-dao-${riftsaw.engine.version}.jar" basedir="${basedir}/target/riftsaw-bpel-dao" />
- </target>
-
- <target name="create-sar">
- <mkdir dir="${basedir}/target/bpel"/>
- <mkdir dir="${basedir}/target/bpel/lib"/>
-
- <unzip dest="${basedir}/target/bpel" src="${dependency.bpel.engine}"/>
- <!-- copy todir="${basedir}/target/bpel/lib" file="${dependency.bpel.engine}"/ -->
-
- <!-- Copy libs from war for now -->
- <copy todir="${basedir}/target/bpel/lib" >
- <fileset dir="${basedir}/target/bpel.war/WEB-INF/lib">
- <include name="commons-lang-*.jar" />
- <!--include name="derby*.jar" / Overwritten in distribution module-->
- <include name="geronimo-connector*.jar" />
- <include name="riftsaw-bpel-api*.jar" />
- <include name="riftsaw-bpel-compiler*.jar" />
- <include name="riftsaw-bpel-dao*.jar" />
- <include name="riftsaw-bpel-ql*.jar" />
- <include name="riftsaw-bpel-schemas*.jar" />
- <include name="riftsaw-bpel-store*.jar" />
- <include name="riftsaw-dao-hibernate*.jar" />
-
- <!-- ODE1.3.3 -->
- <include name="riftsaw-bpel-epr*.jar" />
- <include name="riftsaw-bpel-obj*.jar" />
- <include name="riftsaw-bpel-runtime*.jar" />
- <include name="riftsaw-agents*.jar" />
- <!-- -->
-
- <!-- ODE2
- <include name="riftsaw-engine*.jar" />
- <include name="riftsaw-il-common*.jar" />
- <include name="riftsaw-runtimes*.jar" />
- -->
-
- <include name="riftsaw-jacob*.jar" />
- <include name="riftsaw-scheduler-simple*.jar" />
- <include name="riftsaw-utils*.jar" />
- <include name="saxon*.jar" />
- <include name="xmlbeans*.jar" />
- </fileset>
- </copy>
-
- <!--
- <move file="${basedir}/target/bpel.war" tofile="${basedir}/target/bpel/bpel.war" />
- -->
-
- <copy todir="${basedir}/target/bpel" >
- <fileset dir="${basedir}/resources" />
- </copy>
-
- </target>
-
- <target name="package-bpel" depends="create-war,create-sar"/>
-
-</project>
14 years, 6 months
riftsaw SVN: r284 - in trunk/distribution/src: bin and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2009-11-20 00:13:52 -0500 (Fri, 20 Nov 2009)
New Revision: 284
Added:
trunk/distribution/src/bin/
trunk/distribution/src/bin/bpelc
trunk/distribution/src/bin/bpelc.bat
trunk/distribution/src/bin/sendsoap
trunk/distribution/src/bin/sendsoap.bat
Modified:
trunk/distribution/src/main/assembly/bin.xml
Log:
RIFTSAW-24, adding bin directory
Added: trunk/distribution/src/bin/bpelc
===================================================================
--- trunk/distribution/src/bin/bpelc (rev 0)
+++ trunk/distribution/src/bin/bpelc 2009-11-20 05:13:52 UTC (rev 284)
@@ -0,0 +1,107 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+cygwin=false;
+darwin=false;
+case "`uname`" in
+ Darwin*)
+ darwin=true
+ if [ -z "$JAVA_HOME" ] ; then
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
+ fi
+ ;;
+ CYGWIN*)
+ cygwin=true
+ ;;
+esac
+
+## Try to find our home directory
+command="$0"
+progname=`basename "$0"`
+# need this for relative symlinks
+while [ -h "$command" ] ; do
+ ls=`ls -ld "$command"`
+ link=`expr "$command" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ command="$link"
+ else
+ command=`dirname "$command"`"/$link"
+ fi
+done
+
+ODE_BIN=`dirname "$command"`
+ODE_BIN=`cd "$ODE_BIN" && pwd`
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$ODE_BIN" ] && ODE_BIN=`cygpath --unix "$ODE_BIN"`
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+ODE_HOME=`cd "$ODE_BIN/.." && pwd`
+LIB="$ODE_HOME/lib"
+ETC="$ODE_HOME/etc"
+
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD=`which java 2> /dev/null `
+ if [ -z "$JAVACMD" ] ; then
+ JAVACMD=java
+ fi
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly."
+ echo " We cannot execute $JAVACMD"
+ exit 1
+fi
+
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly (no such directory)."
+ exit 1
+fi
+
+# Add user-specified classpath.
+LOCALCLASSPATH="$ODE_CLASSPATH"
+
+# Add Ode libraries
+for f in $LIB/*.jar
+do
+ LOCALCLASSPATH=$LOCALCLASSPATH:$f
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ ODE_HOME=`cygpath --windows "$ODE_HOME"`
+ JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
+ LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
+ CYGHOME=`cygpath --windows "$HOME"`
+ LIB=`cygpath --windows "$LIB"`
+ ODE_BIN=`cygpath --windows "$ODE_BIN"`
+ ETC=`cygpath --windows "$ETC"`
+fi
+
+exec "$JAVACMD" $ODE_JAVAOPTS -cp "$LOCALCLASSPATH" org.apache.ode.tools.bpelc.cline.BpelC "$@"
Added: trunk/distribution/src/bin/bpelc.bat
===================================================================
--- trunk/distribution/src/bin/bpelc.bat (rev 0)
+++ trunk/distribution/src/bin/bpelc.bat 2009-11-20 05:13:52 UTC (rev 284)
@@ -0,0 +1,67 @@
+@echo off
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+if not "%OS%"=="Windows_NT" goto wrongOS
+
+@setlocal
+
+set command=%0
+set progname=%~n0
+
+set ODE_HOME=%~dp0..
+set ODE_BIN=%~dp0..\bin
+set ODE_LIB=%~dp0..\lib
+set ODE_ETC=%~dp0..\etc
+
+if "%JAVA_HOME%"=="" goto noJavaHome
+if not exist "%JAVA_HOME%"\bin\java.exe goto noJava
+
+set JAVACMD="%JAVA_HOME%\bin\java.exe"
+
+set LOCALCLASSPATH=%ODE_CLASSPATH%;%ODE_LIB%
+FOR %%c in (%ODE_LIB%\*.jar) DO (call :append_cp %%c)
+
+%JAVACMD% %ODE_JAVAOPTS% -cp "%LOCALCLASSPATH%" org.apache.ode.tools.bpelc.cline.BpelC %*
+goto end
+
+:append_cp
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%1
+goto end
+
+=====================================================================
+ ERRORS
+=====================================================================
+
+
+:wrongOS
+echo ERROR: ODE requires WindowsNT/XP. Aborting.
+goto end
+
+:noJavaHome
+echo ERROR: JAVA_HOME not set! Aborting.
+goto end
+
+:noJava
+echo ERROR: The Java VM (java.exe) was not found in %JAVA_HOME%\bin! Aborting
+goto end
+
+REM ================================================================
+REM END
+REM ================================================================
+:end
+@endlocal
Added: trunk/distribution/src/bin/sendsoap
===================================================================
--- trunk/distribution/src/bin/sendsoap (rev 0)
+++ trunk/distribution/src/bin/sendsoap 2009-11-20 05:13:52 UTC (rev 284)
@@ -0,0 +1,107 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+cygwin=false;
+darwin=false;
+case "`uname`" in
+ Darwin*)
+ darwin=true
+ if [ -z "$JAVA_HOME" ] ; then
+ JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
+ fi
+ ;;
+ CYGWIN*)
+ cygwin=true
+ ;;
+esac
+
+## Try to find our home directory
+command="$0"
+progname=`basename "$0"`
+# need this for relative symlinks
+while [ -h "$command" ] ; do
+ ls=`ls -ld "$command"`
+ link=`expr "$command" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ command="$link"
+ else
+ command=`dirname "$command"`"/$link"
+ fi
+done
+
+ODE_BIN=`dirname "$command"`
+ODE_BIN=`cd "$ODE_BIN" && pwd`
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$ODE_BIN" ] && ODE_BIN=`cygpath --unix "$ODE_BIN"`
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+ODE_HOME=`cd "$ODE_BIN/.." && pwd`
+LIB="$ODE_HOME/lib"
+ETC="$ODE_HOME/etc"
+
+
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD=`which java 2> /dev/null `
+ if [ -z "$JAVACMD" ] ; then
+ JAVACMD=java
+ fi
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly."
+ echo " We cannot execute $JAVACMD"
+ exit 1
+fi
+
+if [ ! -d "$JAVA_HOME" ] ; then
+ echo "Error: JAVA_HOME is not defined correctly (no such directory)."
+ exit 1
+fi
+
+# Add user-specified classpath.
+LOCALCLASSPATH="$ODE_CLASSPATH"
+
+# Add Ode libraries
+for f in $LIB/*.jar
+do
+ LOCALCLASSPATH=$LOCALCLASSPATH:$f
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ ODE_HOME=`cygpath --windows "$ODE_HOME"`
+ JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
+ LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
+ CYGHOME=`cygpath --windows "$HOME"`
+ LIB=`cygpath --windows "$LIB"`
+ ODE_BIN=`cygpath --windows "$ODE_BIN"`
+ ETC=`cygpath --windows "$ETC"`
+fi
+
+exec "$JAVACMD" $ODE_JAVAOPTS -cp "$LOCALCLASSPATH" org.apache.ode.tools.sendsoap.cline.HttpSoapSender "$@"
Added: trunk/distribution/src/bin/sendsoap.bat
===================================================================
--- trunk/distribution/src/bin/sendsoap.bat (rev 0)
+++ trunk/distribution/src/bin/sendsoap.bat 2009-11-20 05:13:52 UTC (rev 284)
@@ -0,0 +1,67 @@
+@echo off
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+if not "%OS%"=="Windows_NT" goto wrongOS
+
+@setlocal
+
+set command=%0
+set progname=%~n0
+
+set ODE_HOME=%~dp0..
+set ODE_BIN=%~dp0..\bin
+set ODE_LIB=%~dp0..\lib
+set ODE_ETC=%~dp0..\etc
+
+if "%JAVA_HOME%"=="" goto noJavaHome
+if not exist "%JAVA_HOME%"\bin\java.exe goto noJava
+
+set JAVACMD="%JAVA_HOME%\bin\java.exe"
+
+set LOCALCLASSPATH=%ODE_CLASSPATH%;%ODE_LIB%
+FOR %%c in (%ODE_LIB%\*.jar) DO (call :append_cp %%c)
+
+%JAVACMD% %ODE_JAVAOPTS% -cp "%LOCALCLASSPATH%" org.apache.ode.tools.sendsoap.cline.HttpSoapSender %*
+goto end
+
+:append_cp
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%1
+goto end
+
+=====================================================================
+ ERRORS
+=====================================================================
+
+
+:wrongOS
+echo ERROR: ODE requires WindowsNT/XP. Aborting.
+goto end
+
+:noJavaHome
+echo ERROR: JAVA_HOME not set! Aborting.
+goto end
+
+:noJava
+echo ERROR: The Java VM (java.exe) was not found in %JAVA_HOME%\bin! Aborting
+goto end
+
+REM ================================================================
+REM END
+REM ================================================================
+:end
+@endlocal
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-20 04:52:19 UTC (rev 283)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 05:13:52 UTC (rev 284)
@@ -72,7 +72,7 @@
</fileSet>
<fileSet>
- <directory>../runtime/engine-assembly/target/ode-distro/jboss-riftsaw-war-2.0-SNAPSHOT/bin</directory>
+ <directory>src/bin</directory>
<outputDirectory>bin</outputDirectory>
</fileSet>
14 years, 6 months
riftsaw SVN: r283 - in trunk: console/integration and 13 other directories.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2009-11-19 23:52:19 -0500 (Thu, 19 Nov 2009)
New Revision: 283
Added:
trunk/runtime/engine-assembly/src/
trunk/runtime/engine-assembly/src/main/
trunk/runtime/engine-assembly/src/main/resources/
trunk/runtime/engine-assembly/src/main/resources/META-INF/
trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml
trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-beans.xml
trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-service.xml
trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-structure.xml
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/derby.sql
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/hsql.sql
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/mysql.sql
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/oracle.sql
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/postgres.sql
trunk/runtime/engine-assembly/src/main/resources/bpel-sql/sqlserver.sql
trunk/runtime/engine-assembly/src/main/resources/bpel.properties
Removed:
trunk/runtime/engine-assembly/assembly.xml
trunk/runtime/engine-assembly/resources/META-INF/jboss-beans.xml
trunk/runtime/engine-assembly/resources/META-INF/jboss-structure.xml
trunk/runtime/engine-assembly/resources/bpel-sql/
trunk/runtime/engine-assembly/resources/bpel.properties
Modified:
trunk/console/integration/pom.xml
trunk/distribution/src/main/assembly/bin.xml
trunk/pom.xml
trunk/runtime/deployer/pom.xml
trunk/runtime/engine-assembly/pom.xml
trunk/runtime/engine/pom.xml
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BindingContextImpl.java
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/MessageExchangeContextImpl.java
trunk/runtime/jbossesb-bpel/pom.xml
Log:
RIFTSAW-24, building directly from the jars, not using the war.
Modified: trunk/console/integration/pom.xml
===================================================================
--- trunk/console/integration/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/console/integration/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -46,7 +46,7 @@
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
- <version>2.4.0</version>
+ <version>2.2.0</version>
</dependency>
<dependency>
@@ -109,6 +109,7 @@
<version>${javax.jaxb.version}</version>
<scope>provided</scope>
</dependency>
+
</dependencies>
Modified: trunk/distribution/src/main/assembly/bin.xml
===================================================================
--- trunk/distribution/src/main/assembly/bin.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/distribution/src/main/assembly/bin.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -62,7 +62,7 @@
</fileSet>
<fileSet>
- <directory>../runtime/engine-assembly/target/bpel</directory>
+ <directory>../runtime/engine-assembly/target/riftsaw-2.0-SNAPSHOT/</directory>
<outputDirectory>/modules/riftsaw.sar</outputDirectory>
</fileSet>
@@ -84,7 +84,7 @@
<!-- Short term fix as dependency on riftsaw-utils is not being resolved,
so copy from BPEL war instead -->
<fileSet>
- <directory>../runtime/engine-assembly/target/bpel/bpel.war/WEB-INF/lib</directory>
+ <directory>../runtime/engine-assembly/target/riftsaw-2.0-SNAPSHOT/lib</directory>
<outputDirectory>/samples/common/lib</outputDirectory>
<includes>
<include>riftsaw-utils-*.jar</include>
@@ -143,7 +143,6 @@
<outputDirectory>/samples/common/lib</outputDirectory>
<includes>
<include>org.jboss.soa.bpel:riftsaw-tools</include>
- <include>org.jboss.soa.bpel:riftsaw-utils</include>
<include>commons-codec:commons-codec</include>
<include>commons-httpclient:commons-httpclient</include>
<include>commons-logging:commons-logging</include>
@@ -162,14 +161,6 @@
</includes>
</dependencySet>
- <dependencySet>
- <outputDirectory>/modules/shared</outputDirectory>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
- <includes>
- <include>org.apache.xmlbeans:xmlbeans</include>
- </includes>
- </dependencySet>
-
</dependencySets>
</assembly>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -66,12 +66,12 @@
</profiles>
<properties>
- <riftsaw.engine.version>2.0-SNAPSHOT</riftsaw.engine.version>
+ <riftsaw.engine.version>2.0-M2</riftsaw.engine.version>
<bpm.console.version>1.2.0</bpm.console.version>
<commons.logging.version>1.1.1</commons.logging.version>
<junit.version>3.8.1</junit.version>
- <jboss.version>5.0.0.GA</jboss.version>
- <log4j.version>1.2.14</log4j.version>
+ <jboss.version>5.0.0.GA</jboss.version>
+ <log4j.version>1.2.14</log4j.version>
<rosetta.version>4.5</rosetta.version>
<wsdl4j.version>1.6.2</wsdl4j.version>
</properties>
@@ -312,6 +312,20 @@
<name>codehaus repository</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
+
+ <repository>
+ <id>apache-nexus</id>
+ <name>apache nexus</name>
+ <url>https://repository.apache.org/content/groups/public/</url>
+ </repository>
+
+ <repository>
+ <id>intalio</id>
+ <name>intalio</name>
+ <url>http://www.intalio.org/public/maven2</url>
+ </repository>
+
+
Modified: trunk/runtime/deployer/pom.xml
===================================================================
--- trunk/runtime/deployer/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/deployer/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -19,46 +19,55 @@
<groupId>org.jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>2.2.14.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.deployers</groupId>
<artifactId>jboss-deployers-spi</artifactId>
<version>2.0.7.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.deployers</groupId>
<artifactId>jboss-deployers-structure-spi</artifactId>
<version>2.0.7.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.deployers</groupId>
<artifactId>jboss-deployers-core-spi</artifactId>
<version>2.0.7.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.deployers</groupId>
<artifactId>jboss-deployers-client-spi</artifactId>
<version>2.0.7.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.deployers</groupId>
<artifactId>jboss-deployers-vfs-spi</artifactId>
<version>2.0.7.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
<version>2.1.2.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-mdr</artifactId>
<version>2.0.2.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-spi</artifactId>
<version>2.1.0.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Modified: trunk/runtime/engine/pom.xml
===================================================================
--- trunk/runtime/engine/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>engine</artifactId>
+ <artifactId>riftsaw-engine</artifactId>
<packaging>jar</packaging>
<version>2.0-SNAPSHOT</version>
<name>RiftSaw::Runtime::Engine</name>
@@ -18,10 +18,12 @@
<dependency>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel</groupId>
@@ -97,12 +99,14 @@
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.11.0.GA</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.11.0.GA</version>
<classifier>sources</classifier>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
@@ -113,8 +117,8 @@
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-system-jmx</artifactId>
+ <version>${jboss.version}</version>
<scope>provided</scope>
- <version>${jboss.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel</groupId>
@@ -143,8 +147,6 @@
<build>
- <finalName>riftsaw-framework</finalName>
-
<!-- This section defines the default plugin settings inherited by child projects. -->
<pluginManagement>
<plugins>
Modified: trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BindingContextImpl.java
===================================================================
--- trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BindingContextImpl.java 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/BindingContextImpl.java 2009-11-20 04:52:19 UTC (rev 283)
@@ -202,7 +202,7 @@
}
- @Override
+ //@Override
public long calculateSizeofService(org.apache.ode.bpel.iapi.EndpointReference ref) {
return 0;
}
Modified: trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/MessageExchangeContextImpl.java
===================================================================
--- trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/MessageExchangeContextImpl.java 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/engine/ode/MessageExchangeContextImpl.java 2009-11-20 04:52:19 UTC (rev 283)
@@ -103,7 +103,7 @@
}
- @Override
+ //@Override
public void invokePartner(PartnerRoleMessageExchange mex)
throws ContextException {
if (__log.isDebugEnabled())
@@ -111,7 +111,7 @@
invokePartnerUnreliable(mex);
}
- @Override
+ //@Override
public void onAsyncReply(MyRoleMessageExchange mex)
throws BpelEngineException {
if (__log.isDebugEnabled())
Deleted: trunk/runtime/engine-assembly/assembly.xml
===================================================================
--- trunk/runtime/engine-assembly/assembly.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine-assembly/assembly.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -1,12 +0,0 @@
-<assembly>
- <id></id>
- <formats>
- <format>zip</format>
- </formats>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}/bpel</directory>
- <outputDirectory></outputDirectory>
- </fileSet>
- </fileSets>
-</assembly>
Modified: trunk/runtime/engine-assembly/pom.xml
===================================================================
--- trunk/runtime/engine-assembly/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine-assembly/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>bpel.sar</artifactId>
+ <artifactId>riftsaw</artifactId>
<version>2.0-SNAPSHOT</version>
- <packaging>pom</packaging>
+ <packaging>jboss-sar</packaging>
<name>RiftSaw::Runtime::Engine-Assembly</name>
<parent>
@@ -14,28 +14,106 @@
</parent>
<dependencies>
+
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>deployer</artifactId>
+ <artifactId>riftsaw-engine</artifactId>
<version>${version}</version>
</dependency>
<dependency>
- <groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>engine</artifactId>
- <version>${version}</version>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-bpel-compiler</artifactId>
+ <version>${riftsaw.engine.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.soa.bpel</groupId>
- <artifactId>jboss-riftsaw-war</artifactId>
- <version>${version}</version>
- <type>zip</type>
+ <artifactId>riftsaw-bpel-obj</artifactId>
+ <version>${riftsaw.engine.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-bpel-ql</artifactId>
+ <version>${riftsaw.engine.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-bpel-schemas</artifactId>
+ <version>${riftsaw.engine.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-dao-hibernate</artifactId>
+ <version>${riftsaw.engine.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.bpel</groupId>
+ <artifactId>riftsaw-jacob</artifactId>
+ <version>${riftsaw.engine.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlbeans</groupId>
+ <artifactId>xmlbeans</artifactId>
+ <version>2.2.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- do we really need the following dependencies? -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.3</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.components</groupId>
+ <artifactId>geronimo-connector</artifactId>
+ <version>2.0.1</version>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion><groupId>commons-logging</groupId><artifactId>commons-logging</artifactId></exclusion>
+ <exclusion><groupId>org.apache.geronimo.specs</groupId><artifactId>geronimo-j2ee-connector_1.5_spec</artifactId></exclusion>
+ <exclusion><groupId>org.apache.geronimo.specs</groupId><artifactId>geronimo-jta_1.1_spec</artifactId></exclusion>
+ <exclusion><groupId>org.apache.geronimo.modules</groupId><artifactId>geronimo-transaction</artifactId></exclusion>
+ <exclusion><groupId>org.objectweb.howl</groupId><artifactId>howl</artifactId></exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-dom</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-xpath</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon-xqj</artifactId>
+ <version>9.x</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>9.x</version>
+ </dependency>
+
</dependencies>
<build>
- <finalName>riftsaw.sar</finalName>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jboss-packaging-maven-plugin</artifactId>
+ <!-- Enable 'jboss-sar', etc., as a recognized maven packaging type -->
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.1</version>
@@ -50,23 +128,8 @@
<phase>package</phase>
<configuration>
<tasks>
- <property name="compile_classpath" refid="maven.compile.classpath" />
- <property name="runtime_classpath" refid="maven.runtime.classpath" />
- <property name="test_classpath" refid="maven.test.classpath" />
- <property name="plugin_classpath" refid="maven.plugin.classpath" />
- <property name="project.version" value="${project.version}" />
- <property name="local.repo" value="${settings.localRepository}" />
- <property name="riftsaw.engine.version"
- value="${riftsaw.engine.version}" />
- <property name="dependency.bpel.deployer"
- value="${maven.dependency.org.jboss.soa.bpel.runtime.deployer.jar.path}" />
- <property name="dependency.bpel.engine"
- value="${maven.dependency.org.jboss.soa.bpel.runtime.engine.jar.path}" />
- <property name="dependency.bpel.jb-bpel-store"
- value="${maven.dependency.org.jboss.soa.bpel.runtime.jb-bpel-store.jar.path}" />
- <ant antfile="${basedir}/build.xml">
- <target name="package-bpel" />
- </ant>
+ <delete file="${basedir}/target/riftsaw-2.0-SNAPSHOT/META-INF/jboss-service.xml"/>
+ <delete file="${basedir}/target/riftsaw-2.0-SNAPSHOT/lib/geronimo-transaction-2.0.1.jar"/>
</tasks>
</configuration>
<goals>
@@ -75,25 +138,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-3</version>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>${basedir}/assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</project>
\ No newline at end of file
Deleted: trunk/runtime/engine-assembly/resources/META-INF/jboss-beans.xml
===================================================================
--- trunk/runtime/engine-assembly/resources/META-INF/jboss-beans.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine-assembly/resources/META-INF/jboss-beans.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-
- <bean class="org.jboss.soa.bpel.runtime.db.DatabaseInitializer"
- name="BPELDatabaseInitializer">
- <property name="datasource"><value>java:/BPELDB</value></property>
- <property name="existsSql"><value>select * from ODE_JOB</value></property>
- <property name="sqlFiles"><value>bpel-sql/hsql.sql</value></property>
- <property name="useEOL"><value>false</value></property>
- <depends>jboss.jca:service=DataSourceBinding,name=BPELDB</depends>
- </bean>
-
- <bean class="org.jboss.soa.bpel.runtime.engine.service.BPELEngineService"
- name="BPELEngine">
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.bpel:service=BPELEngine", exposedInterface=org.jboss.soa.bpel.runtime.engine.service.BPELEngineServiceMBean.class,registerDirectly=true)</annotation>
- <property name="jndiName"><value>bpel/Engine</value></property>
- <depends>jboss:service=Naming</depends>
- <depends>BPELDatabaseInitializer</depends>
- <depends>BPELDeployer</depends>
- </bean>
-
- <!--
- Locate the single instance of the kernel
- -->
- <bean name="org.jboss.soa.bpel.runtime.util:service=KernelLocator"
- class="org.jboss.soa.bpel.runtime.integration.KernelLocator">
- <property name="kernel">
- <inject bean="jboss.kernel:service=Kernel" />
- </property>
- </bean>
-
- <!--
- ServerConfig
- -->
- <bean name="org.jboss.soa.bpel.runtime.util:service=ServerConfig"
- class="org.jboss.soa.bpel.runtime.integration.ServerConfigImpl">
- <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
- <property name="webServiceHost">${jboss.bind.address}</property>
- </bean>
-
-
-</deployment>
Deleted: trunk/runtime/engine-assembly/resources/META-INF/jboss-structure.xml
===================================================================
--- trunk/runtime/engine-assembly/resources/META-INF/jboss-structure.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine-assembly/resources/META-INF/jboss-structure.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<structure>
- <context>
- <path name=""/>
- <metaDataPath>
- <path name="META-INF"/>
- </metaDataPath>
- <classpath>
- <path name=""/>
- <path name="" suffixes=".jar" />
- <path name="lib" suffixes=".jar" />
- </classpath>
- </context>
-</structure>
Deleted: trunk/runtime/engine-assembly/resources/bpel.properties
===================================================================
--- trunk/runtime/engine-assembly/resources/bpel.properties 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/engine-assembly/resources/bpel.properties 2009-11-20 04:52:19 UTC (rev 283)
@@ -1,101 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-## bpel Configuraiton Properties
-
-## Database Mode ("INTERNAL", "EXTERNAL", "EMBEDDED")
-## What kind of database should ODE use?
-## * "EMBEDDED" - ODE will create its own embbeded database (Derby)
-## and connection pool (Minerva).
-## * "EXTERNAL" - ODE will use an app-server provided database and pool.
-## The "ode-jbi.db.ext.dataSource" property will need to
-## be set.
-## * "INTERNAL" - ODE will create its own connection pool for a user-
-## specified JDBC URL and driver.
-#bpel.db.mode=EMBEDDED
-
-## External Database [JNDI Name]
-## JNDI Name of the DataSource for the ODE database. This is only
-## used if the "ode-jbi.db.mode" property is set to "EXTERNAL"
-#bpel.db.ext.dataSource=java:comp/env/jdbc/ode
-
-## Embedded Database Name [String]
-## Name of the embedded Derby database. This is only used if the
-## "ode-jbi.db.mode" property is set to "EMBEDDED".
-#ode-jbi.db.emb.name=hibdb
-#ode-jbi.db.emb.name=jpadb
-
-## Internal Database Configuration
-#ode-jbi.db.int.jdbcurl=jdbc:mysql://localhost/ode?user=sa
-#ode-jbi.db.int.driver=com.mysql.jdbc.Driver
-#bpel.db.int.password =
-#bpel.db.int.username =
-
-## DB Pool Configuration for internal DB
-#bpel.db.pool.max = 10
-#bpel.db.pool.min = 1
-
-## DAO Connection Factory class.
-## uncomment the following for hibernate.
-bpel.dao.factory=org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
-
-## Transaction Factory
-## default is org.apache.ode.il.EmbeddedGeronimoFactory
-## available alternatives are:
-## org.apache.ode.axis2.util.GeronimoFactory
-## org.apache.ode.axis2.util.JBossFactory
-## org.apache.ode.axis2.util.TomcatFactory
-
-## org.apache.ode.axis2.util.WLSFactory
-bpel.tx.factory.class = org.jboss.soa.bpel.runtime.engine.ode.JBossTransactionFactory
-
-## JCA connector port (default 2099), set to 0 to disable JCA connector
-#bpel.jca.port =
-
-## JCA conncetor name (default 'ode')
-#bpel.jca.name =
-
-## Working dir
-#bpel.working.dir =
-
-## MEX Interceptors
-#bpel.mex.interceptors =
-
-## Process dehydration
-#bpel.process.dehydration =
-
-## Extension Bundles
-## FQCNs, comma separated.
-#bpel.extension.bundles.runtime =
-#bpel.extension.bundles.validation =
-
-bpel.db.mode=EXTERNAL
-bpel.db.ext.dataSource=java:BPELDB
-
-hibernate.dialect=org.hibernate.dialect.H2Dialect
-hibernate.hbm2ddl.auto=update
-hibernate.current_session_context_class=jta
-hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
-
-jta.UserTransaction=UserTransaction
-
-ode.persistence=hibernate
-
-ode.process.checkguid=false
-ode.process.store=org.apache.ode.store.JBossProcessStoreImpl
Property changes on: trunk/runtime/engine-assembly/src/main
___________________________________________________________________
Name: svn:mergeinfo
+
Added: trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/META-INF/bpel-ds.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<datasources>
+ <local-tx-datasource>
+ <jndi-name>BPELDB</jndi-name>
+ <connection-url>jdbc:h2:${jboss.server.data.dir}${/}h2${/}BPELDB</connection-url>
+ <driver-class>org.h2.Driver</driver-class>
+ <user-name>sa</user-name>
+ <password/>
+ <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
+ <min-pool-size>5</min-pool-size>
+ <max-pool-size>20</max-pool-size>
+ <idle-timeout-minutes>0</idle-timeout-minutes>
+ <prepared-statement-cache-size>32</prepared-statement-cache-size>
+ <depends>jboss:service=h2,database=BPELDB</depends>
+ </local-tx-datasource>
+ <mbean code="org.jboss.internal.soa.esb.dependencies.H2Database"
+ name="jboss:service=h2,database=BPELDB">
+ <attribute name="Database">BPELDB</attribute>
+ <attribute name="DataDir">${jboss.server.data.dir}</attribute>
+ </mbean>
+
+</datasources>
Added: trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-beans.xml
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-beans.xml (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-beans.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <bean class="org.jboss.soa.bpel.runtime.db.DatabaseInitializer"
+ name="BPELDatabaseInitializer">
+ <property name="datasource"><value>java:/BPELDB</value></property>
+ <property name="existsSql"><value>select * from ODE_JOB</value></property>
+ <property name="sqlFiles"><value>bpel-sql/hsql.sql</value></property>
+ <property name="useEOL"><value>false</value></property>
+ <depends>jboss.jca:service=DataSourceBinding,name=BPELDB</depends>
+ </bean>
+
+ <bean class="org.jboss.soa.bpel.runtime.engine.service.BPELEngineService"
+ name="BPELEngine">
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.bpel:service=BPELEngine", exposedInterface=org.jboss.soa.bpel.runtime.engine.service.BPELEngineServiceMBean.class,registerDirectly=true)</annotation>
+ <property name="jndiName"><value>bpel/Engine</value></property>
+ <depends>jboss:service=Naming</depends>
+ <depends>BPELDatabaseInitializer</depends>
+ <depends>BPELDeployer</depends>
+ </bean>
+
+ <!--
+ Locate the single instance of the kernel
+ -->
+ <bean name="org.jboss.soa.bpel.runtime.util:service=KernelLocator"
+ class="org.jboss.soa.bpel.runtime.integration.KernelLocator">
+ <property name="kernel">
+ <inject bean="jboss.kernel:service=Kernel" />
+ </property>
+ </bean>
+
+ <!--
+ ServerConfig
+ -->
+ <bean name="org.jboss.soa.bpel.runtime.util:service=ServerConfig"
+ class="org.jboss.soa.bpel.runtime.integration.ServerConfigImpl">
+ <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
+ <property name="webServiceHost">${jboss.bind.address}</property>
+ </bean>
+
+
+</deployment>
Added: trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-service.xml
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-service.xml (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-service.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+<!-- This file is only here to satisfy the jboss-packaging-maven-plugin.
+ Does someone know if there is a setting to avoid needing this file?
+ Or does this require a new version of the plugin?
+
+ This file is going to be deleted by the ant plugin
+ -->
+
+</server>
\ No newline at end of file
Added: trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-structure.xml
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-structure.xml (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/META-INF/jboss-structure.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<structure>
+ <context>
+ <path name=""/>
+ <metaDataPath>
+ <path name="META-INF"/>
+ </metaDataPath>
+ <classpath>
+ <path name=""/>
+ <path name="" suffixes=".jar" />
+ <path name="lib" suffixes=".jar" />
+ </classpath>
+ </context>
+</structure>
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/derby.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/derby.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/derby.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,53 @@
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- Apache Derby scripts by Maciej Szefler.
+--
+--
+
+CREATE TABLE ode_job (
+ jobid CHAR(64) NOT NULL DEFAULT '',
+ ts BIGINT NOT NULL DEFAULT 0,
+ nodeid char(64),
+ scheduled int NOT NULL DEFAULT 0,
+ transacted int NOT NULL DEFAULT 0,
+ details blob(4096),
+ PRIMARY KEY(jobid));
+
+CREATE INDEX IDX_ODE_JOB_TS ON ode_job(ts);
+CREATE INDEX IDX_ODE_JOB_NODEID ON ode_job(nodeid);
+
+
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+create table BPEL_ACTIVITY_RECOVERY (ID bigint not null, PIID bigint, AID bigint, CHANNEL varchar(255), REASON varchar(255), DATE_TIME timestamp, LDATA_ID bigint, ACTIONS varchar(255), RETRIES integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID bigint not null, NAME varchar(255), NAMESPACE varchar(255), VALUE varchar(255), CORR_SET_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID bigint not null, VALUE varchar(255), CORR_SET_NAME varchar(255), SCOPE_ID bigint, PIID bigint, PROCESS_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR (ID bigint not null, CID varchar(255), PROCESS_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID bigint not null, CKEY varchar(255), CORRELATOR_MESSAGE_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_EVENT (ID bigint not null, IID bigint, PID bigint, TSTAMP timestamp, TYPE varchar(255), DETAIL clob(32000), LDATA_ID bigint, SID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_FAULT (ID bigint not null, FAULTNAME varchar(255), LDATA_ID bigint, EXPLANATION varchar(4000), LINE_NUM integer, AID integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_INSTANCE (ID bigint not null, INSTANTIATING_CORRELATOR bigint, FAULT bigint, JACOB_STATE bigint, PREVIOUS_STATE smallint, PROCESS_ID bigint, STATE smallint, LAST_ACTIVE_DT timestamp, SEQUENCE bigint, FAILURE_COUNT integer, FAILURE_DT timestamp, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE (ID bigint not null, MEX bigint, TYPE varchar(255), DATA bigint, HEADER bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID bigint not null, PORT_TYPE varchar(255), CHANNEL_NAME varchar(255), CLIENTKEY varchar(255), LDATA_EPR_ID bigint, LDATA_CEPR_ID bigint, REQUEST bigint, RESPONSE bigint, INSERT_DT timestamp, OPERATION varchar(255), STATE varchar(255), PROCESS bigint, PIID bigint, DIR char(1), PLINK_MODELID integer, PATTERN varchar(255), CORR_STATUS varchar(255), FAULT_TYPE varchar(255), FAULT_EXPL varchar(255), CALLEE varchar(255), PARTNERLINK bigint, PIPED_ID varchar(255), SUBSCRIBER_COUNT integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX bigint not null, VALUE varchar(8000), NAME varchar(255) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID bigint not null, PARTNER_LINK varchar(100) not null, PARTNERROLE varchar(100), MYROLE_EPR bigint, PARTNERROLE_EPR bigint, PROCESS bigint, SCOPE bigint, SVCNAME varchar(255), MYROLE varchar(100), MODELID integer, MYSESSIONID varchar(255), PARTNERSESSIONID varchar(255), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_PROCESS (ID bigint not null, PROCID varchar(255) not null unique, deployer varchar(255), deploydate timestamp, type_name varchar(255), type_ns varchar(255), version bigint, ACTIVE_ smallint, guid varchar(255), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_SCOPE (ID bigint not null, PIID bigint, PARENT_SCOPE_ID bigint, STATE varchar(255) not null, NAME varchar(255) not null, MODELID integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_SELECTORS (ID bigint not null, PIID bigint not null, SELGRPID varchar(255) not null, IDX integer not null, CORRELATION_KEY varchar(255) not null, PROC_TYPE varchar(255) not null, ROUTE_POLICY varchar(255), CORRELATOR bigint not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID bigint not null, MEX bigint, CORRELATION_KEY varchar(255), CORRELATOR bigint not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_XML_DATA (ID bigint not null, LDATA_ID bigint, NAME varchar(255) not null, SCOPE_ID bigint, PIID bigint, IS_SIMPLE_TYPE smallint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table LARGE_DATA (ID bigint not null, BIN_DATA blob(2G), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table VAR_PROPERTY (ID bigint not null, XML_DATA_ID bigint, PROP_VALUE varchar(255), PROP_NAME varchar(255) not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MESSAGE_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
+create table hibernate_unique_key ( next_hi integer );
+insert into hibernate_unique_key values ( 0 );
+create table STORE_DU (NAME varchar(255) not null, deployer varchar(255), DEPLOYDT timestamp, DIR varchar(255), primary key (NAME));
+create table STORE_PROCESS (PID varchar(255) not null, DU varchar(255), TYPE varchar(255), version bigint, STATE varchar(255), primary key (PID));
+create table STORE_PROCESS_PROP (propId varchar(255) not null, value varchar(255), name varchar(255) not null, primary key (propId, name));
+create table STORE_VERSIONS (ID integer not null, VERSION bigint, primary key (ID));
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/hsql.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/hsql.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/hsql.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,47 @@
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- Apache Derby scripts by Maciej Szefler.
+--
+--
+
+CREATE TABLE ode_job (
+ jobid CHAR(64) NOT NULL DEFAULT '',
+ ts BIGINT NOT NULL DEFAULT 0,
+ nodeid char(64),
+ scheduled int NOT NULL DEFAULT 0,
+ transacted int NOT NULL DEFAULT 0,
+ details blob(4096),
+ PRIMARY KEY(jobid));
+
+CREATE INDEX IDX_ODE_JOB_TS ON ode_job(ts);
+CREATE INDEX IDX_ODE_JOB_NODEID ON ode_job(nodeid);
+
+
+create table BPEL_ACTIVITY_RECOVERY (ID bigint generated by default as identity (start with 1), PIID bigint, AID bigint, CHANNEL varchar(255), REASON varchar(255), DATE_TIME timestamp, LDATA_ID bigint, ACTIONS varchar(255), RETRIES integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID bigint generated by default as identity (start with 1), NAME varchar(255), NAMESPACE varchar(255), VALUE varchar(255), CORR_SET_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID bigint generated by default as identity (start with 1), VALUE varchar(255), CORR_SET_NAME varchar(255), SCOPE_ID bigint, PIID bigint, PROCESS_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR (ID bigint generated by default as identity (start with 1), CID varchar(255), PROCESS_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID bigint generated by default as identity (start with 1), CKEY varchar(255), CORRELATOR_MESSAGE_ID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_EVENT (ID bigint generated by default as identity (start with 1), IID bigint, PID bigint, TSTAMP timestamp, TYPE varchar(255), DETAIL longvarchar, LDATA_ID bigint, SID bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_FAULT (ID bigint generated by default as identity (start with 1), FAULTNAME varchar(255), LDATA_ID bigint, EXPLANATION varchar(4000), LINE_NUM integer, AID integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_INSTANCE (ID bigint generated by default as identity (start with 1), INSTANTIATING_CORRELATOR bigint, FAULT bigint, JACOB_STATE bigint, PREVIOUS_STATE smallint, PROCESS_ID bigint, STATE smallint, LAST_ACTIVE_DT timestamp, SEQUENCE bigint, FAILURE_COUNT integer, FAILURE_DT timestamp, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE (ID bigint generated by default as identity (start with 1), MEX bigint, TYPE varchar(255), DATA bigint, HEADER bigint, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID bigint generated by default as identity (start with 1), PORT_TYPE varchar(255), CHANNEL_NAME varchar(255), CLIENTKEY varchar(255), LDATA_EPR_ID bigint, LDATA_CEPR_ID bigint, REQUEST bigint, RESPONSE bigint, INSERT_DT timestamp, OPERATION varchar(255), STATE varchar(255), PROCESS bigint, PIID bigint, DIR char(1), PLINK_MODELID integer, PATTERN varchar(255), CORR_STATUS varchar(255), FAULT_TYPE varchar(255), FAULT_EXPL varchar(255), CALLEE varchar(255), PARTNERLINK bigint, PIPED_ID varchar(255), SUBSCRIBER_COUNT integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX bigint not null, VALUE varchar(8000), NAME varchar(255) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID bigint generated by default as identity (start with 1), PARTNER_LINK varchar(100) not null, PARTNERROLE varchar(100), MYROLE_EPR bigint, PARTNERROLE_EPR bigint, PROCESS bigint, SCOPE bigint, SVCNAME varchar(255), MYROLE varchar(100), MODELID integer, MYSESSIONID varchar(255), PARTNERSESSIONID varchar(255), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_PROCESS (ID bigint generated by default as identity (start with 1), PROCID varchar(255) not null, deployer varchar(255), deploydate timestamp, type_name varchar(255), type_ns varchar(255), version bigint, ACTIVE_ bit, guid varchar(255), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID), unique (PROCID));
+create table BPEL_SCOPE (ID bigint generated by default as identity (start with 1), PIID bigint, PARENT_SCOPE_ID bigint, STATE varchar(255) not null, NAME varchar(255) not null, MODELID integer, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_SELECTORS (ID bigint generated by default as identity (start with 1), PIID bigint not null, SELGRPID varchar(255) not null, IDX integer not null, CORRELATION_KEY varchar(255) not null, PROC_TYPE varchar(255) not null, ROUTE_POLICY varchar(255), CORRELATOR bigint not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID bigint generated by default as identity (start with 1), MEX bigint, CORRELATION_KEY varchar(255), CORRELATOR bigint not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table BPEL_XML_DATA (ID bigint generated by default as identity (start with 1), LDATA_ID bigint, NAME varchar(255) not null, SCOPE_ID bigint, PIID bigint, IS_SIMPLE_TYPE bit, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table LARGE_DATA (ID bigint generated by default as identity (start with 1), BIN_DATA blob(2G), INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create table VAR_PROPERTY (ID bigint generated by default as identity (start with 1), XML_DATA_ID bigint, PROP_VALUE varchar(255), PROP_NAME varchar(255) not null, INSERT_TIME timestamp, MLOCK integer not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MESSAGE_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/mysql.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/mysql.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/mysql.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,50 @@
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- MySQL scripts by Maciej Szefler.
+--
+--
+DROP TABLE IF EXISTS ODE_JOB;
+
+CREATE TABLE ODE_JOB (
+ jobid CHAR(64) NOT NULL DEFAULT '',
+ ts BIGINT NOT NULL DEFAULT 0,
+ nodeid char(64) NULL,
+ scheduled int NOT NULL DEFAULT 0,
+ transacted int NOT NULL DEFAULT 0,
+ details blob(4096) NULL,
+ PRIMARY KEY(jobid),
+ INDEX IDX_ODE_JOB_TS(ts),
+ INDEX IDX_ODE_JOB_NODEID(nodeid)
+)
+TYPE=InnoDB;
+
+COMMIT;
+
+create table BPEL_ACTIVITY_RECOVERY (ID bigint not null auto_increment, PIID bigint, AID bigint, CHANNEL varchar(255), REASON varchar(255), DATE_TIME datetime, LDATA_ID bigint, ACTIONS varchar(255), RETRIES integer, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID bigint not null auto_increment, NAME varchar(255), NAMESPACE varchar(255), VALUE varchar(255), CORR_SET_ID bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID bigint not null auto_increment, VALUE varchar(255), CORR_SET_NAME varchar(255), SCOPE_ID bigint, PIID bigint, PROCESS_ID bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR (ID bigint not null auto_increment, CID varchar(255), PROCESS_ID bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID bigint not null auto_increment, CKEY varchar(255), CORRELATOR_MESSAGE_ID bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_EVENT (ID bigint not null auto_increment, IID bigint, PID bigint, TSTAMP datetime, TYPE varchar(255), DETAIL text, LDATA_ID bigint, SID bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_FAULT (ID bigint not null auto_increment, FAULTNAME varchar(255), LDATA_ID bigint, EXPLANATION varchar(4000), LINE_NUM integer, AID integer, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_INSTANCE (ID bigint not null auto_increment, INSTANTIATING_CORRELATOR bigint, FAULT bigint, JACOB_STATE bigint, PREVIOUS_STATE smallint, PROCESS_ID bigint, STATE smallint, LAST_ACTIVE_DT datetime, SEQUENCE bigint, FAILURE_COUNT integer, FAILURE_DT datetime, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE (ID bigint not null auto_increment, MEX bigint, TYPE varchar(255), DATA bigint, HEADER bigint, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID bigint not null auto_increment, PORT_TYPE varchar(255), CHANNEL_NAME varchar(255), CLIENTKEY varchar(255), LDATA_EPR_ID bigint, LDATA_CEPR_ID bigint, REQUEST bigint, RESPONSE bigint, INSERT_DT datetime, OPERATION varchar(255), STATE varchar(255), PROCESS bigint, PIID bigint, DIR char(1), PLINK_MODELID integer, PATTERN varchar(255), CORR_STATUS varchar(255), FAULT_TYPE varchar(255), FAULT_EXPL varchar(255), CALLEE varchar(255), PARTNERLINK bigint, PIPED_ID varchar(255), SUBSCRIBER_COUNT integer, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX bigint not null, VALUE varchar(8000), NAME varchar(255) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID bigint not null auto_increment, PARTNER_LINK varchar(100) not null, PARTNERROLE varchar(100), MYROLE_EPR bigint, PARTNERROLE_EPR bigint, PROCESS bigint, SCOPE bigint, SVCNAME varchar(255), MYROLE varchar(100), MODELID integer, MYSESSIONID varchar(255), PARTNERSESSIONID varchar(255), INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_PROCESS (ID bigint not null auto_increment, PROCID varchar(255) not null unique, deployer varchar(255), deploydate datetime, type_name varchar(255), type_ns varchar(255), version bigint, ACTIVE_ bit, guid varchar(255), INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_SCOPE (ID bigint not null auto_increment, PIID bigint, PARENT_SCOPE_ID bigint, STATE varchar(255) not null, NAME varchar(255) not null, MODELID integer, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_SELECTORS (ID bigint not null auto_increment, PIID bigint not null, SELGRPID varchar(255) not null, IDX integer not null, CORRELATION_KEY varchar(255) not null, PROC_TYPE varchar(255) not null, ROUTE_POLICY varchar(255), CORRELATOR bigint not null, INSERT_TIME datetime, MLOCK integer not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID bigint not null auto_increment, MEX bigint, CORRELATION_KEY varchar(255), CORRELATOR bigint not null, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table BPEL_XML_DATA (ID bigint not null auto_increment, LDATA_ID bigint, NAME varchar(255) not null, SCOPE_ID bigint, PIID bigint, IS_SIMPLE_TYPE bit, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table LARGE_DATA (ID bigint not null auto_increment, BIN_DATA blob, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create table VAR_PROPERTY (ID bigint not null auto_increment, XML_DATA_ID bigint, PROP_VALUE varchar(255), PROP_NAME varchar(255) not null, INSERT_TIME datetime, MLOCK integer not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MESSAGE_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/oracle.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/oracle.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/oracle.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,49 @@
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- Apache Derby scripts by Maciej Szefler.
+--
+--
+
+CREATE TABLE ode_job (
+ jobid CHAR(64) DEFAULT '' NOT NULL,
+ ts INTEGER DEFAULT 0 NOT NULL,
+ nodeid char(64),
+ scheduled int DEFAULT 0 NOT NULL,
+ transacted int DEFAULT 0 NOT NULL,
+ details blob,
+ PRIMARY KEY(jobid)
+);
+
+CREATE INDEX IDX_ODE_JOB_TS ON ode_job(ts);
+CREATE INDEX IDX_ODE_JOB_NODEID ON ode_job(nodeid);
+
+
+create table BPEL_ACTIVITY_RECOVERY (ID number(19,0) not null, PIID number(19,0), AID number(19,0), CHANNEL varchar2(255 char), REASON varchar2(255 char), DATE_TIME timestamp, LDATA_ID number(19,0), ACTIONS varchar2(255 char), RETRIES number(10,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID number(19,0) not null, NAME varchar2(255 char), NAMESPACE varchar2(255 char), VALUE varchar2(255 char), CORR_SET_ID number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID number(19,0) not null, VALUE varchar2(255 char), CORR_SET_NAME varchar2(255 char), SCOPE_ID number(19,0), PIID number(19,0), PROCESS_ID number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_CORRELATOR (ID number(19,0) not null, CID varchar2(255 char), PROCESS_ID number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID number(19,0) not null, CKEY varchar2(255 char), CORRELATOR_MESSAGE_ID number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_EVENT (ID number(19,0) not null, IID number(19,0), PID number(19,0), TSTAMP timestamp, TYPE varchar2(255 char), DETAIL clob, LDATA_ID number(19,0), SID number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_FAULT (ID number(19,0) not null, FAULTNAME varchar2(255 char), LDATA_ID number(19,0), EXPLANATION varchar2(4000 char), LINE_NUM number(10,0), AID number(10,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_INSTANCE (ID number(19,0) not null, INSTANTIATING_CORRELATOR number(19,0), FAULT number(19,0), JACOB_STATE number(19,0), PREVIOUS_STATE number(5,0), PROCESS_ID number(19,0), STATE number(5,0), LAST_ACTIVE_DT timestamp, SEQUENCE number(19,0), FAILURE_COUNT number(10,0), FAILURE_DT timestamp, INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_MESSAGE (ID number(19,0) not null, MEX number(19,0), TYPE varchar2(255 char), DATA number(19,0), HEADER number(19,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID number(19,0) not null, PORT_TYPE varchar2(255 char), CHANNEL_NAME varchar2(255 char), CLIENTKEY varchar2(255 char), LDATA_EPR_ID number(19,0), LDATA_CEPR_ID number(19,0), REQUEST number(19,0), RESPONSE number(19,0), INSERT_DT timestamp, OPERATION varchar2(255 char), STATE varchar2(255 char), PROCESS number(19,0), PIID number(19,0), DIR char(1 char), PLINK_MODELID number(10,0), PATTERN varchar2(255 char), CORR_STATUS varchar2(255 char), FAULT_TYPE varchar2(255 char), FAULT_EXPL varchar2(255 char), CALLEE varchar2(255 char), PARTNERLINK number(19,0), PIPED_ID varchar2(255 char), SUBSCRIBER_COUNT number(10,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX number(19,0) not null, VALUE long, NAME varchar2(255 char) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID number(19,0) not null, PARTNER_LINK varchar2(100 char) not null, PARTNERROLE varchar2(100 char), MYROLE_EPR number(19,0), PARTNERROLE_EPR number(19,0), PROCESS number(19,0), SCOPE number(19,0), SVCNAME varchar2(255 char), MYROLE varchar2(100 char), MODELID number(10,0), MYSESSIONID varchar2(255 char), PARTNERSESSIONID varchar2(255 char), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_PROCESS (ID number(19,0) not null, PROCID varchar2(255 char) not null unique, deployer varchar2(255 char), deploydate timestamp, type_name varchar2(255 char), type_ns varchar2(255 char), version number(19,0), ACTIVE_ number(1,0), guid varchar2(255 char), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_SCOPE (ID number(19,0) not null, PIID number(19,0), PARENT_SCOPE_ID number(19,0), STATE varchar2(255 char) not null, NAME varchar2(255 char) not null, MODELID number(10,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_SELECTORS (ID number(19,0) not null, PIID number(19,0) not null, SELGRPID varchar2(255 char) not null, IDX number(10,0) not null, CORRELATION_KEY varchar2(255 char) not null, PROC_TYPE varchar2(255 char) not null, ROUTE_POLICY varchar2(255 char), CORRELATOR number(19,0) not null, INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID number(19,0) not null, MEX number(19,0), CORRELATION_KEY varchar2(255 char), CORRELATOR number(19,0) not null, INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table BPEL_XML_DATA (ID number(19,0) not null, LDATA_ID number(19,0), NAME varchar2(255 char) not null, SCOPE_ID number(19,0), PIID number(19,0), IS_SIMPLE_TYPE number(1,0), INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table LARGE_DATA (ID number(19,0) not null, BIN_DATA blob, INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create table VAR_PROPERTY (ID number(19,0) not null, XML_DATA_ID number(19,0), PROP_VALUE varchar2(255 char), PROP_NAME varchar2(255 char) not null, INSERT_TIME timestamp, MLOCK number(10,0) not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MSG_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
+create sequence hibernate_sequence;
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/postgres.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/postgres.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/postgres.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,48 @@
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- Apache Derby scripts by Maciej Szefler.
+--
+--
+
+CREATE TABLE ode_job (
+ jobid CHAR(64) NOT NULL DEFAULT '',
+ ts BIGINT NOT NULL DEFAULT 0,
+ nodeid char(64),
+ scheduled int NOT NULL DEFAULT 0,
+ transacted int NOT NULL DEFAULT 0,
+ details bytea,
+ PRIMARY KEY(jobid));
+
+CREATE INDEX IDX_ODE_JOB_TS ON ode_job(ts);
+CREATE INDEX IDX_ODE_JOB_NODEID ON ode_job(nodeid);
+
+
+create table BPEL_ACTIVITY_RECOVERY (ID int8 not null, PIID int8, AID int8, CHANNEL varchar(255), REASON varchar(255), DATE_TIME timestamp, LDATA_ID int8, ACTIONS varchar(255), RETRIES int4, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID int8 not null, NAME varchar(255), NAMESPACE varchar(255), VALUE varchar(255), CORR_SET_ID int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID int8 not null, VALUE varchar(255), CORR_SET_NAME varchar(255), SCOPE_ID int8, PIID int8, PROCESS_ID int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_CORRELATOR (ID int8 not null, CID varchar(255), PROCESS_ID int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID int8 not null, CKEY varchar(255), CORRELATOR_MESSAGE_ID int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_EVENT (ID int8 not null, IID int8, PID int8, TSTAMP timestamp, TYPE varchar(255), DETAIL text, LDATA_ID int8, SID int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_FAULT (ID int8 not null, FAULTNAME varchar(255), LDATA_ID int8, EXPLANATION varchar(4000), LINE_NUM int4, AID int4, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_INSTANCE (ID int8 not null, INSTANTIATING_CORRELATOR int8, FAULT int8, JACOB_STATE int8, PREVIOUS_STATE int2, PROCESS_ID int8, STATE int2, LAST_ACTIVE_DT timestamp, SEQUENCE int8, FAILURE_COUNT int4, FAILURE_DT timestamp, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_MESSAGE (ID int8 not null, MEX int8, TYPE varchar(255), DATA int8, HEADER int8, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID int8 not null, PORT_TYPE varchar(255), CHANNEL_NAME varchar(255), CLIENTKEY varchar(255), LDATA_EPR_ID int8, LDATA_CEPR_ID int8, REQUEST int8, RESPONSE int8, INSERT_DT timestamp, OPERATION varchar(255), STATE varchar(255), PROCESS int8, PIID int8, DIR char(1), PLINK_MODELID int4, PATTERN varchar(255), CORR_STATUS varchar(255), FAULT_TYPE varchar(255), FAULT_EXPL varchar(255), CALLEE varchar(255), PARTNERLINK int8, PIPED_ID varchar(255), SUBSCRIBER_COUNT int4, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX int8 not null, VALUE varchar(8000), NAME varchar(255) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID int8 not null, PARTNER_LINK varchar(100) not null, PARTNERROLE varchar(100), MYROLE_EPR int8, PARTNERROLE_EPR int8, PROCESS int8, SCOPE int8, SVCNAME varchar(255), MYROLE varchar(100), MODELID int4, MYSESSIONID varchar(255), PARTNERSESSIONID varchar(255), INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_PROCESS (ID int8 not null, PROCID varchar(255) not null unique, deployer varchar(255), deploydate timestamp, type_name varchar(255), type_ns varchar(255), version int8, ACTIVE_ bool, guid varchar(255), INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_SCOPE (ID int8 not null, PIID int8, PARENT_SCOPE_ID int8, STATE varchar(255) not null, NAME varchar(255) not null, MODELID int4, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_SELECTORS (ID int8 not null, PIID int8 not null, SELGRPID varchar(255) not null, IDX int4 not null, CORRELATION_KEY varchar(255) not null, PROC_TYPE varchar(255) not null, ROUTE_POLICY varchar(255), CORRELATOR int8 not null, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID int8 not null, MEX int8, CORRELATION_KEY varchar(255), CORRELATOR int8 not null, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table BPEL_XML_DATA (ID int8 not null, LDATA_ID int8, NAME varchar(255) not null, SCOPE_ID int8, PIID int8, IS_SIMPLE_TYPE bool, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table LARGE_DATA (ID int8 not null, BIN_DATA bytea, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create table VAR_PROPERTY (ID int8 not null, XML_DATA_ID int8, PROP_VALUE varchar(255), PROP_NAME varchar(255) not null, INSERT_TIME timestamp, MLOCK int4 not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MESSAGE_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
+create sequence hibernate_sequence;
Added: trunk/runtime/engine-assembly/src/main/resources/bpel-sql/sqlserver.sql
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel-sql/sqlserver.sql (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel-sql/sqlserver.sql 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,47 @@
+create table ODE_SCHEMA_VERSION(VERSION integer);
+insert into ODE_SCHEMA_VERSION values (5);
+-- Apache ODE - SimpleScheduler Database Schema
+--
+-- Apache Derby scripts by Maciej Szefler.
+--
+--
+
+CREATE TABLE ode_job (
+ jobid CHAR(64) NOT NULL DEFAULT '',
+ ts BIGINT NOT NULL DEFAULT 0,
+ nodeid char(64),
+ scheduled int NOT NULL DEFAULT 0,
+ transacted int NOT NULL DEFAULT 0,
+ details image null,
+ PRIMARY KEY(jobid));
+
+CREATE INDEX IDX_ODE_JOB_TS ON ode_job(ts);
+CREATE INDEX IDX_ODE_JOB_NODEID ON ode_job(nodeid);
+
+
+create table BPEL_ACTIVITY_RECOVERY (ID numeric(19,0) identity not null, PIID numeric(19,0) null, AID numeric(19,0) null, CHANNEL varchar(255) null, REASON varchar(255) null, DATE_TIME datetime null, LDATA_ID numeric(19,0) null, ACTIONS varchar(255) null, RETRIES int null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_CORRELATION_PROP (ID numeric(19,0) identity not null, NAME varchar(255) null, NAMESPACE varchar(255) null, VALUE varchar(255) null, CORR_SET_ID numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_CORRELATION_SET (ID numeric(19,0) identity not null, VALUE varchar(255) null, CORR_SET_NAME varchar(255) null, SCOPE_ID numeric(19,0) null, PIID numeric(19,0) null, PROCESS_ID numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_CORRELATOR (ID numeric(19,0) identity not null, CID varchar(255) null, PROCESS_ID numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_CORRELATOR_MESSAGE_CKEY (ID numeric(19,0) identity not null, CKEY varchar(255) null, CORRELATOR_MESSAGE_ID numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_EVENT (ID numeric(19,0) identity not null, IID numeric(19,0) null, PID numeric(19,0) null, TSTAMP datetime null, TYPE varchar(255) null, DETAIL text null, LDATA_ID numeric(19,0) null, SID numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_FAULT (ID numeric(19,0) identity not null, FAULTNAME varchar(255) null, LDATA_ID numeric(19,0) null, EXPLANATION varchar(4000) null, LINE_NUM int null, AID int null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_INSTANCE (ID numeric(19,0) identity not null, INSTANTIATING_CORRELATOR numeric(19,0) null, FAULT numeric(19,0) null, JACOB_STATE numeric(19,0) null, PREVIOUS_STATE smallint null, PROCESS_ID numeric(19,0) null, STATE smallint null, LAST_ACTIVE_DT datetime null, SEQUENCE numeric(19,0) null, FAILURE_COUNT int null, FAILURE_DT datetime null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_MESSAGE (ID numeric(19,0) identity not null, MEX numeric(19,0) null, TYPE varchar(255) null, DATA numeric(19,0) null, HEADER numeric(19,0) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_MESSAGE_EXCHANGE (ID numeric(19,0) identity not null, PORT_TYPE varchar(255) null, CHANNEL_NAME varchar(255) null, CLIENTKEY varchar(255) null, LDATA_EPR_ID numeric(19,0) null, LDATA_CEPR_ID numeric(19,0) null, REQUEST numeric(19,0) null, RESPONSE numeric(19,0) null, INSERT_DT datetime null, OPERATION varchar(255) null, STATE varchar(255) null, PROCESS numeric(19,0) null, PIID numeric(19,0) null, DIR char(1) null, PLINK_MODELID int null, PATTERN varchar(255) null, CORR_STATUS varchar(255) null, FAULT_TYPE varchar(255) null, FAULT_EXPL varchar(255) null, CALLEE varchar(255) null, PARTNERLINK numeric(19,0) null, PIPED_ID varchar(255) null, SUBSCRIBER_COUNT int null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_MEX_PROPS (MEX numeric(19,0) not null, VALUE varchar(8000) null, NAME varchar(255) not null, primary key (MEX, NAME));
+create table BPEL_PLINK_VAL (ID numeric(19,0) identity not null, PARTNER_LINK varchar(100) not null, PARTNERROLE varchar(100) null, MYROLE_EPR numeric(19,0) null, PARTNERROLE_EPR numeric(19,0) null, PROCESS numeric(19,0) null, SCOPE numeric(19,0) null, SVCNAME varchar(255) null, MYROLE varchar(100) null, MODELID int null, MYSESSIONID varchar(255) null, PARTNERSESSIONID varchar(255) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_PROCESS (ID numeric(19,0) identity not null, PROCID varchar(255) not null unique, deployer varchar(255) null, deploydate datetime null, type_name varchar(255) null, type_ns varchar(255) null, version numeric(19,0) null, ACTIVE_ tinyint null, guid varchar(255) null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_SCOPE (ID numeric(19,0) identity not null, PIID numeric(19,0) null, PARENT_SCOPE_ID numeric(19,0) null, STATE varchar(255) not null, NAME varchar(255) not null, MODELID int null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_SELECTORS (ID numeric(19,0) identity not null, PIID numeric(19,0) not null, SELGRPID varchar(255) not null, IDX int not null, CORRELATION_KEY varchar(255) not null, PROC_TYPE varchar(255) not null, ROUTE_POLICY varchar(255) null, CORRELATOR numeric(19,0) not null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID), unique (CORRELATION_KEY, CORRELATOR));
+create table BPEL_UNMATCHED (ID numeric(19,0) identity not null, MEX numeric(19,0) null, CORRELATION_KEY varchar(255) null, CORRELATOR numeric(19,0) not null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table BPEL_XML_DATA (ID numeric(19,0) identity not null, LDATA_ID numeric(19,0) null, NAME varchar(255) not null, SCOPE_ID numeric(19,0) null, PIID numeric(19,0) null, IS_SIMPLE_TYPE tinyint null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table LARGE_DATA (ID numeric(19,0) identity not null, BIN_DATA image null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create table VAR_PROPERTY (ID numeric(19,0) identity not null, XML_DATA_ID numeric(19,0) null, PROP_VALUE varchar(255) null, PROP_NAME varchar(255) not null, INSERT_TIME datetime null, MLOCK int not null, primary key (ID));
+create index IDX_CORRELATOR_CID on BPEL_CORRELATOR (CID);
+create index IDX_BPEL_CORRELATOR_MESSAGE_CKEY on BPEL_CORRELATOR_MESSAGE_CKEY (CKEY);
+create index IDX_SELECTOR_CORRELATOR on BPEL_SELECTORS (CORRELATOR);
+create index IDX_SELECTOR_CKEY on BPEL_SELECTORS (CORRELATION_KEY);
+create index IDX_SELECTOR_SELGRPID on BPEL_SELECTORS (SELGRPID);
+create index IDX_UNMATCHED_CKEY on BPEL_UNMATCHED (CORRELATION_KEY);
+create index IDX_UNMATCHED_CORRELATOR on BPEL_UNMATCHED (CORRELATOR);
Added: trunk/runtime/engine-assembly/src/main/resources/bpel.properties
===================================================================
--- trunk/runtime/engine-assembly/src/main/resources/bpel.properties (rev 0)
+++ trunk/runtime/engine-assembly/src/main/resources/bpel.properties 2009-11-20 04:52:19 UTC (rev 283)
@@ -0,0 +1,101 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+## bpel Configuraiton Properties
+
+## Database Mode ("INTERNAL", "EXTERNAL", "EMBEDDED")
+## What kind of database should ODE use?
+## * "EMBEDDED" - ODE will create its own embbeded database (Derby)
+## and connection pool (Minerva).
+## * "EXTERNAL" - ODE will use an app-server provided database and pool.
+## The "ode-jbi.db.ext.dataSource" property will need to
+## be set.
+## * "INTERNAL" - ODE will create its own connection pool for a user-
+## specified JDBC URL and driver.
+#bpel.db.mode=EMBEDDED
+
+## External Database [JNDI Name]
+## JNDI Name of the DataSource for the ODE database. This is only
+## used if the "ode-jbi.db.mode" property is set to "EXTERNAL"
+#bpel.db.ext.dataSource=java:comp/env/jdbc/ode
+
+## Embedded Database Name [String]
+## Name of the embedded Derby database. This is only used if the
+## "ode-jbi.db.mode" property is set to "EMBEDDED".
+#ode-jbi.db.emb.name=hibdb
+#ode-jbi.db.emb.name=jpadb
+
+## Internal Database Configuration
+#ode-jbi.db.int.jdbcurl=jdbc:mysql://localhost/ode?user=sa
+#ode-jbi.db.int.driver=com.mysql.jdbc.Driver
+#bpel.db.int.password =
+#bpel.db.int.username =
+
+## DB Pool Configuration for internal DB
+#bpel.db.pool.max = 10
+#bpel.db.pool.min = 1
+
+## DAO Connection Factory class.
+## uncomment the following for hibernate.
+bpel.dao.factory=org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
+
+## Transaction Factory
+## default is org.apache.ode.il.EmbeddedGeronimoFactory
+## available alternatives are:
+## org.apache.ode.axis2.util.GeronimoFactory
+## org.apache.ode.axis2.util.JBossFactory
+## org.apache.ode.axis2.util.TomcatFactory
+
+## org.apache.ode.axis2.util.WLSFactory
+bpel.tx.factory.class = org.jboss.soa.bpel.runtime.engine.ode.JBossTransactionFactory
+
+## JCA connector port (default 2099), set to 0 to disable JCA connector
+#bpel.jca.port =
+
+## JCA conncetor name (default 'ode')
+#bpel.jca.name =
+
+## Working dir
+#bpel.working.dir =
+
+## MEX Interceptors
+#bpel.mex.interceptors =
+
+## Process dehydration
+#bpel.process.dehydration =
+
+## Extension Bundles
+## FQCNs, comma separated.
+#bpel.extension.bundles.runtime =
+#bpel.extension.bundles.validation =
+
+bpel.db.mode=EXTERNAL
+bpel.db.ext.dataSource=java:BPELDB
+
+hibernate.dialect=org.hibernate.dialect.H2Dialect
+hibernate.hbm2ddl.auto=update
+hibernate.current_session_context_class=jta
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+
+jta.UserTransaction=UserTransaction
+
+ode.persistence=hibernate
+
+ode.process.checkguid=false
+ode.process.store=org.apache.ode.store.JBossProcessStoreImpl
Modified: trunk/runtime/jbossesb-bpel/pom.xml
===================================================================
--- trunk/runtime/jbossesb-bpel/pom.xml 2009-11-19 03:04:23 UTC (rev 282)
+++ trunk/runtime/jbossesb-bpel/pom.xml 2009-11-20 04:52:19 UTC (rev 283)
@@ -17,7 +17,7 @@
<dependencies>
<dependency>
<groupId>org.jboss.soa.bpel.runtime</groupId>
- <artifactId>engine</artifactId>
+ <artifactId>riftsaw-engine</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
<dependency>
@@ -43,6 +43,11 @@
<version>3.8.1</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<finalName>jbossesb-bpel</finalName>
14 years, 6 months