aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/Activity/DistributeTrafficActivity.bpmn
blob: 4ea6bb10b13d3a0590941cc1ee91e2f5610af704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?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.4.0">
  <bpmn:process id="DistributeTrafficActivity" name="DistributeTrafficActivity" isExecutable="true">
    <bpmn:startEvent id="DistributeTrafficActivity_Start">
      <bpmn:outgoing>SequenceFlow_06vhbci</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:endEvent id="DistributeTrafficActivity_End">
      <bpmn:incoming>SequenceFlow_01312aj</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_06vhbci" sourceRef="DistributeTrafficActivity_Start" targetRef="TaskPreProcessActivity" />
    <bpmn:sequenceFlow id="SequenceFlow_01312aj" sourceRef="TaskDistributeTraffic" targetRef="DistributeTrafficActivity_End" />
    <bpmn:serviceTask id="TaskDistributeTraffic" name="Distribute Traffic" camunda:expression="${AppcRunTasks.runAppcCommand(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)),execution.getVariable(&#34;actionDistributeTraffic&#34;))}">
      <bpmn:incoming>SequenceFlow_0cf0riu</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_01312aj</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_0cf0riu" sourceRef="TaskPreProcessActivity" targetRef="TaskDistributeTraffic" />
    <bpmn:serviceTask id="TaskPreProcessActivity" name="PreProcess Activity" camunda:expression="${AppcRunTasks.preProcessActivity(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
      <bpmn:incoming>SequenceFlow_06vhbci</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0cf0riu</bpmn:outgoing>
    </bpmn:serviceTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DistributeTrafficActivity">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="DistributeTrafficActivity_Start">
        <dc:Bounds x="173" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_102xlzi_di" bpmnElement="DistributeTrafficActivity_End">
        <dc:Bounds x="561" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="579" y="138" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_06vhbci_di" bpmnElement="SequenceFlow_06vhbci">
        <di:waypoint xsi:type="dc:Point" x="209" y="120" />
        <di:waypoint xsi:type="dc:Point" x="255" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="232" y="105" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_01312aj_di" bpmnElement="SequenceFlow_01312aj">
        <di:waypoint xsi:type="dc:Point" x="497" y="120" />
        <di:waypoint xsi:type="dc:Point" x="561" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="529" y="105" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_066idx4_di" bpmnElement="TaskDistributeTraffic">
        <dc:Bounds x="397" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0cf0riu_di" bpmnElement="SequenceFlow_0cf0riu">
        <di:waypoint xsi:type="dc:Point" x="355" y="120" />
        <di:waypoint xsi:type="dc:Point" x="397" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="376" y="105" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_0fti66x_di" bpmnElement="TaskPreProcessActivity">
        <dc:Bounds x="255" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
gex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.7-b01  svn-revision#13316. -->
<definitions targetNamespace="http://org.onap.so/networkNotify" name="networkAdapterNotify" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:tns="http://org.onap.so/networkNotify" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <types>
    <xs:schema version="1.0" targetNamespace="http://org.onap.so/networkNotify" xmlns:xs="http://www.w3.org/2001/XMLSchema">

      <xs:element name="createNetworkNotification" type="tns:createNetworkNotification"/>

      <xs:element name="createNetworkNotificationResponse" type="tns:createNetworkNotificationResponse"/>

      <xs:element name="deleteNetworkNotification" type="tns:deleteNetworkNotification"/>

      <xs:element name="deleteNetworkNotificationResponse" type="tns:deleteNetworkNotificationResponse"/>

      <xs:element name="queryNetworkNotification" type="tns:queryNetworkNotification"/>

      <xs:element name="queryNetworkNotificationResponse" type="tns:queryNetworkNotificationResponse"/>

      <xs:element name="rollbackNetworkNotification" type="tns:rollbackNetworkNotification"/>

      <xs:element name="rollbackNetworkNotificationResponse" type="tns:rollbackNetworkNotificationResponse"/>
      
       <xs:element name="updateNetworkNotification" type="tns:updateNetworkNotification"/>

      <xs:element name="updateNetworkNotificationResponse" type="tns:updateNetworkNotificationResponse"/>
      
      <xs:complexType name="queryNetworkNotification">
        <xs:sequence>
          <xs:element name="messageId" type="xs:string"/>
          <xs:element name="completed" type="xs:boolean"/>
          <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
          <xs:element name="networkExists" type="xs:boolean" minOccurs="0"/>
          <xs:element name="networkId" type="xs:string" minOccurs="0"/>
          <xs:element name="neutronNetworkId" type="xs:string" minOccurs="0"/>
          <xs:element name="status" type="tns:networkStatus" minOccurs="0"/>
          <xs:element name="vlans" type="xs:int" minOccurs="0" maxOccurs="255"/>
           <xs:element name="subnetIdMap"  minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="entry" minOccurs="0" maxOccurs="255">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="key" minOccurs="0" type="xs:string"/>
                      <xs:element name="value" minOccurs="0" type="xs:string"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="queryNetworkNotificationResponse">
        <xs:sequence/>
      </xs:complexType>

      <xs:complexType name="deleteNetworkNotification">
        <xs:sequence>
          <xs:element name="messageId" type="xs:string"/>
          <xs:element name="completed" type="xs:boolean"/>
          <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
          <xs:element name="networkDeleted" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="deleteNetworkNotificationResponse">
        <xs:sequence/>
      </xs:complexType>

      <xs:complexType name="rollbackNetworkNotification">
        <xs:sequence>
          <xs:element name="messageId" type="xs:string"/>
          <xs:element name="completed" type="xs:boolean"/>
          <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="rollbackNetworkNotificationResponse">
        <xs:sequence/>
      </xs:complexType>

      <xs:complexType name="createNetworkNotification">
        <xs:sequence>
          <xs:element name="messageId" type="xs:string"/>
          <xs:element name="completed" type="xs:boolean"/>
          <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
          <xs:element name="networkId" type="xs:string" minOccurs="0"/>
          <xs:element name="neutronNetworkId" type="xs:string" minOccurs="0"/>
          <xs:element name="subnetIdMap"  minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="entry" minOccurs="0" maxOccurs="255">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="key" minOccurs="0" type="xs:string"/>
                      <xs:element name="value" minOccurs="0" type="xs:string"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="rollback" type="tns:networkRollback" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      
       <xs:complexType name="createNetworkNotificationResponse">
        <xs:sequence/>
      </xs:complexType>
      
       <xs:complexType name="updateNetworkNotification">
        <xs:sequence>
          <xs:element name="messageId" type="xs:string"/>
          <xs:element name="completed" type="xs:boolean"/>
          <xs:element name="exception" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
          <xs:element name="subnetIdMap"  minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="entry" minOccurs="0" maxOccurs="255">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="key" minOccurs="0" type="xs:string"/>
                      <xs:element name="value" minOccurs="0" type="xs:string"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="rollback" type="tns:networkRollback" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="updateNetworkNotificationResponse">
        <xs:sequence/>
      </xs:complexType>

      <xs:complexType name="networkRollback">
        <xs:sequence>
          <xs:element name="cloudId" type="xs:string" minOccurs="0"/>
          <xs:element name="msoRequest" type="tns:msoRequest" minOccurs="0"/>
          <xs:element name="networkCreated" type="xs:boolean"/>
          <xs:element name="networkId" type="xs:string" minOccurs="0"/>
          <xs:element name="networkStackId" type="xs:string" minOccurs="0"/>
           <xs:element name="networkName" type="xs:string" minOccurs="0"/>
          <xs:element name="networkType" type="xs:string" minOccurs="0"/>
          <xs:element name="networkUpdated" type="xs:boolean"/>
          <xs:element name="neutronNetworkId" type="xs:string" minOccurs="0"/>
          <xs:element name="physicalNetwork" type="xs:string" minOccurs="0"/>
          <xs:element name="tenantId" type="xs:string" minOccurs="0"/>
          <xs:element name="vlans" type="xs:int" nillable="true" minOccurs="0" maxOccurs="255"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="msoRequest">
        <xs:sequence>
          <xs:element name="requestId" type="xs:string" minOccurs="0"/>
          <xs:element name="serviceInstanceId" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:simpleType name="msoExceptionCategory">
        <xs:restriction base="xs:string">
          <xs:enumeration value="OPENSTACK"/>
          <xs:enumeration value="IO"/>
          <xs:enumeration value="INTERNAL"/>
          <xs:enumeration value="USERDATA"/>
        </xs:restriction>
      </xs:simpleType>

      <xs:simpleType name="networkStatus">
        <xs:restriction base="xs:string">
          <xs:enumeration value="NOTFOUND"/>
          <xs:enumeration value="ACTIVE"/>
          <xs:enumeration value="DOWN"/>
          <xs:enumeration value="BUILD"/>
          <xs:enumeration value="ERROR"/>
          <xs:enumeration value="UNKNOWN"/>
        </xs:restriction>
      </xs:simpleType>
</xs:schema>
  </types>
  <message name="rollbackNetworkNotification">
    <part name="parameters" element="tns:rollbackNetworkNotification"/>
  </message>
  <message name="rollbackNetworkNotificationResponse">
    <part name="parameters" element="tns:rollbackNetworkNotificationResponse"/>
  </message>
  <message name="queryNetworkNotification">
    <part name="parameters" element="tns:queryNetworkNotification"/>
  </message>
  <message name="queryNetworkNotificationResponse">
    <part name="parameters" element="tns:queryNetworkNotificationResponse"/>
  </message>
  <message name="createNetworkNotification">
    <part name="parameters" element="tns:createNetworkNotification"/>
  </message>
  <message name="createNetworkNotificationResponse">
    <part name="parameters" element="tns:createNetworkNotificationResponse"/>
  </message>
  <message name="deleteNetworkNotification">
    <part name="parameters" element="tns:deleteNetworkNotification"/>
  </message>
  <message name="deleteNetworkNotificationResponse">
    <part name="parameters" element="tns:deleteNetworkNotificationResponse"/>
  </message>
   <message name="updateNetworkNotification">
    <part name="parameters" element="tns:updateNetworkNotification"/>
  </message>
  <message name="updateNetworkNotificationResponse">
    <part name="parameters" element="tns:updateNetworkNotificationResponse"/>
  </message>
  <portType name="networkAdapterNotify">
    <operation name="rollbackNetworkNotification">
      <input wsam:Action="http://org.onap.so/notify/adapterNotify/rollbackNetworkNotificationRequest" message="tns:rollbackNetworkNotification"/>
      <output wsam:Action="http://org.onap.so/notify/adapterNotify/rollbackNetworkNotificationResponse" message="tns:rollbackNetworkNotificationResponse"/>
    </operation>
    <operation name="queryNetworkNotification">
      <input wsam:Action="http://org.onap.so/notify/adapterNotify/queryNetworkNotificationRequest" message="tns:queryNetworkNotification"/>
      <output wsam:Action="http://org.onap.so/notify/adapterNotify/queryNetworkNotificationResponse" message="tns:queryNetworkNotificationResponse"/>
    </operation>
    <operation name="createNetworkNotification">
      <input wsam:Action="http://org.onap.so/notify/adapterNotify/createNetworkNotificationRequest" message="tns:createNetworkNotification"/>
      <output wsam:Action="http://org.onap.so/notify/adapterNotify/createNetworkNotificationResponse" message="tns:createNetworkNotificationResponse"/>
    </operation>
    <operation name="deleteNetworkNotification">
      <input wsam:Action="http://org.onap.so/notify/adapterNotify/deleteNetworkNotificationRequest" message="tns:deleteNetworkNotification"/>
      <output wsam:Action="http://org.onap.so/notify/adapterNotify/deleteNetworkNotificationResponse" message="tns:deleteNetworkNotificationResponse"/>
    </operation>
     <operation name="updateNetworkNotification">
      <input wsam:Action="http://org.onap.so/notify/adapterNotify/updateNetworkNotificationRequest" message="tns:updateNetworkNotification"/>
      <output wsam:Action="http://org.onap.so/notify/adapterNotify/updateNetworkNotificationResponse" message="tns:updateNetworkNotificationResponse"/>
    </operation>
  </portType>
  <binding name="MsoNetworkAdapterAsyncImplPortBinding" type="tns:networkAdapterNotify">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="rollbackNetworkNotification">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="queryNetworkNotification">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="createNetworkNotification">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="deleteNetworkNotification">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="updateNetworkNotification">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="networkAdapterNotify">
    <port name="MsoNetworkAdapterAsyncImplPort" binding="tns:MsoNetworkAdapterAsyncImplPortBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>
</definitions>