aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/resources/wsdl/VnfAdapterNotify.wsdl
blob: b2c9a34c9b61b6d394f5a17b0525211dde1d5ed3 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:wsp="http://www.w3.org/ns/ws-policy"
             xmlns:tns="http://org.onap.so/vnfNotify"
             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:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
             xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
             name="vnfAdapterNotify"
             targetNamespace="http://org.onap.so/vnfNotify">
  <types>
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                 targetNamespace="http://org.onap.so/vnfNotify"
                 version="1.0">

         <xs:element name="createVnfNotification" type="tns:createVnfNotification"/>
      
         <xs:element name="updateVnfNotification" type="tns:updateVnfNotification"/>

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

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

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

         <xs:complexType name="queryVnfNotification">
            <xs:sequence>
               <xs:element name="messageId" type="xs:string"/>
               <xs:element name="completed" type="xs:boolean"/>
               <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/>
               <xs:element minOccurs="0" name="errorMessage" type="xs:string"/>
               <xs:element minOccurs="0" name="vnfExists" type="xs:boolean"/>
               <xs:element minOccurs="0" name="vnfId" type="xs:string"/>
               <xs:element minOccurs="0" name="status" type="tns:vnfStatus"/>
               <xs:element minOccurs="0" name="outputs">
                  <xs:complexType>
                     <xs:sequence>
                        <xs:element maxOccurs="255" minOccurs="0" name="entry">
                           <xs:complexType>
                              <xs:sequence>
                                 <xs:element minOccurs="0" name="key" type="xs:string"/>
                                 <xs:element minOccurs="0" name="value" type="xs:string"/>
                              </xs:sequence>
                           </xs:complexType>
                        </xs:element>
                     </xs:sequence>
                  </xs:complexType>
               </xs:element>
            </xs:sequence>
         </xs:complexType>

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

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

         <xs:complexType name="createVnfNotification">
            <xs:sequence>
               <xs:element name="messageId" type="xs:string"/>
               <xs:element name="completed" type="xs:boolean"/>
               <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/>
               <xs:element minOccurs="0" name="errorMessage" type="xs:string"/>
               <xs:element minOccurs="0" name="vnfId" type="xs:string"/>
               <xs:element minOccurs="0" name="outputs">
                  <xs:complexType>
                     <xs:sequence>
                        <xs:element maxOccurs="255" minOccurs="0" name="entry">
                           <xs:complexType>
                              <xs:sequence>
                                 <xs:element minOccurs="0" name="key" type="xs:string"/>
                                 <xs:element minOccurs="0" name="value" type="xs:string"/>
                              </xs:sequence>
                           </xs:complexType>
                        </xs:element>
                     </xs:sequence>
                  </xs:complexType>
               </xs:element>
               <xs:element minOccurs="0" name="rollback" type="tns:vnfRollback"/>
            </xs:sequence>
         </xs:complexType>
      
         <xs:complexType name="updateVnfNotification">
            <xs:sequence>
               <xs:element name="messageId" type="xs:string"/>
               <xs:element name="completed" type="xs:boolean"/>
               <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/>
               <xs:element minOccurs="0" name="errorMessage" type="xs:string"/>
               <xs:element minOccurs="0" name="outputs">
                  <xs:complexType>
                     <xs:sequence>
                        <xs:element maxOccurs="255" minOccurs="0" name="entry">
                           <xs:complexType>
                              <xs:sequence>
                                 <xs:element minOccurs="0" name="key" type="xs:string"/>
                                 <xs:element minOccurs="0" name="value" type="xs:string"/>
                              </xs:sequence>
                           </xs:complexType>
                        </xs:element>
                     </xs:sequence>
                  </xs:complexType>
               </xs:element>
               <xs:element minOccurs="0" name="rollback" type="tns:vnfRollback"/>
            </xs:sequence>
         </xs:complexType>

         <xs:complexType name="vnfRollback">
            <xs:sequence>
               <xs:element minOccurs="0" name="cloudSiteId" type="xs:string"/>
               <xs:element minOccurs="0" name="msoRequest" type="tns:msoRequest"/>
               <xs:element name="tenantCreated" type="xs:boolean"/>
               <xs:element minOccurs="0" name="tenantId" type="xs:string"/>
               <xs:element name="vnfCreated" type="xs:boolean"/>
               <xs:element minOccurs="0" name="vnfId" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>

         <xs:complexType name="msoRequest">
            <xs:sequence>
               <xs:element minOccurs="0" name="requestId" type="xs:string"/>
               <xs:element minOccurs="0" name="serviceInstanceId" type="xs:string"/>
            </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="vnfStatus">
            <xs:restriction base="xs:string">
               <xs:enumeration value="ACTIVE"/>
               <xs:enumeration value="FAILED"/>
               <xs:enumeration value="NOTFOUND"/>
               <xs:enumeration value="UNKNOWN"/>
            </xs:restriction>
         </xs:simpleType>
      </xs:schema>
  </types>
  <message name="rollbackVnfNotification">
      <part element="tns:rollbackVnfNotification" name="parameters"/>
  </message>
  <message name="queryVnfNotification">
      <part element="tns:queryVnfNotification" name="parameters"/>
  </message>
  <message name="createVnfNotification">
      <part element="tns:createVnfNotification" name="parameters"/>
  </message>
  <message name="updateVnfNotification">
      <part element="tns:updateVnfNotification" name="parameters"/>
  </message>
  <message name="deleteVnfNotification">
      <part element="tns:deleteVnfNotification" name="parameters"/>
  </message>
  <portType name="vnfAdapterNotify">
      <operation name="rollbackVnfNotification">
         <input message="tns:rollbackVnfNotification"
                wsam:Action="http://org.onap.so/notify/adapterNotify/rollbackVnfNotificationRequest"/>
      </operation>
      <operation name="queryVnfNotification">
         <input message="tns:queryVnfNotification"
                wsam:Action="http://org.onap.so/notify/adapterNotify/queryVnfNotificationRequest"/>
      </operation>
      <operation name="createVnfNotification">
         <input message="tns:createVnfNotification"
                wsam:Action="http://org.onap.so/notify/adapterNotify/createVnfNotificationRequest"/>
      </operation>
      <operation name="updateVnfNotification">
         <input message="tns:updateVnfNotification"
                wsam:Action="http://org.onap.so/notify/adapterNotify/updateVnfNotificationRequest"/>
      </operation>
      <operation name="deleteVnfNotification">
         <input message="tns:deleteVnfNotification"
                wsam:Action="http://org.onap.so/notify/adapterNotify/deleteVnfNotificationRequest"/>
      </operation>
  </portType>
  <binding name="MsoVnfAdapterAsyncImplPortBinding" type="tns:vnfAdapterNotify">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="rollbackVnfNotification">
         <soap:operation soapAction=""/>
         <input>
            <soap:body use="literal"/>
         </input>
      </operation>
      <operation name="queryVnfNotification">
         <soap:operation soapAction=""/>
         <input>
            <soap:body use="literal"/>
         </input>
      </operation>
      <operation name="createVnfNotification">
         <soap:operation soapAction=""/>
         <input>
            <soap:body use="literal"/>
         </input>
      </operation>
      <operation name="updateVnfNotification">
         <soap:operation soapAction=""/>
         <input>
            <soap:body use="literal"/>
         </input>
      </operation>
      <operation name="deleteVnfNotification">
         <soap:operation soapAction=""/>
         <input>
            <soap:body use="literal"/>
         </input>
      </operation>
  </binding>
  <service name="vnfAdapterNotify">
      <port binding="tns:MsoVnfAdapterAsyncImplPortBinding"
            name="MsoVnfAdapterAsyncImplPort">
         <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
      </port>
  </service>
</definitions>