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>
7 <bpmn:endEvent id="Event_15f5cnf" name="CNFAdapterAsyncCall_end">
8 <bpmn:incoming>Flow_0cy88g6</bpmn:incoming>
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>
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>
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>
40 <bpmn:subProcess id="Activity_06t66qc" name="Error Handling " triggeredByEvent="true">
41 <bpmn:startEvent id="Event_0ny1qj3">
42 <bpmn:outgoing>Flow_0xo7st8</bpmn:outgoing>
43 <bpmn:errorEventDefinition id="ErrorEventDefinition_0ta0yq5" />
45 <bpmn:endEvent id="Event_1t6t0h6">
46 <bpmn:incoming>Flow_0xo7st8</bpmn:incoming>
47 <bpmn:terminateEventDefinition id="TerminateEventDefinition_1i0gtkr" />
49 <bpmn:sequenceFlow id="Flow_0xo7st8" sourceRef="Event_0ny1qj3" targetRef="Event_1t6t0h6" />
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" />
58 <bpmndi:BPMNEdge id="Flow_0cy88g6_di" bpmnElement="Flow_0cy88g6">
59 <di:waypoint x="610" y="120" />
60 <di:waypoint x="682" y="120" />
62 <bpmndi:BPMNEdge id="Flow_0q7kp9w_di" bpmnElement="Flow_0q7kp9w">
63 <di:waypoint x="188" y="120" />
64 <di:waypoint x="230" y="120" />
66 <bpmndi:BPMNEdge id="Flow_0njjlbm_di" bpmnElement="Flow_0njjlbm">
67 <di:waypoint x="470" y="120" />
68 <di:waypoint x="510" y="120" />
70 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
71 <dc:Bounds x="152" y="102" width="36" height="36" />
73 <dc:Bounds x="128" y="145" width="85" height="27" />
76 <bpmndi:BPMNShape id="Event_15f5cnf_di" bpmnElement="Event_15f5cnf">
77 <dc:Bounds x="682" y="102" width="36" height="36" />
79 <dc:Bounds x="658" y="145" width="85" height="27" />
82 <bpmndi:BPMNShape id="Activity_0fhymrt_di" bpmnElement="Activity_0fhymrt">
83 <dc:Bounds x="510" y="80" width="100" height="80" />
85 <bpmndi:BPMNShape id="Activity_0j7hue7_di" bpmnElement="Activity_0lttdg6">
86 <dc:Bounds x="230" y="80" width="100" height="80" />
88 <bpmndi:BPMNShape id="Activity_0o6kxz9_di" bpmnElement="Activity_1ttieoz">
89 <dc:Bounds x="370" y="80" width="100" height="80" />
91 <bpmndi:BPMNShape id="Activity_06t66qc_di" bpmnElement="Activity_06t66qc" isExpanded="true">
92 <dc:Bounds x="210" y="220" width="460" height="135" />
94 <bpmndi:BPMNEdge id="Flow_0xo7st8_di" bpmnElement="Flow_0xo7st8">
95 <di:waypoint x="328" y="294" />
96 <di:waypoint x="562" y="294" />
98 <bpmndi:BPMNShape id="Event_0ny1qj3_di" bpmnElement="Event_0ny1qj3">
99 <dc:Bounds x="292" y="276" width="36" height="36" />
101 <bpmndi:BPMNShape id="Event_1t6t0h6_di" bpmnElement="Event_1t6t0h6">
102 <dc:Bounds x="562" y="276" width="36" height="36" />
105 </bpmndi:BPMNDiagram>