ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" |
| 3 | xmlns:wsp="http://www.w3.org/ns/ws-policy" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 4 | xmlns:tns="http://org.openecomp.mso/vnfNotify" |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 5 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 6 | xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" |
| 7 | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 8 | xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" |
| 9 | xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" |
| 10 | name="vnfAdapterNotify" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 11 | targetNamespace="http://org.openecomp.mso/vnfNotify"> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 12 | <types> |
| 13 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 14 | targetNamespace="http://org.openecomp.mso/vnfNotify" |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 15 | version="1.0"> |
| 16 | |
| 17 | <xs:element name="createVnfNotification" type="tns:createVnfNotification"/> |
| 18 | |
| 19 | <xs:element name="updateVnfNotification" type="tns:updateVnfNotification"/> |
| 20 | |
| 21 | <xs:element name="deleteVnfNotification" type="tns:deleteVnfNotification"/> |
| 22 | |
| 23 | <xs:element name="queryVnfNotification" type="tns:queryVnfNotification"/> |
| 24 | |
| 25 | <xs:element name="rollbackVnfNotification" type="tns:rollbackVnfNotification"/> |
| 26 | |
| 27 | <xs:complexType name="queryVnfNotification"> |
| 28 | <xs:sequence> |
| 29 | <xs:element name="messageId" type="xs:string"/> |
| 30 | <xs:element name="completed" type="xs:boolean"/> |
| 31 | <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/> |
| 32 | <xs:element minOccurs="0" name="errorMessage" type="xs:string"/> |
| 33 | <xs:element minOccurs="0" name="vnfExists" type="xs:boolean"/> |
| 34 | <xs:element minOccurs="0" name="vnfId" type="xs:string"/> |
| 35 | <xs:element minOccurs="0" name="status" type="tns:vnfStatus"/> |
| 36 | <xs:element minOccurs="0" name="outputs"> |
| 37 | <xs:complexType> |
| 38 | <xs:sequence> |
| 39 | <xs:element maxOccurs="unbounded" minOccurs="0" name="entry"> |
| 40 | <xs:complexType> |
| 41 | <xs:sequence> |
| 42 | <xs:element minOccurs="0" name="key" type="xs:string"/> |
| 43 | <xs:element minOccurs="0" name="value" type="xs:string"/> |
| 44 | </xs:sequence> |
| 45 | </xs:complexType> |
| 46 | </xs:element> |
| 47 | </xs:sequence> |
| 48 | </xs:complexType> |
| 49 | </xs:element> |
| 50 | </xs:sequence> |
| 51 | </xs:complexType> |
| 52 | |
| 53 | <xs:complexType name="deleteVnfNotification"> |
| 54 | <xs:sequence> |
| 55 | <xs:element name="messageId" type="xs:string"/> |
| 56 | <xs:element name="completed" type="xs:boolean"/> |
| 57 | <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/> |
| 58 | <xs:element minOccurs="0" name="errorMessage" type="xs:string"/> |
| 59 | </xs:sequence> |
| 60 | </xs:complexType> |
| 61 | |
| 62 | <xs:complexType name="rollbackVnfNotification"> |
| 63 | <xs:sequence> |
| 64 | <xs:element name="messageId" type="xs:string"/> |
| 65 | <xs:element name="completed" type="xs:boolean"/> |
| 66 | <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/> |
| 67 | <xs:element minOccurs="0" name="errorMessage" type="xs:string"/> |
| 68 | </xs:sequence> |
| 69 | </xs:complexType> |
| 70 | |
| 71 | <xs:complexType name="createVnfNotification"> |
| 72 | <xs:sequence> |
| 73 | <xs:element name="messageId" type="xs:string"/> |
| 74 | <xs:element name="completed" type="xs:boolean"/> |
| 75 | <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/> |
| 76 | <xs:element minOccurs="0" name="errorMessage" type="xs:string"/> |
| 77 | <xs:element minOccurs="0" name="vnfId" type="xs:string"/> |
| 78 | <xs:element minOccurs="0" name="outputs"> |
| 79 | <xs:complexType> |
| 80 | <xs:sequence> |
| 81 | <xs:element maxOccurs="unbounded" minOccurs="0" name="entry"> |
| 82 | <xs:complexType> |
| 83 | <xs:sequence> |
| 84 | <xs:element minOccurs="0" name="key" type="xs:string"/> |
| 85 | <xs:element minOccurs="0" name="value" type="xs:string"/> |
| 86 | </xs:sequence> |
| 87 | </xs:complexType> |
| 88 | </xs:element> |
| 89 | </xs:sequence> |
| 90 | </xs:complexType> |
| 91 | </xs:element> |
| 92 | <xs:element minOccurs="0" name="rollback" type="tns:vnfRollback"/> |
| 93 | </xs:sequence> |
| 94 | </xs:complexType> |
| 95 | |
| 96 | <xs:complexType name="updateVnfNotification"> |
| 97 | <xs:sequence> |
| 98 | <xs:element name="messageId" type="xs:string"/> |
| 99 | <xs:element name="completed" type="xs:boolean"/> |
| 100 | <xs:element minOccurs="0" name="exception" type="tns:msoExceptionCategory"/> |
| 101 | <xs:element minOccurs="0" name="errorMessage" type="xs:string"/> |
| 102 | <xs:element minOccurs="0" name="outputs"> |
| 103 | <xs:complexType> |
| 104 | <xs:sequence> |
| 105 | <xs:element maxOccurs="unbounded" minOccurs="0" name="entry"> |
| 106 | <xs:complexType> |
| 107 | <xs:sequence> |
| 108 | <xs:element minOccurs="0" name="key" type="xs:string"/> |
| 109 | <xs:element minOccurs="0" name="value" type="xs:string"/> |
| 110 | </xs:sequence> |
| 111 | </xs:complexType> |
| 112 | </xs:element> |
| 113 | </xs:sequence> |
| 114 | </xs:complexType> |
| 115 | </xs:element> |
| 116 | <xs:element minOccurs="0" name="rollback" type="tns:vnfRollback"/> |
| 117 | </xs:sequence> |
| 118 | </xs:complexType> |
| 119 | |
| 120 | <xs:complexType name="vnfRollback"> |
| 121 | <xs:sequence> |
| 122 | <xs:element minOccurs="0" name="cloudSiteId" type="xs:string"/> |
| 123 | <xs:element minOccurs="0" name="msoRequest" type="tns:msoRequest"/> |
| 124 | <xs:element name="tenantCreated" type="xs:boolean"/> |
| 125 | <xs:element minOccurs="0" name="tenantId" type="xs:string"/> |
| 126 | <xs:element name="vnfCreated" type="xs:boolean"/> |
| 127 | <xs:element minOccurs="0" name="vnfId" type="xs:string"/> |
| 128 | </xs:sequence> |
| 129 | </xs:complexType> |
| 130 | |
| 131 | <xs:complexType name="msoRequest"> |
| 132 | <xs:sequence> |
| 133 | <xs:element minOccurs="0" name="requestId" type="xs:string"/> |
| 134 | <xs:element minOccurs="0" name="serviceInstanceId" type="xs:string"/> |
| 135 | </xs:sequence> |
| 136 | </xs:complexType> |
| 137 | |
| 138 | <xs:simpleType name="msoExceptionCategory"> |
| 139 | <xs:restriction base="xs:string"> |
| 140 | <xs:enumeration value="OPENSTACK"/> |
| 141 | <xs:enumeration value="IO"/> |
| 142 | <xs:enumeration value="INTERNAL"/> |
| 143 | <xs:enumeration value="USERDATA"/> |
| 144 | </xs:restriction> |
| 145 | </xs:simpleType> |
| 146 | |
| 147 | <xs:simpleType name="vnfStatus"> |
| 148 | <xs:restriction base="xs:string"> |
| 149 | <xs:enumeration value="ACTIVE"/> |
| 150 | <xs:enumeration value="FAILED"/> |
| 151 | <xs:enumeration value="NOTFOUND"/> |
| 152 | <xs:enumeration value="UNKNOWN"/> |
| 153 | </xs:restriction> |
| 154 | </xs:simpleType> |
| 155 | </xs:schema> |
| 156 | </types> |
| 157 | <message name="rollbackVnfNotification"> |
| 158 | <part element="tns:rollbackVnfNotification" name="parameters"/> |
| 159 | </message> |
| 160 | <message name="queryVnfNotification"> |
| 161 | <part element="tns:queryVnfNotification" name="parameters"/> |
| 162 | </message> |
| 163 | <message name="createVnfNotification"> |
| 164 | <part element="tns:createVnfNotification" name="parameters"/> |
| 165 | </message> |
| 166 | <message name="updateVnfNotification"> |
| 167 | <part element="tns:updateVnfNotification" name="parameters"/> |
| 168 | </message> |
| 169 | <message name="deleteVnfNotification"> |
| 170 | <part element="tns:deleteVnfNotification" name="parameters"/> |
| 171 | </message> |
| 172 | <portType name="vnfAdapterNotify"> |
| 173 | <operation name="rollbackVnfNotification"> |
| 174 | <input message="tns:rollbackVnfNotification" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 175 | wsam:Action="http://org.openecomp.mso/notify/adapterNotify/rollbackVnfNotificationRequest"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 176 | </operation> |
| 177 | <operation name="queryVnfNotification"> |
| 178 | <input message="tns:queryVnfNotification" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 179 | wsam:Action="http://org.openecomp.mso/notify/adapterNotify/queryVnfNotificationRequest"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 180 | </operation> |
| 181 | <operation name="createVnfNotification"> |
| 182 | <input message="tns:createVnfNotification" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 183 | wsam:Action="http://org.openecomp.mso/notify/adapterNotify/createVnfNotificationRequest"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 184 | </operation> |
| 185 | <operation name="updateVnfNotification"> |
| 186 | <input message="tns:updateVnfNotification" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 187 | wsam:Action="http://org.openecomp.mso/notify/adapterNotify/updateVnfNotificationRequest"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 188 | </operation> |
| 189 | <operation name="deleteVnfNotification"> |
| 190 | <input message="tns:deleteVnfNotification" |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 191 | wsam:Action="http://org.openecomp.mso/notify/adapterNotify/deleteVnfNotificationRequest"/> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 192 | </operation> |
| 193 | </portType> |
| 194 | <binding name="MsoVnfAdapterAsyncImplPortBinding" type="tns:vnfAdapterNotify"> |
| 195 | <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| 196 | <operation name="rollbackVnfNotification"> |
| 197 | <soap:operation soapAction=""/> |
| 198 | <input> |
| 199 | <soap:body use="literal"/> |
| 200 | </input> |
| 201 | </operation> |
| 202 | <operation name="queryVnfNotification"> |
| 203 | <soap:operation soapAction=""/> |
| 204 | <input> |
| 205 | <soap:body use="literal"/> |
| 206 | </input> |
| 207 | </operation> |
| 208 | <operation name="createVnfNotification"> |
| 209 | <soap:operation soapAction=""/> |
| 210 | <input> |
| 211 | <soap:body use="literal"/> |
| 212 | </input> |
| 213 | </operation> |
| 214 | <operation name="updateVnfNotification"> |
| 215 | <soap:operation soapAction=""/> |
| 216 | <input> |
| 217 | <soap:body use="literal"/> |
| 218 | </input> |
| 219 | </operation> |
| 220 | <operation name="deleteVnfNotification"> |
| 221 | <soap:operation soapAction=""/> |
| 222 | <input> |
| 223 | <soap:body use="literal"/> |
| 224 | </input> |
| 225 | </operation> |
| 226 | </binding> |
| 227 | <service name="vnfAdapterNotify"> |
| 228 | <port binding="tns:MsoVnfAdapterAsyncImplPortBinding" |
| 229 | name="MsoVnfAdapterAsyncImplPort"> |
| 230 | <soap:address location="REPLACE_WITH_ACTUAL_URL"/> |
| 231 | </port> |
| 232 | </service> |
| 233 | </definitions> |