Implementation of HealthCheckBB
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / CNFAdapterAsyncCall.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0xinghn" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.0.0">
3   <bpmn:process id="CNFAdapterAsyncCall" name="CNFAdapterAsyncCall" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1" name="CNFAdapterAsyncCall_start">
5       <bpmn:outgoing>Flow_0q7kp9w</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="Event_15f5cnf" name="CNFAdapterAsyncCall_end">
8       <bpmn:incoming>Flow_0cy88g6</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:callActivity id="Activity_0fhymrt" name="Receive Async Callback" camunda:modelerTemplate="receiveWorkflowMessage" calledElement="ReceiveWorkflowMessage">
11       <bpmn:extensionElements>
12         <camunda:in source="true" target="isDebugLogEnabled" />
13         <camunda:out source="WorkflowException" target="WorkflowException" />
14         <camunda:in source="messageType" target="RCVWFMSG_messageType" />
15         <camunda:in source="correlator" target="RCVWFMSG_correlator" />
16         <camunda:in source="timeout" target="RCVWFMSG_timeout" />
17         <camunda:out source="WorkflowResponse" target="asyncCallbackResponse" />
18       </bpmn:extensionElements>
19       <bpmn:incoming>Flow_0njjlbm</bpmn:incoming>
20       <bpmn:outgoing>Flow_0cy88g6</bpmn:outgoing>
21     </bpmn:callActivity>
22     <bpmn:sequenceFlow id="Flow_0njjlbm" sourceRef="Activity_1ttieoz" targetRef="Activity_0fhymrt" />
23     <bpmn:sequenceFlow id="Flow_0q7kp9w" sourceRef="StartEvent_1" targetRef="Activity_0lttdg6" />
24     <bpmn:sequenceFlow id="Flow_0cy88g6" sourceRef="Activity_0fhymrt" targetRef="Event_15f5cnf" />
25     <bpmn:sequenceFlow id="Flow_04o97wl" sourceRef="Activity_0lttdg6" targetRef="Activity_1ttieoz" />
26     <bpmn:scriptTask id="Activity_0lttdg6" name="Preprocess request" scriptFormat="groovy">
27       <bpmn:incoming>Flow_0q7kp9w</bpmn:incoming>
28       <bpmn:outgoing>Flow_04o97wl</bpmn:outgoing>
29       <bpmn:script>import org.onap.so.bpmn.common.scripts.*
30 def cnf= new CNFAdapterAsync()
31 cnf.preProcessRequest(execution)</bpmn:script>
32     </bpmn:scriptTask>
33     <bpmn:scriptTask id="Activity_1ttieoz" name="Call CnfAdapter" scriptFormat="groovy">
34       <bpmn:incoming>Flow_04o97wl</bpmn:incoming>
35       <bpmn:outgoing>Flow_0njjlbm</bpmn:outgoing>
36       <bpmn:script>import org.onap.so.bpmn.common.scripts.*
37 def cnf= new CNFAdapterAsync()
38 cnf.callCnfAdapter(execution)</bpmn:script>
39     </bpmn:scriptTask>
40     <bpmn:subProcess id="Activity_06t66qc" name="Error Handling&#10;&#10;" triggeredByEvent="true">
41       <bpmn:startEvent id="Event_0ny1qj3">
42         <bpmn:outgoing>Flow_0xo7st8</bpmn:outgoing>
43         <bpmn:errorEventDefinition id="ErrorEventDefinition_0ta0yq5" />
44       </bpmn:startEvent>
45       <bpmn:endEvent id="Event_1t6t0h6">
46         <bpmn:incoming>Flow_0xo7st8</bpmn:incoming>
47         <bpmn:terminateEventDefinition id="TerminateEventDefinition_1i0gtkr" />
48       </bpmn:endEvent>
49       <bpmn:sequenceFlow id="Flow_0xo7st8" sourceRef="Event_0ny1qj3" targetRef="Event_1t6t0h6" />
50     </bpmn:subProcess>
51   </bpmn:process>
52   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
53     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CNFAdapterAsyncCall">
54       <bpmndi:BPMNEdge id="Flow_04o97wl_di" bpmnElement="Flow_04o97wl">
55         <di:waypoint x="330" y="120" />
56         <di:waypoint x="370" y="120" />
57       </bpmndi:BPMNEdge>
58       <bpmndi:BPMNEdge id="Flow_0cy88g6_di" bpmnElement="Flow_0cy88g6">
59         <di:waypoint x="610" y="120" />
60         <di:waypoint x="682" y="120" />
61       </bpmndi:BPMNEdge>
62       <bpmndi:BPMNEdge id="Flow_0q7kp9w_di" bpmnElement="Flow_0q7kp9w">
63         <di:waypoint x="188" y="120" />
64         <di:waypoint x="230" y="120" />
65       </bpmndi:BPMNEdge>
66       <bpmndi:BPMNEdge id="Flow_0njjlbm_di" bpmnElement="Flow_0njjlbm">
67         <di:waypoint x="470" y="120" />
68         <di:waypoint x="510" y="120" />
69       </bpmndi:BPMNEdge>
70       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
71         <dc:Bounds x="152" y="102" width="36" height="36" />
72         <bpmndi:BPMNLabel>
73           <dc:Bounds x="128" y="145" width="85" height="27" />
74         </bpmndi:BPMNLabel>
75       </bpmndi:BPMNShape>
76       <bpmndi:BPMNShape id="Event_15f5cnf_di" bpmnElement="Event_15f5cnf">
77         <dc:Bounds x="682" y="102" width="36" height="36" />
78         <bpmndi:BPMNLabel>
79           <dc:Bounds x="658" y="145" width="85" height="27" />
80         </bpmndi:BPMNLabel>
81       </bpmndi:BPMNShape>
82       <bpmndi:BPMNShape id="Activity_0fhymrt_di" bpmnElement="Activity_0fhymrt">
83         <dc:Bounds x="510" y="80" width="100" height="80" />
84       </bpmndi:BPMNShape>
85       <bpmndi:BPMNShape id="Activity_0j7hue7_di" bpmnElement="Activity_0lttdg6">
86         <dc:Bounds x="230" y="80" width="100" height="80" />
87       </bpmndi:BPMNShape>
88       <bpmndi:BPMNShape id="Activity_0o6kxz9_di" bpmnElement="Activity_1ttieoz">
89         <dc:Bounds x="370" y="80" width="100" height="80" />
90       </bpmndi:BPMNShape>
91       <bpmndi:BPMNShape id="Activity_06t66qc_di" bpmnElement="Activity_06t66qc" isExpanded="true">
92         <dc:Bounds x="210" y="220" width="460" height="135" />
93       </bpmndi:BPMNShape>
94       <bpmndi:BPMNEdge id="Flow_0xo7st8_di" bpmnElement="Flow_0xo7st8">
95         <di:waypoint x="328" y="294" />
96         <di:waypoint x="562" y="294" />
97       </bpmndi:BPMNEdge>
98       <bpmndi:BPMNShape id="Event_0ny1qj3_di" bpmnElement="Event_0ny1qj3">
99         <dc:Bounds x="292" y="276" width="36" height="36" />
100       </bpmndi:BPMNShape>
101       <bpmndi:BPMNShape id="Event_1t6t0h6_di" bpmnElement="Event_1t6t0h6">
102         <dc:Bounds x="562" y="276" width="36" height="36" />
103       </bpmndi:BPMNShape>
104     </bpmndi:BPMNPlane>
105   </bpmndi:BPMNDiagram>
106 </bpmn:definitions>