Sfoglia il codice sorgente

{/src/main/resources/net/p0f/samples/rhpam_fuse_integration/pam_consume_ws_rs/consume-rest-ws.bpmn}

rhpamAdmin 3 anni fa
parent
commit
4182f324b9

+ 39 - 39
src/main/resources/net/p0f/samples/rhpam_fuse_integration/pam_consume_ws_rs/consume-rest-ws.bpmn

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_8tstgAx1EeyIcc4YObUG6g" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
+<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_AsLscBCAEeyhjfOg7g60Jw" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
   <bpmn2:itemDefinition id="_customerIdItem" structureRef="Integer"/>
   <bpmn2:itemDefinition id="_customerItem" structureRef="net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer"/>
   <bpmn2:itemDefinition id="__145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptCharsetInputXItem" structureRef="String"/>
@@ -19,7 +19,7 @@
   <bpmn2:itemDefinition id="__145D1653-8AC7-4F5A-80AE-185E373A8323_UrlInputXItem" structureRef="String"/>
   <bpmn2:itemDefinition id="__145D1653-8AC7-4F5A-80AE-185E373A8323_UsernameInputXItem" structureRef="String"/>
   <bpmn2:itemDefinition id="__145D1653-8AC7-4F5A-80AE-185E373A8323_ResultOutputXItem" structureRef="net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer"/>
-  <bpmn2:process id="services.consume-rest-ws" drools:packageName="net.p0f.samples.rhpam_fuse_integration.pam_consume_ws_rs" drools:version="1.0" drools:adHoc="false" name="rest-resttask" isExecutable="true" processType="Public">
+  <bpmn2:process id="services.consume-rest-ws" drools:packageName="net.p0f.samples.rhpam_fuse_integration.pam_consume_ws_rs" drools:version="1.0" drools:adHoc="false" name="consume-rest-ws" isExecutable="true" processType="Public">
     <bpmn2:extensionElements>
       <drools:import name="net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer"/>
     </bpmn2:extensionElements>
@@ -60,7 +60,7 @@
       <bpmn2:incoming>_4B797EA1-8B9F-4D7E-A579-C412F2009F97</bpmn2:incoming>
     </bpmn2:endEvent>
     <bpmn2:task id="_145D1653-8AC7-4F5A-80AE-185E373A8323" drools:taskName="Rest" name="Rest">
-      <bpmn2:documentation id="_8tstgQx1EeyIcc4YObUG6g"><![CDATA[jbpm-workitems-rest/index.html]]></bpmn2:documentation>
+      <bpmn2:documentation id="_AsLscRCAEeyhjfOg7g60Jw"><![CDATA[jbpm-workitems-rest/index.html]]></bpmn2:documentation>
       <bpmn2:extensionElements>
         <drools:metaData name="elementname">
           <drools:metaValue><![CDATA[Rest]]></drools:metaValue>
@@ -68,7 +68,7 @@
       </bpmn2:extensionElements>
       <bpmn2:incoming>_C309BFD2-A7AC-4C34-9AC8-A1641F282D7D</bpmn2:incoming>
       <bpmn2:outgoing>_07F22C12-A465-4A02-8355-C65214D84734</bpmn2:outgoing>
-      <bpmn2:ioSpecification id="_8tstggx1EeyIcc4YObUG6g">
+      <bpmn2:ioSpecification id="_AsLschCAEeyhjfOg7g60Jw">
         <bpmn2:dataInput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptCharsetInputX" drools:dtype="String" itemSubjectRef="__145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptCharsetInputXItem" name="AcceptCharset"/>
         <bpmn2:dataInput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputX" drools:dtype="String" itemSubjectRef="__145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputXItem" name="AcceptHeader"/>
         <bpmn2:dataInput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_AuthTypeInputX" drools:dtype="String" itemSubjectRef="__145D1653-8AC7-4F5A-80AE-185E373A8323_AuthTypeInputXItem" name="AuthType"/>
@@ -87,7 +87,7 @@
         <bpmn2:dataInput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_UsernameInputX" drools:dtype="String" itemSubjectRef="__145D1653-8AC7-4F5A-80AE-185E373A8323_UsernameInputXItem" name="Username"/>
         <bpmn2:dataInput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_TaskNameInputX" drools:dtype="Object" name="TaskName"/>
         <bpmn2:dataOutput id="_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultOutputX" drools:dtype="net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer" itemSubjectRef="__145D1653-8AC7-4F5A-80AE-185E373A8323_ResultOutputXItem" name="Result"/>
-        <bpmn2:inputSet id="_8tstgwx1EeyIcc4YObUG6g">
+        <bpmn2:inputSet id="_AsLscxCAEeyhjfOg7g60Jw">
           <bpmn2:dataInputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptCharsetInputX</bpmn2:dataInputRefs>
           <bpmn2:dataInputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputX</bpmn2:dataInputRefs>
           <bpmn2:dataInputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_AuthTypeInputX</bpmn2:dataInputRefs>
@@ -106,53 +106,53 @@
           <bpmn2:dataInputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_UsernameInputX</bpmn2:dataInputRefs>
           <bpmn2:dataInputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_TaskNameInputX</bpmn2:dataInputRefs>
         </bpmn2:inputSet>
-        <bpmn2:outputSet id="_8tsthAx1EeyIcc4YObUG6g">
+        <bpmn2:outputSet id="_AsLsdBCAEeyhjfOg7g60Jw">
           <bpmn2:dataOutputRefs>_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultOutputX</bpmn2:dataOutputRefs>
         </bpmn2:outputSet>
       </bpmn2:ioSpecification>
-      <bpmn2:dataInputAssociation id="_8tsthQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLsdRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tsthgx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tsthwx1EeyIcc4YObUG6g"><![CDATA[application/json]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstiAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLsdhCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLsdxCAEeyhjfOg7g60Jw"><![CDATA[application/json]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLseBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_AcceptHeaderInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataInputAssociation id="_8tstiQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLseRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_ContentTypeInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tstigx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tstiwx1EeyIcc4YObUG6g"><![CDATA[application/json]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstjAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_ContentTypeInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLsehCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLsexCAEeyhjfOg7g60Jw"><![CDATA[application/json]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLsfBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_ContentTypeInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataInputAssociation id="_8tstjQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLsfRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_MethodInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tstjgx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tstjwx1EeyIcc4YObUG6g"><![CDATA[GET]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstkAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_MethodInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLsfhCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLsfxCAEeyhjfOg7g60Jw"><![CDATA[GET]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLsgBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_MethodInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataInputAssociation id="_8tstkQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLsgRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultClassInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tstkgx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tstkwx1EeyIcc4YObUG6g"><![CDATA[net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstlAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultClassInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLsghCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLsgxCAEeyhjfOg7g60Jw"><![CDATA[net.p0f.samples.rhpam_fuse_integration.shared_dom.Customer]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLshBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultClassInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataInputAssociation id="_8tstlQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLshRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_UrlInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tstlgx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tstlwx1EeyIcc4YObUG6g"><![CDATA[http://localhost:9080/ws-customer-data/api/customers/#{customerId}]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstmAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_UrlInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLshhCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLshxCAEeyhjfOg7g60Jw"><![CDATA[http://localhost:9080/ws-customer-data/api/customers/#{customerId}]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLsiBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_UrlInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataInputAssociation id="_8tstmQx1EeyIcc4YObUG6g">
+      <bpmn2:dataInputAssociation id="_AsLsiRCAEeyhjfOg7g60Jw">
         <bpmn2:targetRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_TaskNameInputX</bpmn2:targetRef>
-        <bpmn2:assignment id="_8tstmgx1EeyIcc4YObUG6g">
-          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_8tstmwx1EeyIcc4YObUG6g"><![CDATA[Rest]]></bpmn2:from>
-          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_8tstnAx1EeyIcc4YObUG6g">_145D1653-8AC7-4F5A-80AE-185E373A8323_TaskNameInputX</bpmn2:to>
+        <bpmn2:assignment id="_AsLsihCAEeyhjfOg7g60Jw">
+          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_AsLsixCAEeyhjfOg7g60Jw"><![CDATA[Rest]]></bpmn2:from>
+          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_AsLsjBCAEeyhjfOg7g60Jw">_145D1653-8AC7-4F5A-80AE-185E373A8323_TaskNameInputX</bpmn2:to>
         </bpmn2:assignment>
       </bpmn2:dataInputAssociation>
-      <bpmn2:dataOutputAssociation id="_8tstnQx1EeyIcc4YObUG6g">
+      <bpmn2:dataOutputAssociation id="_AsLsjRCAEeyhjfOg7g60Jw">
         <bpmn2:sourceRef>_145D1653-8AC7-4F5A-80AE-185E373A8323_ResultOutputX</bpmn2:sourceRef>
         <bpmn2:targetRef>customer</bpmn2:targetRef>
       </bpmn2:dataOutputAssociation>
@@ -161,8 +161,8 @@
       <bpmn2:outgoing>_C309BFD2-A7AC-4C34-9AC8-A1641F282D7D</bpmn2:outgoing>
     </bpmn2:startEvent>
   </bpmn2:process>
-  <bpmndi:BPMNDiagram id="_8tstngx1EeyIcc4YObUG6g">
-    <bpmndi:BPMNPlane id="_8tstnwx1EeyIcc4YObUG6g" bpmnElement="services.rest-resttask">
+  <bpmndi:BPMNDiagram id="_AsLsjhCAEeyhjfOg7g60Jw">
+    <bpmndi:BPMNPlane id="_AsLsjxCAEeyhjfOg7g60Jw" bpmnElement="services.consume-rest-ws">
       <bpmndi:BPMNShape id="shape__7CFCBAA4-0532-44A4-AEB9-088FFD8E43B2" bpmnElement="_7CFCBAA4-0532-44A4-AEB9-088FFD8E43B2">
         <dc:Bounds height="56.0" width="56.0" x="150.0" y="219.0"/>
       </bpmndi:BPMNShape>
@@ -189,19 +189,19 @@
       </bpmndi:BPMNEdge>
     </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
-  <bpmn2:relationship id="_8tstoAx1EeyIcc4YObUG6g" type="BPSimData">
+  <bpmn2:relationship id="_AsLskBCAEeyhjfOg7g60Jw" type="BPSimData">
     <bpmn2:extensionElements>
       <bpsim:BPSimData>
         <bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario">
           <bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters"/>
-          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_7CFCBAA4-0532-44A4-AEB9-088FFD8E43B2" id="_8tstoQx1EeyIcc4YObUG6g">
+          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_7CFCBAA4-0532-44A4-AEB9-088FFD8E43B2" id="_AsLskRCAEeyhjfOg7g60Jw">
             <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
               <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                 <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
               </bpsim:ProcessingTime>
             </bpsim:TimeParameters>
           </bpsim:ElementParameters>
-          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_145D1653-8AC7-4F5A-80AE-185E373A8323" id="_8tstogx1EeyIcc4YObUG6g">
+          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_145D1653-8AC7-4F5A-80AE-185E373A8323" id="_AsLskhCAEeyhjfOg7g60Jw">
             <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
               <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                 <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
@@ -221,7 +221,7 @@
               </bpsim:UnitCost>
             </bpsim:CostParameters>
           </bpsim:ElementParameters>
-          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_2ECBFAC5-8BC7-4B4B-8286-8E84A42F7590" id="_8tstowx1EeyIcc4YObUG6g">
+          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_2ECBFAC5-8BC7-4B4B-8286-8E84A42F7590" id="_AsLskxCAEeyhjfOg7g60Jw">
             <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
               <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                 <bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
@@ -244,7 +244,7 @@
         </bpsim:Scenario>
       </bpsim:BPSimData>
     </bpmn2:extensionElements>
-    <bpmn2:source>_8tstgAx1EeyIcc4YObUG6g</bpmn2:source>
-    <bpmn2:target>_8tstgAx1EeyIcc4YObUG6g</bpmn2:target>
+    <bpmn2:source>_AsLscBCAEeyhjfOg7g60Jw</bpmn2:source>
+    <bpmn2:target>_AsLscBCAEeyhjfOg7g60Jw</bpmn2:target>
   </bpmn2:relationship>
 </bpmn2:definitions>