Rob Daugherty | 38f7207 | 2018-03-14 02:07:32 -0400 | [diff] [blame] | 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2"> |
| 3 | <bpmn:process id="DoCreateServiceInstanceRollbackV2" name="DoCreateServiceInstanceRollbackV2" isExecutable="true"> |
| 4 | <bpmn:startEvent id="StartEvent_1" name="start"> |
| 5 | <bpmn:outgoing>SequenceFlow_0r35zfs</bpmn:outgoing> |
| 6 | </bpmn:startEvent> |
| 7 | <bpmn:sequenceFlow id="SequenceFlow_0r35zfs" sourceRef="StartEvent_1" targetRef="ScriptTask_2" /> |
| 8 | <bpmn:endEvent id="EndEvent_1uwvw04" name="end"> |
| 9 | <bpmn:incoming>SequenceFlow_1f949uf</bpmn:incoming> |
| 10 | </bpmn:endEvent> |
| 11 | <bpmn:sequenceFlow id="SequenceFlow_1f949uf" sourceRef="ScriptTask_2" targetRef="EndEvent_1uwvw04" /> |
| 12 | <bpmn:scriptTask id="ScriptTask_2" name="ServiceInstance Rollback (A&AI)" scriptFormat="groovy"> |
| 13 | <bpmn:incoming>SequenceFlow_0r35zfs</bpmn:incoming> |
| 14 | <bpmn:outgoing>SequenceFlow_1f949uf</bpmn:outgoing> |
| 15 | <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| 16 | def dcsir = new DoCreateServiceInstanceRollbackV2() |
| 17 | dcsir.aaiServiceInstanceRollback(execution)]]></bpmn:script> |
| 18 | </bpmn:scriptTask> |
| 19 | <bpmn:subProcess id="SubProcess_06tpqag" triggeredByEvent="true"> |
| 20 | <bpmn:startEvent id="StartEvent_1n34l5n" name="error start"> |
| 21 | <bpmn:outgoing>SequenceFlow_1tnfu1n</bpmn:outgoing> |
| 22 | <bpmn:errorEventDefinition /> |
| 23 | </bpmn:startEvent> |
| 24 | <bpmn:sequenceFlow id="SequenceFlow_1tnfu1n" sourceRef="StartEvent_1n34l5n" targetRef="Task_11sf5id" /> |
| 25 | <bpmn:endEvent id="EndEvent_1ldhg44" name="end"> |
| 26 | <bpmn:incoming>SequenceFlow_0hi9120</bpmn:incoming> |
| 27 | </bpmn:endEvent> |
| 28 | <bpmn:sequenceFlow id="SequenceFlow_0hi9120" sourceRef="Task_11sf5id" targetRef="EndEvent_1ldhg44" /> |
| 29 | <bpmn:scriptTask id="Task_11sf5id" name="Rollback ERROR" scriptFormat="groovy"> |
| 30 | <bpmn:incoming>SequenceFlow_1tnfu1n</bpmn:incoming> |
| 31 | <bpmn:outgoing>SequenceFlow_0hi9120</bpmn:outgoing> |
| 32 | <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| 33 | def dcsir = new DoCreateServiceInstanceRollbackV2() |
| 34 | dcsir.rollbackError(execution)]]></bpmn:script> |
| 35 | </bpmn:scriptTask> |
| 36 | </bpmn:subProcess> |
| 37 | </bpmn:process> |
| 38 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 39 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateServiceInstanceRollbackV2"> |
| 40 | <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| 41 | <dc:Bounds x="223" y="102" width="36" height="36" /> |
| 42 | <bpmndi:BPMNLabel> |
| 43 | <dc:Bounds x="230" y="138" width="22" height="12" /> |
| 44 | </bpmndi:BPMNLabel> |
| 45 | </bpmndi:BPMNShape> |
| 46 | <bpmndi:BPMNEdge id="SequenceFlow_0r35zfs_di" bpmnElement="SequenceFlow_0r35zfs"> |
| 47 | <di:waypoint xsi:type="dc:Point" x="259" y="120" /> |
| 48 | <di:waypoint xsi:type="dc:Point" x="325" y="120" /> |
| 49 | <bpmndi:BPMNLabel> |
| 50 | <dc:Bounds x="247" y="99" width="90" height="12" /> |
| 51 | </bpmndi:BPMNLabel> |
| 52 | </bpmndi:BPMNEdge> |
| 53 | <bpmndi:BPMNShape id="EndEvent_1uwvw04_di" bpmnElement="EndEvent_1uwvw04"> |
| 54 | <dc:Bounds x="490" y="102" width="36" height="36" /> |
| 55 | <bpmndi:BPMNLabel> |
| 56 | <dc:Bounds x="499" y="142" width="18" height="12" /> |
| 57 | </bpmndi:BPMNLabel> |
| 58 | </bpmndi:BPMNShape> |
| 59 | <bpmndi:BPMNEdge id="SequenceFlow_1f949uf_di" bpmnElement="SequenceFlow_1f949uf"> |
| 60 | <di:waypoint xsi:type="dc:Point" x="425" y="120" /> |
| 61 | <di:waypoint xsi:type="dc:Point" x="490" y="120" /> |
| 62 | <bpmndi:BPMNLabel> |
| 63 | <dc:Bounds x="412.5" y="99" width="90" height="12" /> |
| 64 | </bpmndi:BPMNLabel> |
| 65 | </bpmndi:BPMNEdge> |
| 66 | <bpmndi:BPMNShape id="ScriptTask_0kr8b5y_di" bpmnElement="ScriptTask_2"> |
| 67 | <dc:Bounds x="325" y="80" width="100" height="80" /> |
| 68 | </bpmndi:BPMNShape> |
| 69 | <bpmndi:BPMNShape id="SubProcess_03s2qcr_di" bpmnElement="SubProcess_06tpqag" isExpanded="true"> |
| 70 | <dc:Bounds x="200" y="216" width="350" height="200" /> |
| 71 | </bpmndi:BPMNShape> |
| 72 | <bpmndi:BPMNShape id="StartEvent_1nwdcsr_di" bpmnElement="StartEvent_1n34l5n"> |
| 73 | <dc:Bounds x="229" y="295" width="36" height="36" /> |
| 74 | <bpmndi:BPMNLabel> |
| 75 | <dc:Bounds x="223" y="335" width="49" height="12" /> |
| 76 | </bpmndi:BPMNLabel> |
| 77 | </bpmndi:BPMNShape> |
| 78 | <bpmndi:BPMNEdge id="SequenceFlow_1tnfu1n_di" bpmnElement="SequenceFlow_1tnfu1n"> |
| 79 | <di:waypoint xsi:type="dc:Point" x="265" y="313" /> |
| 80 | <di:waypoint xsi:type="dc:Point" x="318" y="313" /> |
| 81 | <bpmndi:BPMNLabel> |
| 82 | <dc:Bounds x="291.5" y="292" width="0" height="12" /> |
| 83 | </bpmndi:BPMNLabel> |
| 84 | </bpmndi:BPMNEdge> |
| 85 | <bpmndi:BPMNShape id="EndEvent_1ldhg44_di" bpmnElement="EndEvent_1ldhg44"> |
| 86 | <dc:Bounds x="453" y="295" width="36" height="36" /> |
| 87 | <bpmndi:BPMNLabel> |
| 88 | <dc:Bounds x="462" y="335" width="18" height="12" /> |
| 89 | </bpmndi:BPMNLabel> |
| 90 | </bpmndi:BPMNShape> |
| 91 | <bpmndi:BPMNEdge id="SequenceFlow_0hi9120_di" bpmnElement="SequenceFlow_0hi9120"> |
| 92 | <di:waypoint xsi:type="dc:Point" x="418" y="313" /> |
| 93 | <di:waypoint xsi:type="dc:Point" x="453" y="313" /> |
| 94 | <bpmndi:BPMNLabel> |
| 95 | <dc:Bounds x="435.5" y="292" width="0" height="12" /> |
| 96 | </bpmndi:BPMNLabel> |
| 97 | </bpmndi:BPMNEdge> |
| 98 | <bpmndi:BPMNShape id="ScriptTask_1w1j8ao_di" bpmnElement="Task_11sf5id"> |
| 99 | <dc:Bounds x="318" y="273" width="100" height="80" /> |
| 100 | </bpmndi:BPMNShape> |
| 101 | </bpmndi:BPMNPlane> |
| 102 | </bpmndi:BPMNDiagram> |
| 103 | </bpmn:definitions> |