summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/src/main/java/org
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-04-25 18:10:24 -0400
committerRob Daugherty <rd472p@att.com>2018-04-26 21:11:51 +0000
commit6eee5ecb868c53b1692096864bf748a34d0f92a4 (patch)
tree37d73d0bea6aeee36a90e69667828eb952df754e /adapters/mso-adapter-utils/src/main/java/org
parent98e3f70497d2cdde07bb03a57fdd2ebdf3208882 (diff)
SDNC Adapter not loading properties
We are missing 2 source files in SO which were part of MSO 1802: CloudConfigInitializer.java CloudConfigIdentityMapper.java The missing initializer means that cloud-config.json is never loaded. Change-Id: Id1186edda01d345de072b5288382dbdc56679294 Issue-ID: SO-584 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'adapters/mso-adapter-utils/src/main/java/org')
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigIdentityMapper.java30
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/CloudConfigInitializer.java97
2 files changed, 127 insertions, 0 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigIdentityMapper.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigIdentityMapper.java
new file mode 100644
index 0000000000..9677d0ee1c
--- /dev/null
+++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigIdentityMapper.java
@@ -0,0 +1,30 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.openecomp.mso.cloud;
+
+/**
+ * This interface provides the method signature for mapping registration.
+ * All mappings should be registered by the implementing class.
+ */
+@FunctionalInterface
+public interface CloudConfigIdentityMapper {
+
+ public void registerAllMappings();
+}
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/CloudConfigInitializer.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/CloudConfigInitializer.java
new file mode 100644
index 0000000000..43a6171699
--- /dev/null
+++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/CloudConfigInitializer.java
@@ -0,0 +1,97 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.mso.openstack.utils;
+
+
+import javax.ejb.EJB;
+import javax.servlet.ServletContextEvent;
+import javax.servlet.ServletContextListener;
+import javax.servlet.annotation.WebListener;
+
+import org.openecomp.mso.cloud.CloudConfigFactory;
+import org.openecomp.mso.cloud.CloudConfigIdentityMapper;
+import org.openecomp.mso.logger.MessageEnum;
+import org.openecomp.mso.logger.MsoLogger;
+
+/**
+ * This class will attempt to initialize Cloud Config when part of a web application.
+ *
+ *
+ *
+ */
+@WebListener
+public class CloudConfigInitializer implements ServletContextListener
+{
+
+ private CloudConfigFactory cloudConfigFactory=new CloudConfigFactory();
+
+ public CloudConfigInitializer () {
+ }
+
+ @Override
+ public void contextDestroyed(ServletContextEvent event) {
+ // Nothing to do...
+ }
+
+
+ @Override
+ public void contextInitialized(ServletContextEvent event)
+ {
+
+ // Note - this logger may be before or after MSO Logging configuration applied
+ MsoLogger initLogger = MsoLogger.getMsoLogger(MsoLogger.Catalog.GENERAL);
+ try {
+ // Look first in the init-parameters
+ String msoPropConfigParam = event.getServletContext().getInitParameter("mso.cloud_config.configuration");
+
+ String[] configFileSplit = msoPropConfigParam.split(",");
+ for (String msoPropConfig:configFileSplit) {
+ String[] msoPropDecoded = msoPropConfig.split("=");
+
+ try {
+ cloudConfigFactory.initializeCloudConfig(msoPropDecoded[0], Integer.valueOf(msoPropDecoded[1]));
+ initLogger.info(MessageEnum.RA_CONFIG_LOAD, msoPropDecoded[0], "", "");
+ initLogger.debug("Mso properties successfully loaded:"+msoPropDecoded[0]+"(Timer(mins):"+Integer.valueOf(msoPropDecoded[1]));
+ } catch (NumberFormatException ne) {
+ initLogger.error(MessageEnum.RA_CONFIG_EXC, msoPropDecoded[0] + ". MSO Properties failed due to conversion error (in web.xml file)", "", "", MsoLogger.ErrorCode.DataError, "MSO Properties failed due to conversion error (in web.xml file)", ne);
+ }
+ }
+
+ // Second, obtain class name that will register all mappings
+ String msoMapperClassParam = event.getServletContext().getInitParameter("mso.cloud_config.mapper.class");
+ if (msoMapperClassParam != null) {
+ Class<?> mapperClass = Class.forName(msoMapperClassParam);
+ if (CloudConfigIdentityMapper.class.isAssignableFrom(mapperClass)) {
+ ((CloudConfigIdentityMapper)mapperClass.newInstance()).registerAllMappings();
+ initLogger.info(MessageEnum.RA_CONFIG_LOAD,msoMapperClassParam+"(Openstack authentication mapper class)","","");
+ } else {
+ initLogger.info(MessageEnum.RA_CONFIG_LOAD,msoMapperClassParam+"(Openstack authentication mapper class not an implementation of CloudConfigIdentityMapper)","","");
+ }
+ } else {
+ initLogger.info(MessageEnum.RA_CONFIG_LOAD,"Openstack authentication mapper class not specified in web.xml (ONLY core authentication mechanisms will be loaded)","","");
+ }
+
+ }
+ catch (Exception e) {
+ initLogger.error(MessageEnum.RA_CONFIG_EXC, "Unknown. MSO Properties failed to initialize completely", "", "", MsoLogger.ErrorCode.AvailabilityError, "Exception - MSO Properties failed to initialize completely", e);
+ }
+ }
+}
href='#n446'>446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="5ab0314b-3550-4174-a9da-938c45d052ad" activeEnvironment="Default" name="MSONetworkAdapter" resourceRoot="${projectDir}" soapui-version="5.3.0" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" id="511a8e41-5d4c-4259-9027-0e95942c06fe" wsaVersion="NONE" name="MsoNetworkAdapterImplPortBinding" type="wsdl" bindingName="{http://org.openecomp.mso/network}MsoNetworkAdapterImplPortBinding" soapVersion="1_1" anonymous="optional" definition="../../../../../../adapters/mso-network-adapter/target/generated-sources/wsdl/NetworkAdapter.wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="file:\C:\Dev\Git\mso-unified\adapters\mso-network-adapter\target\generated-sources\wsdl\NetworkAdapter.wsdl"><con:part><con:url>file:\C:\Dev\Git\mso-unified\adapters\mso-network-adapter\target\generated-sources\wsdl\NetworkAdapter.wsdl</con:url><con:content><![CDATA[<!--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.openecomp.mso/network" name="NetworkAdapter" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:tns="http://org.openecomp.mso/network" 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.openecomp.mso/network" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="NetworkAlreadyExists" nillable="true" type="tns:networkExceptionBean"/>
      <xs:element name="NetworkException" nillable="true" type="tns:networkExceptionBean"/>
      <xs:element name="createNetwork" type="tns:createNetwork"/>
      <xs:element name="createNetworkResponse" type="tns:createNetworkResponse"/>
      <xs:element name="deleteNetwork" type="tns:deleteNetwork"/>
      <xs:element name="deleteNetworkResponse" type="tns:deleteNetworkResponse"/>
      <xs:element name="healthCheck" type="tns:healthCheck"/>
      <xs:element name="healthCheckResponse" type="tns:healthCheckResponse"/>
      <xs:element name="queryNetwork" type="tns:queryNetwork"/>
      <xs:element name="queryNetworkResponse" type="tns:queryNetworkResponse"/>
      <xs:element name="rollbackNetwork" type="tns:rollbackNetwork"/>
      <xs:element name="rollbackNetworkResponse" type="tns:rollbackNetworkResponse"/>
      <xs:element name="updateNetwork" type="tns:updateNetwork"/>
      <xs:element name="updateNetworkResponse" type="tns:updateNetworkResponse"/>
      <xs:complexType name="createNetwork">
        <xs:sequence>
          <xs:element name="cloudSiteId" type="xs:string"/>
          <xs:element name="tenantId" type="xs:string"/>
          <xs:element name="networkType" type="xs:string"/>
          <xs:element name="networkName" type="xs:string"/>
          <xs:element name="physicalNetworkName" type="xs:string" minOccurs="0"/>
          <xs:element name="vlans" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
          <xs:element name="failIfExists" type="xs:boolean" minOccurs="0"/>
          <xs:element name="request" type="tns:msoRequest" minOccurs="0"/>
        </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:complexType name="createNetworkResponse">
        <xs:sequence>
          <xs:element name="networkId" type="xs:string" minOccurs="0"/>
          <xs:element name="neutronNetworkId" type="xs:string" minOccurs="0"/>
          <xs:element name="rollback" type="tns:networkRollback" minOccurs="0"/>
        </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="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="unbounded"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="networkExceptionBean">
        <xs:sequence>
          <xs:element name="category" type="tns:msoExceptionCategory" minOccurs="0"/>
          <xs:element name="message" type="xs:string" minOccurs="0"/>
          <xs:element name="rolledBack" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="queryNetwork">
        <xs:sequence>
          <xs:element name="cloudSiteId" type="xs:string"/>
          <xs:element name="tenantId" type="xs:string"/>
          <xs:element name="networkNameOrId" type="xs:string"/>
          <xs:element name="request" type="tns:msoRequest" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="queryNetworkResponse">
        <xs:sequence>
          <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="unbounded"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="updateNetwork">
        <xs:sequence>
          <xs:element name="cloudSiteId" type="xs:string"/>
          <xs:element name="tenantId" type="xs:string"/>
          <xs:element name="networkType" type="xs:string"/>
          <xs:element name="networkId" type="xs:string"/>
          <xs:element name="networkName" type="xs:string"/>
          <xs:element name="physicalNetworkName" type="xs:string"/>
          <xs:element name="vlans" type="xs:int" maxOccurs="unbounded"/>
          <xs:element name="request" type="tns:msoRequest" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="updateNetworkResponse">
        <xs:sequence>
          <xs:element name="rollback" type="tns:networkRollback" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="deleteNetwork">
        <xs:sequence>
          <xs:element name="cloudSiteId" type="xs:string"/>
          <xs:element name="tenantId" type="xs:string"/>
          <xs:element name="networkType" type="xs:string"/>
          <xs:element name="networkId" type="xs:string"/>
          <xs:element name="request" type="tns:msoRequest" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="deleteNetworkResponse">
        <xs:sequence>
          <xs:element name="networkDeleted" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="healthCheck">
        <xs:sequence/>
      </xs:complexType>
      <xs:complexType name="healthCheckResponse">
        <xs:sequence/>
      </xs:complexType>
      <xs:complexType name="rollbackNetwork">
        <xs:sequence>
          <xs:element name="rollback" type="tns:networkRollback"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="rollbackNetworkResponse">
        <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="healthCheck">
    <part name="parameters" element="tns:healthCheck"/>
  </message>
  <message name="healthCheckResponse">
    <part name="parameters" element="tns:healthCheckResponse"/>
  </message>
  <message name="createNetwork">
    <part name="parameters" element="tns:createNetwork"/>
  </message>
  <message name="createNetworkResponse">
    <part name="parameters" element="tns:createNetworkResponse"/>
  </message>
  <message name="NetworkException">
    <part name="fault" element="tns:NetworkException"/>
  </message>
  <message name="NetworkAlreadyExists">
    <part name="fault" element="tns:NetworkAlreadyExists"/>
  </message>
  <message name="updateNetwork">
    <part name="parameters" element="tns:updateNetwork"/>
  </message>
  <message name="updateNetworkResponse">
    <part name="parameters" element="tns:updateNetworkResponse"/>
  </message>
  <message name="queryNetwork">
    <part name="parameters" element="tns:queryNetwork"/>
  </message>
  <message name="queryNetworkResponse">
    <part name="parameters" element="tns:queryNetworkResponse"/>
  </message>
  <message name="deleteNetwork">
    <part name="parameters" element="tns:deleteNetwork"/>
  </message>
  <message name="deleteNetworkResponse">
    <part name="parameters" element="tns:deleteNetworkResponse"/>
  </message>
  <message name="rollbackNetwork">
    <part name="parameters" element="tns:rollbackNetwork"/>
  </message>
  <message name="rollbackNetworkResponse">
    <part name="parameters" element="tns:rollbackNetworkResponse"/>
  </message>
  <portType name="NetworkAdapter">
    <operation name="healthCheck">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/healthCheckRequest" message="tns:healthCheck"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/healthCheckResponse" message="tns:healthCheckResponse"/>
    </operation>
    <operation name="createNetwork">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkRequest" message="tns:createNetwork"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkResponse" message="tns:createNetworkResponse"/>
      <fault message="tns:NetworkException" name="NetworkException" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/createNetwork/Fault/NetworkException"/>
      <fault message="tns:NetworkAlreadyExists" name="NetworkAlreadyExists" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/createNetwork/Fault/NetworkAlreadyExists"/>
    </operation>
    <operation name="updateNetwork">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/updateNetworkRequest" message="tns:updateNetwork"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/updateNetworkResponse" message="tns:updateNetworkResponse"/>
      <fault message="tns:NetworkException" name="NetworkException" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/updateNetwork/Fault/NetworkException"/>
    </operation>
    <operation name="queryNetwork">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/queryNetworkRequest" message="tns:queryNetwork"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/queryNetworkResponse" message="tns:queryNetworkResponse"/>
      <fault message="tns:NetworkException" name="NetworkException" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/queryNetwork/Fault/NetworkException"/>
    </operation>
    <operation name="deleteNetwork">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetworkRequest" message="tns:deleteNetwork"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetworkResponse" message="tns:deleteNetworkResponse"/>
      <fault message="tns:NetworkException" name="NetworkException" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetwork/Fault/NetworkException"/>
    </operation>
    <operation name="rollbackNetwork">
      <input wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/rollbackNetworkRequest" message="tns:rollbackNetwork"/>
      <output wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/rollbackNetworkResponse" message="tns:rollbackNetworkResponse"/>
      <fault message="tns:NetworkException" name="NetworkException" wsam:Action="http://org.openecomp.mso/network/NetworkAdapter/rollbackNetwork/Fault/NetworkException"/>
    </operation>
  </portType>
  <binding name="MsoNetworkAdapterImplPortBinding" type="tns:NetworkAdapter">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="healthCheck">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="createNetwork">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NetworkException">
        <soap:fault name="NetworkException" use="literal"/>
      </fault>
      <fault name="NetworkAlreadyExists">
        <soap:fault name="NetworkAlreadyExists" use="literal"/>
      </fault>
    </operation>
    <operation name="updateNetwork">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NetworkException">
        <soap:fault name="NetworkException" use="literal"/>
      </fault>
    </operation>
    <operation name="queryNetwork">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NetworkException">
        <soap:fault name="NetworkException" use="literal"/>
      </fault>
    </operation>
    <operation name="deleteNetwork">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NetworkException">
        <soap:fault name="NetworkException" use="literal"/>
      </fault>
    </operation>
    <operation name="rollbackNetwork">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NetworkException">
        <soap:fault name="NetworkException" use="literal"/>
      </fault>
    </operation>
  </binding>
  <service name="NetworkAdapter">
    <port name="MsoNetworkAdapterImplPort" binding="tns:MsoNetworkAdapterImplPortBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>
</definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint></con:endpoints><con:operation id="b58b639c-8fa1-4bbd-bb60-1797f1d7b30b" isOneWay="false" action="" name="createNetwork" bindingOperationName="createNetwork" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="c21bb880-9199-428c-8369-eb830b7ae1a5" name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/dbadapters/RequestsDbAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:createNetwork>\r
         <cloudSiteId>cloud</cloudSiteId>\r
         <tenantId>tenant</tenantId>\r
         <networkType>networkType</networkType>\r
         <networkName>networkName</networkName>\r
         <!--Optional:-->\r
         <physicalNetworkName>physicalNetworkName</physicalNetworkName>\r
         <!--Zero or more repetitions:-->\r
         <vlans>lan1</vlans>\r
         <!--Optional:-->\r
         <failIfExists>false</failIfExists>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>IntegTests</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>toto</serviceInstanceId>\r
         </request>\r
      </net:createNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkRequest"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation id="a2fdaa98-ace3-450a-8e9d-43e890a8e8eb" isOneWay="false" action="" name="deleteNetwork" bindingOperationName="deleteNetwork" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="b6d03c13-b6d4-4eb1-a291-19c0fe6adac3" name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:deleteNetwork>\r
         <cloudSiteId>?</cloudSiteId>\r
         <tenantId>?</tenantId>\r
         <networkType>?</networkType>\r
         <networkId>?</networkId>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>?</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>?</serviceInstanceId>\r
         </request>\r
      </net:deleteNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetworkRequest"/></con:call></con:operation><con:operation id="116baa59-652c-4fa8-9b83-ed47b649a7e0" isOneWay="false" action="" name="healthCheck" bindingOperationName="healthCheck" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="074e4beb-337a-4cce-9d82-8766b2ee05a1" name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:healthCheck/>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/healthCheckRequest"/></con:call></con:operation><con:operation id="df8ee9ae-86f1-4453-b7c2-c158fbe9feb2" isOneWay="false" action="" name="queryNetwork" bindingOperationName="queryNetwork" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="ce7f34ca-2952-4198-b7f4-6ea6d800d3d8" name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:queryNetwork>\r
         <cloudSiteId>?</cloudSiteId>\r
         <tenantId>?</tenantId>\r
         <networkNameOrId>?</networkNameOrId>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>?</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>?</serviceInstanceId>\r
         </request>\r
      </net:queryNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/queryNetworkRequest"/></con:call></con:operation><con:operation id="e5404399-615d-4cd7-9f67-ead64cf968f9" isOneWay="false" action="" name="rollbackNetwork" bindingOperationName="rollbackNetwork" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="20936161-aa4c-4014-8eda-ac8996a49723" name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:rollbackNetwork>\r
         <rollback>\r
            <!--Optional:-->\r
            <cloudId>?</cloudId>\r
            <!--Optional:-->\r
            <msoRequest>\r
               <!--Optional:-->\r
               <requestId>?</requestId>\r
               <!--Optional:-->\r
               <serviceInstanceId>?</serviceInstanceId>\r
            </msoRequest>\r
            <networkCreated>?</networkCreated>\r
            <!--Optional:-->\r
            <networkId>?</networkId>\r
            <!--Optional:-->\r
            <networkName>?</networkName>\r
            <!--Optional:-->\r
            <networkType>?</networkType>\r
            <networkUpdated>?</networkUpdated>\r
            <!--Optional:-->\r
            <neutronNetworkId>?</neutronNetworkId>\r
            <!--Optional:-->\r
            <physicalNetwork>?</physicalNetwork>\r
            <!--Optional:-->\r
            <tenantId>?</tenantId>\r
            <!--Zero or more repetitions:-->\r
            <vlans>?</vlans>\r
         </rollback>\r
      </net:rollbackNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/rollbackNetworkRequest"/></con:call></con:operation><con:operation id="fd83c3ba-bf0e-45f3-8ea6-bdfb976d26b7" isOneWay="false" action="" name="updateNetwork" bindingOperationName="updateNetwork" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call id="8720ff50-26ab-4ba8-b1f4-b60520a061e3" name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>REPLACE_WITH_ACTUAL_URL</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:updateNetwork>\r
         <cloudSiteId>?</cloudSiteId>\r
         <tenantId>?</tenantId>\r
         <networkType>?</networkType>\r
         <networkId>?</networkId>\r
         <networkName>?</networkName>\r
         <physicalNetworkName>?</physicalNetworkName>\r
         <!--1 or more repetitions:-->\r
         <vlans>?</vlans>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>?</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>?</serviceInstanceId>\r
         </request>\r
      </net:updateNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://org.openecomp.mso/network/NetworkAdapter/updateNetworkRequest"/></con:call></con:operation></con:interface><con:testSuite id="38ade4ab-683c-4476-a708-c8fc3d0c229e" name="MsoNetworkAdapter TestSuite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="e672bfa9-0de6-431f-86b2-ef3b8e591d68" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="createNetwork TestCase" searchProperties="true"><con:settings/><con:testStep type="request" id="6589e594-92e4-48b4-9fb7-6af6d3c9c6ab" name="createNetwork"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>createNetwork</con:operation><con:request name="createNetwork" id="0ba35f43-89b5-45d6-8d2d-8664105aee9e"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">
   <soapenv:Header/>
   <soapenv:Body>
      <net:createNetwork>
         <cloudSiteId>toto</cloudSiteId>
         <tenantId>b0784c65ad104c9ab2df27c1b2e04bd0</tenantId>
         <networkType>vlan</networkType>
         <networkName>tete</networkName>
         <!--Optional:-->

         <!--Zero or more repetitions:-->
         <physicalNetworkName>titi</physicalNetworkName><vlans>10</vlans>
         <!--Optional:-->
         <failIfExists>true</failIfExists>
         <!--Optional:-->
         <request>
            <!--Optional:-->

            <!--Optional:-->
            <requestId>requestId</requestId><serviceInstanceId>serviceInstanceId</serviceInstanceId>
         </request>
      </net:createNetwork>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="f0e9b782-d1d7-46aa-aff0-5da428d76531"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="a1891fc0-4e82-4ae5-a4b7-5afbe7a461b0"><con:configuration><token>CloudSite does not exist in MSO Configuration</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="createNetwork no name" id="fea3a6c5-b5a4-4db8-abe5-42bb7dc84718"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>createNetwork</con:operation><con:request name="createNetwork no name" id="0ba35f43-89b5-45d6-8d2d-8664105aee9e"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">
   <soapenv:Header/>
   <soapenv:Body>
      <net:createNetwork>
         <cloudSiteId>MT</cloudSiteId>
         <tenantId>b0784c65ad104c9ab2df27c1b2e04bd0</tenantId>
         <networkType>vlan</networkType>
         <!--Optional:-->

         <!--Zero or more repetitions:-->
         <physicalNetworkName>titi</physicalNetworkName><vlans>10</vlans>
         <!--Optional:-->
         <failIfExists>true</failIfExists>
         <!--Optional:-->
         <request>
            <!--Optional:-->

            <!--Optional:-->
            <requestId>requestId</requestId><serviceInstanceId>serviceInstanceId</serviceInstanceId>
         </request>
      </net:createNetwork>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="4745dcba-91b9-4ac0-a727-7e2941f59f33"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="d917281a-0a2b-468c-acff-e5473170c8a8"><con:configuration><token>Create Network: Missing parameters: networkName</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="createNetwork bad type" id="cd8760de-00e0-4828-996e-f73c24951dbc"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>createNetwork</con:operation><con:request name="createNetwork bad type" id="0ba35f43-89b5-45d6-8d2d-8664105aee9e"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">
   <soapenv:Header/>
   <soapenv:Body>
      <net:createNetwork>
         <cloudSiteId>MT</cloudSiteId>
         <tenantId>b0784c65ad104c9ab2df27c1b2e04bd0</tenantId>
         <networkType>tata</networkType>
         <!--Optional:-->

         <!--Zero or more repetitions:-->
         <physicalNetworkName>titi</physicalNetworkName><vlans>10</vlans>
         <!--Optional:-->
         <failIfExists>true</failIfExists>
         <!--Optional:-->
         <request>
            <!--Optional:-->

            <!--Optional:-->
            <requestId>requestId</requestId><serviceInstanceId>serviceInstanceId</serviceInstanceId>
         </request>
      </net:createNetwork>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="0e27fb95-ecdd-4994-ae47-bf7bfebec8b3"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="336f121d-b4e5-48b6-a5f6-91ea18aeaeb9"><con:configuration><token>&lt;faultstring>Create/UpdateNetwork: Unable to get network resource with NetworkType:tata or ModelCustomizationUUID:null</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/createNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase id="bfed2f45-9ec1-479a-9fc2-79981c1614c9" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="deleteNetwork TestCase" searchProperties="true"><con:settings/><con:testStep type="request" id="4d121d19-08b6-4547-ba56-3be575651c77" name="deleteNetwork"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>deleteNetwork</con:operation><con:request name="deleteNetwork" id="a5958801-a7b7-429a-9c8a-fcf7d22e4fee"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>
   <soapenv:Body>
      <net:deleteNetwork>
         <cloudSiteId>?</cloudSiteId>
         <tenantId>?</tenantId>
         <networkType>?</networkType>
         <networkId>?</networkId>
         <!--Optional:-->
         <request>
            <!--Optional:-->
            <requestId>?</requestId>
            <!--Optional:-->
            <serviceInstanceId>?</serviceInstanceId>
         </request>
      </net:deleteNetwork>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="ae765673-245e-42b3-85a1-d61a902855f9"><con:configuration><codes>500
</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="89e60334-b667-4845-b806-e1568bb21364"><con:configuration><token>[DeleteNetwork] Cloud Site [?] not found</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="deleteNetwork no id" id="0342b44b-f463-4ca4-a381-ec8e159614af"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>deleteNetwork</con:operation><con:request name="deleteNetwork no id" id="a5958801-a7b7-429a-9c8a-fcf7d22e4fee"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>
   <soapenv:Body>
      <net:deleteNetwork>
         <cloudSiteId>Jenkins_TEST_Cloud</cloudSiteId>
         <tenantId>toto</tenantId>
         <networkType>vlan</networkType>
         <!--Optional:-->
         <request>
            <!--Optional:-->
            <requestId>?</requestId>
            <!--Optional:-->
            <serviceInstanceId>?</serviceInstanceId>
         </request>
      </net:deleteNetwork>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="87ce9425-4cca-404d-bb04-626920fc11d4"><con:configuration><codes>500
</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="0e2f8fb4-e940-4fc6-9617-7b74aeedb54f"><con:configuration><token>&lt;faultstring>Missing mandatory parameter cloudSiteId, tenantId or networkId&lt;/faultstring></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/deleteNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase id="bc5b5187-a3ee-4993-8fc5-dc0ed125ede7" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="healthCheck TestCase" searchProperties="true"><con:settings/><con:testStep type="request" id="0604c296-d3ed-4e96-9ae1-e662b3d99917" name="healthCheck"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>healthCheck</con:operation><con:request name="healthCheck" id="b9b9cfa9-ecbb-4543-a718-d6cc7c65cd01"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:healthCheck/>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="3fa5cfc0-f69f-4c3b-a7ca-1f85ecfe90d9"><con:configuration><codes>200</codes></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/healthCheckRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase id="56154ce5-1ee3-4b26-b6c9-8075ac1a8684" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="queryNetwork TestCase" searchProperties="true"><con:settings/><con:testStep type="request" id="3b0bc90a-e7a4-467e-a543-95f14d83b6b9" name="queryNetwork"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>queryNetwork</con:operation><con:request name="queryNetwork" id="f8b0fd29-58ee-4e7c-baca-9796c28be780"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:queryNetwork>\r
         <cloudSiteId>?</cloudSiteId>\r
         <tenantId>?</tenantId>\r
         <networkNameOrId>?</networkNameOrId>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>?</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>?</serviceInstanceId>\r
         </request>\r
      </net:queryNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="158ee6df-e631-4161-9a59-77f3d609d3e6"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="7608b5b8-0947-4b96-b5b5-fee47298fedc"><con:configuration><token>CloudSite does not exist in MSO Configuration</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/queryNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase id="e7522966-5712-4e76-9434-be104c77c449" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="rollbackNetwork TestCase" searchProperties="true" disabled="true"><con:settings/><con:testStep type="request" id="eb6f002a-e935-4413-a0cb-b85b3ef089ca" name="rollbackNetwork"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>rollbackNetwork</con:operation><con:request name="rollbackNetwork" id="ba43ff76-633c-4c01-bea8-c84dd1b3cb12"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:rollbackNetwork>\r
         <rollback>\r
            <!--Optional:-->\r
            <cloudId>?</cloudId>\r
            <!--Optional:-->\r
            <msoRequest>\r
               <!--Optional:-->\r
               <requestId>12</requestId>\r
               <!--Optional:-->\r
               <serviceInstanceId>?</serviceInstanceId>\r
            </msoRequest>\r
            <networkCreated>?</networkCreated>\r
            <!--Optional:-->\r
            <networkId>?</networkId>\r
            <!--Optional:-->\r
            <networkName>?</networkName>\r
            <!--Optional:-->\r
            <networkType>?</networkType>\r
            <networkUpdated>?</networkUpdated>\r
            <!--Optional:-->\r
            <neutronNetworkId>?</neutronNetworkId>\r
            <networkStackId>?</networkStackId>
            <!--Optional:-->\r
            <physicalNetwork>?</physicalNetwork>\r
            <!--Optional:-->\r
            <tenantId>?</tenantId>\r
            <!--Zero or more repetitions:-->\r
            <vlans></vlans>\r
         </rollback>\r
      </net:rollbackNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="1d3ad35c-4769-4ed0-9257-40751b39ef4e"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="a96b5406-914f-48a6-9c45-0803d020707d"><con:configuration><token>&lt;message>Rollback Network: Unknown Network Type: ?&lt;/message></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/rollbackNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase id="af9555e0-d44e-4988-8a0b-c77d500713d7" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="updateNetwork TestCase" searchProperties="true"><con:settings/><con:testStep type="request" id="499e258a-eeeb-48f4-9f31-3d6372c32b7b" name="updateNetwork"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MsoNetworkAdapterImplPortBinding</con:interface><con:operation>updateNetwork</con:operation><con:request name="updateNetwork" id="c1a2d3aa-df9e-4952-8dc6-d9366d72d863"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${#Project#host}/networks/NetworkAdapter</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:net="http://org.openecomp.mso/network">\r
   <soapenv:Header/>\r
   <soapenv:Body>\r
      <net:updateNetwork>\r
         <cloudSiteId>?</cloudSiteId>\r
         <tenantId>?</tenantId>\r
         <networkType>?</networkType>\r
         <networkId>?</networkId>\r
         <networkName>?</networkName>\r
         <physicalNetworkName>?</physicalNetworkName>\r
         <!--1 or more repetitions:-->\r
         <vlans></vlans>\r
         <!--Optional:-->\r
         <request>\r
            <!--Optional:-->\r
            <requestId>?</requestId>\r
            <!--Optional:-->\r
            <serviceInstanceId>?</serviceInstanceId>\r
         </request>\r
      </net:updateNetwork>\r
   </soapenv:Body>\r
</soapenv:Envelope>]]></con:request><con:assertion type="Valid HTTP Status Codes" name="Valid HTTP Status Codes" id="266839a6-9ba8-46ab-b5c9-18eee8e1e263"><con:configuration><codes>500</codes></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" id="6ce82e5e-762a-40ab-bd05-29d3353743aa"><con:configuration><token> CloudSite does not exist in MSO Configuration</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username>BPELClient</con:username><con:password>password1$</con:password><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://org.openecomp.mso/network/NetworkAdapter/updateNetworkRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:properties/><con:reportParameters/></con:testSuite><con:properties><con:property><con:name>host</con:name><con:value>localhost:8080</con:value></con:property></con:properties><con:wssContainer/><con:databaseConnectionContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/><con:reporting><con:xmlTemplates/><con:parameters/></con:reporting><con:sensitiveInformation/></con:soapui-project>