aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn
diff options
context:
space:
mode:
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn194
1 files changed, 194 insertions, 0 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn
new file mode 100644
index 0000000000..9481ad892e
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/main/resources/subprocess/BuildingBlock/HomingV2.bpmn
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.10.0">
+ <bpmn:process id="HomingV2" name="HomingV2" isExecutable="true">
+ <bpmn:startEvent id="start">
+ <bpmn:outgoing>SequenceFlow_0gpuwes</bpmn:outgoing>
+ </bpmn:startEvent>
+ <bpmn:subProcess id="subprocessBpmnError" name="Error Handling Subprocess" triggeredByEvent="true">
+ <bpmn:endEvent id="endBpmnError">
+ <bpmn:incoming>SequenceFlow_14dg22y</bpmn:incoming>
+ <bpmn:terminateEventDefinition />
+ </bpmn:endEvent>
+ <bpmn:startEvent id="catchBpmnError">
+ <bpmn:outgoing>SequenceFlow_0g3mn4b</bpmn:outgoing>
+ <bpmn:errorEventDefinition />
+ </bpmn:startEvent>
+ <bpmn:scriptTask id="processBpmnError" name="Process Error" scriptFormat="groovy">
+ <bpmn:incoming>SequenceFlow_0g3mn4b</bpmn:incoming>
+ <bpmn:outgoing>SequenceFlow_14dg22y</bpmn:outgoing>
+ <bpmn:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
+ExceptionUtil ex = new ExceptionUtil()
+ex.processSubflowsBPMNException(execution)]]></bpmn:script>
+ </bpmn:scriptTask>
+ <bpmn:sequenceFlow id="SequenceFlow_14dg22y" sourceRef="processBpmnError" targetRef="endBpmnError" />
+ <bpmn:sequenceFlow id="SequenceFlow_0g3mn4b" sourceRef="catchBpmnError" targetRef="processBpmnError" />
+ </bpmn:subProcess>
+ <bpmn:subProcess id="subprocessJavaException" triggeredByEvent="true">
+ <bpmn:scriptTask id="processJavaException" name="Process Error" scriptFormat="groovy">
+ <bpmn:incoming>seq</bpmn:incoming>
+ <bpmn:outgoing>SequenceFlow_1epbfhx</bpmn:outgoing>
+ <bpmn:script><![CDATA[import org.onap.so.bpmn.common.scripts.*
+ExceptionUtil ex = new ExceptionUtil()
+ex.processJavaException(execution)]]></bpmn:script>
+ </bpmn:scriptTask>
+ <bpmn:startEvent id="catchJavaException">
+ <bpmn:outgoing>seq</bpmn:outgoing>
+ <bpmn:errorEventDefinition errorRef="Error_0jmwlex" />
+ </bpmn:startEvent>
+ <bpmn:endEvent id="endJavaException">
+ <bpmn:incoming>SequenceFlow_1epbfhx</bpmn:incoming>
+ <bpmn:terminateEventDefinition />
+ </bpmn:endEvent>
+ <bpmn:sequenceFlow id="seq" name="" sourceRef="catchJavaException" targetRef="processJavaException" />
+ <bpmn:sequenceFlow id="SequenceFlow_1epbfhx" name="" sourceRef="processJavaException" targetRef="endJavaException" />
+ </bpmn:subProcess>
+ <bpmn:callActivity id="callReceiveAsync" name="Receive Async Callback" camunda:modelerTemplate="receiveWorkflowMessage" calledElement="ReceiveWorkflowMessage">
+ <bpmn:extensionElements>
+ <camunda:in source="true" target="isDebugLogEnabled" />
+ <camunda:out source="WorkflowException" target="WorkflowException" />
+ <camunda:out source="WorkflowResponse" target="asyncResponse" />
+ <camunda:in source="asyncCorrelator" target="RCVWFMSG_correlator" />
+ <camunda:in source="asyncMessageType" target="RCVWFMSG_messageType" />
+ <camunda:in source="asyncTimeout" target="RCVWFMSG_timeout" />
+ </bpmn:extensionElements>
+ <bpmn:incoming>sequence_2</bpmn:incoming>
+ <bpmn:outgoing>SequenceFlow_0m9c6gt</bpmn:outgoing>
+ </bpmn:callActivity>
+ <bpmn:endEvent id="end">
+ <bpmn:incoming>updateExecution</bpmn:incoming>
+ <bpmn:terminateEventDefinition />
+ </bpmn:endEvent>
+ <bpmn:sequenceFlow id="SequenceFlow_0gpuwes" sourceRef="start" targetRef="callSniro" />
+ <bpmn:sequenceFlow id="sequence_2" sourceRef="callSniro" targetRef="callReceiveAsync" />
+ <bpmn:sequenceFlow id="SequenceFlow_0m9c6gt" sourceRef="callReceiveAsync" targetRef="processSolution" />
+ <bpmn:sequenceFlow id="updateExecution" sourceRef="processSolution" targetRef="end" />
+ <bpmn:serviceTask id="callSniro" name="&#10;Call&#10;Sniro&#10;" camunda:expression="${SniroHoming.callSniro(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
+ <bpmn:incoming>SequenceFlow_0gpuwes</bpmn:incoming>
+ <bpmn:outgoing>sequence_2</bpmn:outgoing>
+ </bpmn:serviceTask>
+ <bpmn:serviceTask id="processSolution" name="&#10;Process Solution&#10;" camunda:expression="${SniroHoming.processSolution(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)), asyncResponse)}">
+ <bpmn:incoming>SequenceFlow_0m9c6gt</bpmn:incoming>
+ <bpmn:outgoing>updateExecution</bpmn:outgoing>
+ </bpmn:serviceTask>
+ </bpmn:process>
+ <bpmn:error id="Error_0jmwlex" name="Java Exception" errorCode="java.lang.Exception" />
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="HomingV2">
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="start">
+ <dc:Bounds x="135" y="225" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="108" y="261" width="90" height="20" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="SubProcess_1se9fyh_di" bpmnElement="subprocessBpmnError" isExpanded="true">
+ <dc:Bounds x="246" y="399" width="409" height="168" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="SubProcess_0rphl19_di" bpmnElement="subprocessJavaException" isExpanded="true">
+ <dc:Bounds x="276" y="582" width="350" height="159" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="CallActivity_1o5l6xd_di" bpmnElement="callReceiveAsync">
+ <dc:Bounds x="447" y="203" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="EndEvent_0jdabkl_di" bpmnElement="end">
+ <dc:Bounds x="852" y="225" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="824" y="265" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="SequenceFlow_0gpuwes_di" bpmnElement="SequenceFlow_0gpuwes">
+ <di:waypoint xsi:type="dc:Point" x="171" y="243" />
+ <di:waypoint xsi:type="dc:Point" x="305" y="243" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="238" y="222" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_1ohpzke_di" bpmnElement="sequence_2">
+ <di:waypoint xsi:type="dc:Point" x="405" y="243" />
+ <di:waypoint xsi:type="dc:Point" x="447" y="243" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="426" y="222" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_0m9c6gt_di" bpmnElement="SequenceFlow_0m9c6gt">
+ <di:waypoint xsi:type="dc:Point" x="547" y="243" />
+ <di:waypoint xsi:type="dc:Point" x="589" y="243" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="568" y="222" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_0f9pput_di" bpmnElement="updateExecution">
+ <di:waypoint xsi:type="dc:Point" x="689" y="243" />
+ <di:waypoint xsi:type="dc:Point" x="852" y="243" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="770.5" y="222" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="EndEvent_0q9vsib_di" bpmnElement="endBpmnError">
+ <dc:Bounds x="571" y="473" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="544" y="514" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="StartEvent_1p10ecj_di" bpmnElement="catchBpmnError">
+ <dc:Bounds x="291" y="473" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="264" y="514" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="ScriptTask_112ioi2_di" bpmnElement="processBpmnError">
+ <dc:Bounds x="398" y="451" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="ScriptTask_0nil5vh_di" bpmnElement="processJavaException">
+ <dc:Bounds x="402" y="630" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="StartEvent_0ekzjqo_di" bpmnElement="catchJavaException">
+ <dc:Bounds x="310" y="652" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="283" y="693" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="EndEvent_0mrji6a_di" bpmnElement="endJavaException">
+ <dc:Bounds x="559" y="652" width="36" height="36" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="532" y="693" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNEdge id="SequenceFlow_14dg22y_di" bpmnElement="SequenceFlow_14dg22y">
+ <di:waypoint xsi:type="dc:Point" x="498" y="491" />
+ <di:waypoint xsi:type="dc:Point" x="571" y="491" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="490.5" y="476" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_0g3mn4b_di" bpmnElement="SequenceFlow_0g3mn4b">
+ <di:waypoint xsi:type="dc:Point" x="327" y="491" />
+ <di:waypoint xsi:type="dc:Point" x="355" y="491" />
+ <di:waypoint xsi:type="dc:Point" x="355" y="491" />
+ <di:waypoint xsi:type="dc:Point" x="398" y="491" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="325" y="491" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_1bsc30u_di" bpmnElement="seq">
+ <di:waypoint xsi:type="dc:Point" x="346" y="670" />
+ <di:waypoint xsi:type="dc:Point" x="402" y="670" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="329" y="655" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNEdge id="SequenceFlow_1epbfhx_di" bpmnElement="SequenceFlow_1epbfhx">
+ <di:waypoint xsi:type="dc:Point" x="502" y="670" />
+ <di:waypoint xsi:type="dc:Point" x="559" y="670" />
+ <bpmndi:BPMNLabel>
+ <dc:Bounds x="486.5" y="655" width="0" height="12" />
+ </bpmndi:BPMNLabel>
+ </bpmndi:BPMNEdge>
+ <bpmndi:BPMNShape id="ServiceTask_1mclgnq_di" bpmnElement="callSniro">
+ <dc:Bounds x="305" y="203" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ <bpmndi:BPMNShape id="ServiceTask_08lua6t_di" bpmnElement="processSolution">
+ <dc:Bounds x="589" y="203" width="100" height="80" />
+ </bpmndi:BPMNShape>
+ </bpmndi:BPMNPlane>
+ </bpmndi:BPMNDiagram>
+</bpmn:definitions>