diff options
author | ChrisC <cc697w@intl.att.com> | 2017-01-31 11:40:03 +0100 |
---|---|---|
committer | ChrisC <cc697w@intl.att.com> | 2017-01-31 12:59:33 +0100 |
commit | 025301d08b061482c1f046d562bf017c8cbcfe8d (patch) | |
tree | 68a2a549736c9bf0f7cd4e71c76e40ef7e2606f2 /adapters/mso-sdnc-adapter/src/main/resources | |
parent | 2754ad52f833278a5c925bd788a16d1dce16a598 (diff) |
Initial OpenECOMP MSO commit
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d
Signed-off-by: ChrisC <cc697w@intl.att.com>
Diffstat (limited to 'adapters/mso-sdnc-adapter/src/main/resources')
3 files changed, 183 insertions, 0 deletions
diff --git a/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapter.wsdl b/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapter.wsdl new file mode 100644 index 0000000000..2f4c5ad5eb --- /dev/null +++ b/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapter.wsdl @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:sdncadaptersc="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://domain2.att.com/workflow/sdnc/adapter/wsdl/v1" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://domain2.att.com/workflow/sdnc/adapter/wsdl/v1"> + <types> + <schema xmlns="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + targetNamespace="http://domain2.att.com/workflow/sdnc/adapter/wsdl/v1"> + <import namespace="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + schemaLocation="SDNCAdapterSchema.xsd" /> + </schema> + </types> + + <message name="SDNCAdapterRequest"> + <part element="sdncadaptersc:SDNCAdapterRequest" name="SDNCAdapterRequest"> + </part> + </message> + <message name="SDNCAdapterResponse"> + <part element="sdncadaptersc:SDNCAdapterResponse" name="SDNCAdapterResponse"> + </part> + </message> + + <portType name="SDNCAdapterPortType"> + <operation name="SDNCAdapter"> + <input message="tns:SDNCAdapterRequest" name="SDNCAdapterRequest"> + </input> + <output message="tns:SDNCAdapterResponse" name="SDNCAdapterResponse"> + </output> + </operation> + </portType> + + <binding name="SDNCAdapterSoapHttpBinding" type="tns:SDNCAdapterPortType"> + <soap:binding style="document" + transport="http://schemas.xmlsoap.org/soap/http" /> + <operation name="SDNCAdapter"> + <soap:operation soapAction="" style="document" /> + <input> + <soap:body use="literal" /> + </input> + <output> + <soap:body use="literal" /> + </output> + </operation> + </binding> + + <service name="SDNCAdapterService"> + <port binding="tns:SDNCAdapterSoapHttpBinding" name="SDNCAdapterSoapHttpPort"> + <soap:address location="SDNCAdapterService" /> + </port> + </service> +</definitions> diff --git a/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapterSchema.xsd b/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapterSchema.xsd new file mode 100644 index 0000000000..f0e4435771 --- /dev/null +++ b/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapterSchema.xsd @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<schema targetNamespace="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" +xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + xmlns:sdncadaptersc="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + elementFormDefault="qualified"> + + + <!-- ========================= --> + <!-- Complex Types --> + <!-- ========================= --> + + + <!-- ========================= --> + <!-- Elements --> + <!-- ========================= --> + + <element name="RequestHeader"> + <complexType> + <sequence> + <element name="RequestId" type="string" minOccurs="1" maxOccurs="1"/> + <element name="SvcInstanceId" type="string" minOccurs="0" maxOccurs="1"/> + <element name="SvcAction" type="string" minOccurs="1" maxOccurs="1"/> + <element name="SvcOperation" type="string" minOccurs="1" maxOccurs="1"/> + <element name="CallbackUrl" type="string" minOccurs="1" maxOccurs="1"/> + <element name="MsoAction" type="string" minOccurs="0" maxOccurs="1"/> + </sequence> + </complexType> + </element> + + <element name="CallbackHeader"> + <complexType> + <sequence> + <element name="RequestId" type="string" minOccurs="1" maxOccurs="1"/> + <element name="ResponseCode" type="string" minOccurs="1" maxOccurs="1"/> + <element name="ResponseMessage" type="string" minOccurs="1" maxOccurs="1"/> + </sequence> + </complexType> + </element> + + <!-- ========================= --> + <!-- Requests/Responses --> + <!-- ========================= --> + + <element name="SDNCAdapterRequest"> + <complexType> + <sequence> + <element ref="tns:RequestHeader" minOccurs="1" maxOccurs="1" /> + <element name="RequestData" type="anyType" minOccurs="1" maxOccurs="1" /> + </sequence> + </complexType> + </element> + + <!-- Empty Ack --> + <element name="SDNCAdapterResponse"> + <complexType> + + </complexType> + </element> + + <!--Used to post Async Status back to workflow, Status Message would be used for any fallouts from SDNC --> + <element name="SDNCAdapterCallbackRequest"> + <complexType> + <sequence> + <element ref="tns:CallbackHeader" minOccurs="1" maxOccurs="1" /> + <element name="RequestData" type="anyType" minOccurs="0" maxOccurs="1" /> + </sequence> + </complexType> + </element> + + +</schema> diff --git a/adapters/mso-sdnc-adapter/src/main/resources/SDNCCallbackAdapter.wsdl b/adapters/mso-sdnc-adapter/src/main/resources/SDNCCallbackAdapter.wsdl new file mode 100644 index 0000000000..1429b5f1c7 --- /dev/null +++ b/adapters/mso-sdnc-adapter/src/main/resources/SDNCCallbackAdapter.wsdl @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:sdncadaptersc="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://domain2.att.com/workflow/sdnc/adapter/callback/wsdl/v1" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://domain2.att.com/workflow/sdnc/adapter/callback/wsdl/v1"> + <types> + <schema xmlns="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + targetNamespace="http://domain2.att.com/workflow/sdnc/adapter/wsdl/v1"> + <import namespace="http://domain2.att.com/workflow/sdnc/adapter/schema/v1" + schemaLocation="SDNCAdapterSchema.xsd" /> + </schema> + </types> + + <message name="SDNCAdapterCallbackRequest"> + <part element="sdncadaptersc:SDNCAdapterCallbackRequest" name="SDNCAdapterCallbackRequest"> + </part> + </message> + + <message name="SDNCAdapterCallbackResponse"> + <part element="sdncadaptersc:SDNCAdapterResponse" name="SDNCAdapterCallbackResponse"> + </part> + </message> + + <portType name="SDNCCallbackAdapterPortType"> + <operation name="SDNCAdapterCallback"> + <input message="tns:SDNCAdapterCallbackRequest" name="SDNCAdapterCallbackRequest"> + </input> + <output message="tns:SDNCAdapterCallbackResponse" name="SDNCAdapterCallbackResponse"> + </output> + </operation> + </portType> + + <binding name="SDNCCallbackAdapterSoapHttpBinding" type="tns:SDNCCallbackAdapterPortType"> + <soap:binding style="document" + transport="http://schemas.xmlsoap.org/soap/http" /> + <operation name="SDNCAdapterCallback"> + <soap:operation soapAction="" style="document" /> + <input> + <soap:body use="literal" /> + </input> + <output> + <soap:body use="literal" /> + </output> + </operation> + </binding> + + <service name="SDNCCallbackAdapterService"> + <port binding="tns:SDNCCallbackAdapterSoapHttpBinding" name="SDNCCallbackAdapterSoapHttpPort"> + <soap:address location="SDNCCallbackAdapterService" /> + </port> + </service> +</definitions> |