[jbpm-commits] JBoss JBPM SVN: r5493 - in jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm: jbpm2489 and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Aug 19 08:52:47 EDT 2009
Author: alex.guizar at jboss.com
Date: 2009-08-19 08:52:47 -0400 (Wed, 19 Aug 2009)
New Revision: 5493
Added:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/gpd.xml
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/processdefinition.xml
Log:
[JBPM-2489] upload missing test resources
Added: jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/gpd.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/gpd.xml (rev 0)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/gpd.xml 2009-08-19 12:52:47 UTC (rev 5493)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<root-container name="bpm_orchestration2" width="494" height="548">
+ <node name="Start" x="181" y="26" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Receive Order" x="350" y="26" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Validate Order" x="178" y="93" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="fork1" x="117" y="224" width="252" height="24">
+ <edge>
+ <label x="-20" y="-8"/>
+ </edge>
+ <edge>
+ <label x="-53" y="-11"/>
+ </edge>
+ <edge>
+ <label x="21" y="-11"/>
+ </edge>
+ </node>
+ <node name="Los Angeles WHSE" x="176" y="300" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ <edge>
+ <label x="-10" y="-33"/>
+ </edge>
+ </node>
+ <node name="Dallas WHSE" x="13" y="299" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Atlanta WHSE" x="339" y="300" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="join1" x="115" y="387" width="252" height="24">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Shipment Notice" x="174" y="446" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="End" x="174" y="511" width="132" height="36"/>
+ <node name="Inventory Check" x="177" y="156" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+ <node name="Credit Check" x="350" y="93" width="132" height="36">
+ <edge>
+ <label x="5" y="-10"/>
+ </edge>
+ </node>
+</root-container>
Added: jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/processdefinition.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/processdefinition.xml (rev 0)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/org/jbpm/jbpm2489/processdefinition.xml 2009-08-19 12:52:47 UTC (rev 5493)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="bpm_orchestration2">
+
+ <start-state name="Start">
+ <transition to="Receive Order"/>
+ </start-state>
+
+ <node async="true" name="Receive Order">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service1</esbCategoryName>
+ <esbServiceName>Service1</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="Credit Check"/>
+ </node>
+
+ <node name="Validate Order">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service2</esbCategoryName>
+ <esbServiceName>Service2</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="Inventory Check"/>
+ </node>
+
+ <fork name="fork1">
+ <transition to="Los Angeles WHSE" name="LA"/>
+ <transition to="Dallas WHSE" name="Dallas"/>
+ <transition name="Atlanta" to="Atlanta WHSE"/>
+ </fork>
+
+ <state name="Los Angeles WHSE">
+ <timer duedate="2 seconds" transition="Dallas"/>
+ <transition name="OK" to="join1"/>
+ <transition to="Dallas WHSE" name="Dallas"/>
+ </state>
+
+ <node name="Dallas WHSE">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service6</esbCategoryName>
+ <esbServiceName>Service6</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="dallas" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="join1"/>
+ </node>
+
+ <node async="true" name="Atlanta WHSE">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service7</esbCategoryName>
+ <esbServiceName>Service7</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="atlanta" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="join1"/>
+ </node>
+
+ <join name="join1" async="exclusive">
+ <transition to="Shipment Notice"/>
+ </join>
+
+ <node name="Shipment Notice">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_ResultsService
+ </esbCategoryName>
+ <esbServiceName>ResultsService</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="atlanta" esb="atlanta"/>
+ <mapping bpm="la" esb="la"/>
+ <mapping bpm="dallas" esb="dallas"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="End"/>
+ </node>
+
+ <end-state name="End"/>
+
+ <node async="true" name="Inventory Check">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service4</esbCategoryName>
+ <esbServiceName>Service4</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="fork1"/>
+ </node>
+
+ <node name="Credit Check">
+ <action class="org.jbpm.jbpm2094.EsbActionHandler">
+ <esbCategoryName>BPM_Orchestration2_Service3</esbCategoryName>
+ <esbServiceName>Service3</esbServiceName>
+ <bpmToEsbVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </bpmToEsbVars>
+ <esbToBpmVars>
+ <mapping bpm="theBody" esb="BODY_CONTENT"/>
+ </esbToBpmVars>
+ </action>
+ <transition to="Validate Order"/>
+ </node>
+
+</process-definition>
More information about the jbpm-commits
mailing list