aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter/src/test/resources
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-30 15:56:09 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-31 11:09:25 -0400
commit5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch)
tree59a968f27b4b603aacc9d5e7b51fb598aeec5321 /adapters/mso-requests-db-adapter/src/test/resources
parentb6dc38501f3b746426b42d9de4cc883d894149e8 (diff)
Containerization feature of SO
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'adapters/mso-requests-db-adapter/src/test/resources')
-rw-r--r--adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml52
-rw-r--r--adapters/mso-requests-db-adapter/src/test/resources/db/migration/afterMigrate.sql32
-rw-r--r--adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml33
-rw-r--r--adapters/mso-requests-db-adapter/src/test/resources/wsdl/MsoRequestsDbAdapterImpl.wsdl295
4 files changed, 412 insertions, 0 deletions
diff --git a/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml b/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml
new file mode 100644
index 0000000000..c3be9323fb
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/test/resources/application-test.yaml
@@ -0,0 +1,52 @@
+# will be used as entry in DB to say SITE OFF/ON for healthcheck
+
+server:
+ port: 8080
+ tomcat:
+ max-threads: 50
+ssl-enable: false
+mso:
+ logPath: logs
+ site-name: localSite
+ infra-requests:
+ archived:
+ period: 1
+spring:
+ datasource:
+ url: jdbc:mariadb://localhost:3307/requestdb
+ username: root
+ password: password
+ driver-class-name: org.mariadb.jdbc.Driver
+ initialize: true
+ initialization-mode: never
+ jpa:
+ generate-ddl: false
+ show-sql: false
+ hibernate:
+ ddl-auto: validate
+ naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
+ enable-lazy-load-no-trans: true
+ database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
+ security:
+ usercredentials:
+ -
+ username: test
+ password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
+ role: BPEL-Client
+mariaDB4j:
+ dataDir:
+ port: 3307
+ databaseName: requestdb
+
+#Actuator
+management:
+ security:
+ enabled: false
+ basic:
+ enabled: false
+
+flyway:
+ baseline-on-migrate: false
+ url: jdbc:mariadb://localhost:3307/requestdb
+ user: root
+ password: password
diff --git a/adapters/mso-requests-db-adapter/src/test/resources/db/migration/afterMigrate.sql b/adapters/mso-requests-db-adapter/src/test/resources/db/migration/afterMigrate.sql
new file mode 100644
index 0000000000..ec02ac0734
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/test/resources/db/migration/afterMigrate.sql
@@ -0,0 +1,32 @@
+use requestdb;
+
+insert into operation_status(service_id, operation_id, service_name, user_id, result, operation_content, progress, reason, operate_at, finished_at) values
+('serviceid', 'operationid', 'servicename', 'userid', 'result', 'operationcontent', 'progress', 'reason', '2016-11-24 13:19:10', '2016-11-24 13:19:10');
+
+
+insert into infra_active_requests(request_id, client_request_id, action, request_status, status_message, progress, start_time, end_time, source, vnf_id, vnf_name, vnf_type, service_type, aic_node_clli, tenant_id, prov_status, vnf_params, vnf_outputs, request_body, response_body, last_modified_by, modify_time, request_type, volume_group_id, volume_group_name, vf_module_id, vf_module_name, vf_module_model_name, aai_service_id, aic_cloud_region, callback_url, correlator, network_id, network_name, network_type, request_scope, request_action, service_instance_id, service_instance_name, requestor_id, configuration_id, configuration_name, operational_env_id, operational_env_name) values
+('00032ab7-3fb3-42e5-965d-8ea592502017', '00032ab7-3fb3-42e5-965d-8ea592502016', 'deleteInstance', 'COMPLETE', 'Vf Module has been deleted successfully.', '100', '2016-12-22 18:59:54', '2016-12-22 19:00:28', 'VID', 'b92f60c8-8de3-46c1-8dc1-e4390ac2b005', null, null, null, null, '6accefef3cb442ff9e644d589fb04107', null, null, null, '{"requestDetails":{"modelInfo":{"modelType":"vfModule","modelName":"vSAMP10aDEV::base::module-0"},"requestInfo":{"source":"VID"},"cloudConfiguration":{"tenantId":"6accefef3cb442ff9e644d589fb04107","lcpCloudRegionId":"mtn6"}}}', null, 'BPMN', '2016-12-22 19:00:28', null, null, null, 'c7d527b1-7a91-49fd-b97d-1c8c0f4a7992', null, 'vSAMP10aDEV::base::module-0', null, 'mtn6', null, null, null, null, null, 'vfModule', 'deleteInstance', 'e3b5744d-2ad1-4cdd-8390-c999a38829bc', null, null, null, null, null, null),
+('00093944-bf16-4373-ab9a-3adfe730ff2d', null, 'createInstance', 'FAILED', 'Error: Locked instance - This service (MSODEV_1707_SI_vSAMP10a_011-4) already has a request being worked with a status of IN_PROGRESS (RequestId - 278e83b1-4f9f-450e-9e7d-3700a6ed22f4). The existing request must finish or be cleaned up before proceeding.', '100', '2017-07-11 18:33:26', '2017-07-11 18:33:26', 'VID', null, null, null, null, null, '19123c2924c648eb8e42a3c1f14b7682', null, null, null, '{"requestDetails":{"modelInfo":{"modelInvariantId":"9647dfc4-2083-11e7-93ae-92361f002671","modelType":"service","modelName":"MSOTADevInfra_vSAMP10a_Service","modelVersion":"1.0","modelVersionId":"5df8b6de-2083-11e7-93ae-92361f002671"},"requestInfo":{"source":"VID","instanceName":"MSODEV_1707_SI_vSAMP10a_011-4","suppressRollback":false,"requestorId":"xxxxxx"},"subscriberInfo":{"globalSubscriberId":"MSO_1610_dev","subscriberName":"MSO_1610_dev"},"cloudConfiguration":{"tenantId":"19123c2924c648eb8e42a3c1f14b7682","lcpCloudRegionId":"mtn6"},"requestParameters":{"subscriptionServiceType":"MSO-dev-service-type","userParams":[{"name":"someUserParam","value":"someValue"}],"aLaCarte":true,"autoBuildVfModules":false,"cascadeDelete":false,"usePreload":true,"alaCarteSet":true,"alaCarte":true}}}', null, 'APIH', '2016-12-22 19:00:28', null, null, null, null, null, null, null, 'mtn6', null, null, null, null, null, 'service', 'createInstance', null, 'MSODEV_1707_SI_vSAMP10a_011-4', 'xxxxxx', null, null, null, null),
+('001619d2-a297-4a4b-a9f5-e2823c88458f', '001619d2-a297-4a4b-a9f5-e2823c88458f', 'CREATE_VF_MODULE', 'COMPLETE', 'COMPLETED', '100', '2016-07-01 14:11:42', '2017-05-02 16:03:34', 'PORTAL', null, 'test-vscp', 'elena_test21', null, null, '381b9ff6c75e4625b7a4182f90fc68d3', null, null, null, '<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vnf-request xmlns=\"http://org.onap.so/mso/infra/vnf-request/v1\">\n <request-info>\n <request-id>001619d2-a297-4a4b-a9f5-e2823c88458f</request-id>\n <action>CREATE_VF_MODULE</action>\n <source>PORTAL</source>\n </request-info>\n <vnf-inputs>\n <vnf-name>test-vscp</vnf-name>\n <vf-module-name>moduleName</vf-module-name>\n <vnf-type>elena_test21</vnf-type>\n <vf-module-model-name>moduleModelName</vf-module-model-name>\n <asdc-service-model-version>1.0</asdc-service-model-version>\n <service-id>a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb</service-id>\n <aic-cloud-region>mtn9</aic-cloud-region>\n <tenant-id>381b9ff6c75e4625b7a4182f90fc68d3</tenant-id>\n <persona-model-id></persona-model-id>\n <persona-model-version></persona-model-version>\n <is-base-vf-module>false</is-base-vf-module>\n </vnf-inputs>\n <vnf-params xmlns:tns=\"http://org.onap.so/mso/infra/vnf-request/v1\"/>\n</vnf-request>\n', 'NONE', 'RDBTEST', '2016-07-01 14:11:42', 'VNF', null, null, null, 'MODULENAME1', 'moduleModelName', 'a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb', 'mtn9', null, null, null, null, null, 'vfModule', 'createInstance', null, null, null, null, null, null, null),
+('00164b9e-784d-48a8-8973-bbad6ef818ed', null, 'createInstance', 'COMPLETE', 'Service Instance was created successfully.', '100', '2017-09-28 12:45:51', '2017-09-28 12:45:53', 'VID', null, null, null, null, null, '19123c2924c648eb8e42a3c1f14b7682', null, null, null, '{"requestDetails":{"requestDetails":{"modelInfo":{"modelCustomizationName":null,"modelInvariantId":"52b49b5d-3086-4ffd-b5e6-1b1e5e7e062f","modelType":"service","modelNameVersionId":null,"modelName":"MSO Test Network","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":"aed5a5b7-20d3-44f7-90a3-ddbd16f14d1e","modelCustomizationId":null,"modelUuid":null,"modelInvariantUuid":null,"modelInstanceName":null},"requestInfo":{"billingAccountNumber":null,"callbackUrl":null,"correlator":null,"orderNumber":null,"productFamilyId":null,"orderVersion":null,"source":"VID","instanceName":"DEV-MTN6-3100-0927-1","suppressRollback":false,"requestorId":"xxxxxx"},"relatedInstanceList":null,"subscriberInfo":{"globalSubscriberId":"MSO_1610_dev","subscriberName":"MSO_1610_dev"},"cloudConfiguration":{"aicNodeClli":null,"tenantId":"19123c2924c648eb8e42a3c1f14b7682","lcpCloudRegionId":"mtn6"},"requestParameters":{"subscriptionServiceType":"MSO-dev-service-type","userParams":[{"name":"someUserParam","value":"someValue"}],"aLaCarte":true,"autoBuildVfModules":false,"cascadeDelete":false,"usePreload":true,"alaCarte":true},"project":null,"owningEntity":null,"platform":null,"lineOfBusiness":null}}}', null, 'CreateGenericALaCarteServiceInstance', '2017-09-28 12:45:52', null, null, null, null, null, null, null, 'mtn6', null, null, null, null, null, 'service', 'createInstance', 'b2f59173-b7e5-4e0f-8440-232fd601b865', 'DEV-MTN6-3100-0927-1', 'xxxxxx', null, null, null, null),
+('00173cc9-5ce2-4673-a810-f87fefb2829e', null, 'createInstance', 'FAILED', 'Error parsing request. No valid instanceName is specified', '100', '2017-04-14 21:08:46', '2017-04-14 21:08:46', 'VID', null, null, null, null, null, 'a259ae7b7c3f493cb3d91f95a7c18149', null, null, null, '{"requestDetails":{"modelInfo":{"modelInvariantId":"ff6163d4-7214-459e-9f76-507b4eb00f51","modelType":"service","modelName":"ConstraintsSrvcVID","modelVersion":"2.0","modelVersionId":"722d256c-a374-4fba-a14f-a59b76bb7656"},"requestInfo":{"productFamilyId":"LRSI-OSPF","source":"VID","requestorId":"xxxxxx"},"subscriberInfo":{"globalSubscriberId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"},"cloudConfiguration":{"tenantId":"a259ae7b7c3f493cb3d91f95a7c18149","lcpCloudRegionId":"mtn16"},"requestParameters":{"subscriptionServiceType":"Mobility","userParams":[{"name":"neutronport6_name","value":"8"},{"name":"neutronnet5_network_name","value":"8"},{"name":"contrailv2vlansubinterface3_name","value":"false"}]}}}', null, 'APIH', '2016-12-22 19:00:28', null, null, null, null, null, null, null, 'mtn16', null, null, null, null, null, 'service', 'createInstance', null, null, null, null, null, null, null),
+('0017f68c-eb2d-45bb-b7c7-ec31b37dc349', null, 'activateInstance', 'UNLOCKED', null, '20', '2017-09-26 16:09:29', '2017-09-28 12:45:53', 'VID', null, null, null, null, null, null, null, null, null, '{"requestDetails":{"modelInfo":{"modelCustomizationName":null,"modelInvariantId":"1587cf0e-f12f-478d-8530-5c55ac578c39","modelType":"configuration","modelNameVersionId":null,"modelName":null,"modelVersion":null,"modelCustomizationUuid":null,"modelVersionId":"36a3a8ea-49a6-4ac8-b06c-89a545444455","modelCustomizationId":"68dc9a92-214c-11e7-93ae-92361f002671","modelUuid":null,"modelInvariantUuid":null,"modelInstanceName":null},"requestInfo":{"billingAccountNumber":null,"callbackUrl":null,"correlator":null,"orderNumber":null,"productFamilyId":null,"orderVersion":null,"source":"VID","instanceName":null,"suppressRollback":false,"requestorId":"xxxxxx"},"relatedInstanceList":[{"relatedInstance":{"instanceName":null,"instanceId":"9e15a443-af65-4f05-9000-47ae495e937d","modelInfo":{"modelCustomizationName":null,"modelInvariantId":"de19ae10-9a25-11e7-abc4-cec278b6b50a","modelType":"service","modelNameVersionId":null,"modelName":"MSOTADevInfra_Configuration_Service","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":"ee938612-9a25-11e7-abc4-cec278b6b50a","modelCustomizationId":null,"modelUuid":null,"modelInvariantUuid":null,"modelInstanceName":null},"instanceDirection":null}}],"subscriberInfo":null,"cloudConfiguration":{"aicNodeClli":null,"tenantId":null,"lcpCloudRegionId":"mtn6"},"requestParameters":{"subscriptionServiceType":null,"userParams":[],"aLaCarte":false,"autoBuildVfModules":false,"cascadeDelete":false,"usePreload":true,"alaCarte":false},"project":null,"owningEntity":null,"platform":null,"lineOfBusiness":null}}', null, 'APIH', '2017-09-26 16:09:29', null, null, null, null, null, null, null, 'mtn6', null, null, null, null, null, 'configuration', 'activateInstance', '9e15a443-af65-4f05-9000-47ae495e937d', null, 'xxxxxx', '26ef7f15-57bb-48df-8170-e59edc26234c', null, null, null);
+
+insert into watchdog_distributionid_status(distribution_id, distribution_id_status, create_time, modify_time) values
+('1533c4bd-a3e3-493f-a16d-28c20614415e', '', '2017-11-30 15:48:09', '2017-11-30 15:48:09'),
+('55429711-809b-4a3b-9ee5-5120d46d9de0', '', '2017-11-30 16:35:36', '2017-11-30 16:35:36'),
+('67f0b2d1-9013-4b2b-9914-bbe2288284fb', '', '2017-11-30 15:54:39', '2017-11-30 15:54:39');
+
+insert into watchdog_per_component_distribution_status(distribution_id, component_name, component_distribution_status, create_time, modify_time) values
+('1533c4bd-a3e3-493f-a16d-28c20614415e', 'MSO', 'COMPONENT_DONE_OK', '2017-11-30 15:48:09', '2017-11-30 15:48:09'),
+('55429711-809b-4a3b-9ee5-5120d46d9de0', 'MSO', 'COMPONENT_DONE_ERROR', '2017-11-30 16:35:36', '2017-11-30 16:35:36'),
+('67f0b2d1-9013-4b2b-9914-bbe2288284fb', 'MSO', 'COMPONENT_DONE_OK', '2017-11-30 15:54:39', '2017-11-30 15:54:39');
+
+insert into watchdog_service_mod_ver_id_lookup(distribution_id, service_model_version_id, create_time, modify_time) values
+('1533c4bd-a3e3-493f-a16d-28c20614415e', '7e813ab5-88d3-4fcb-86c0-498c5d7eef9a', '2017-11-30 15:48:08', '2017-11-30 15:48:08'),
+('55429711-809b-4a3b-9ee5-5120d46d9de0', 'cc031e75-4442-4d1a-b774-8a2b434e0a50', '2017-11-30 16:35:36', '2017-11-30 16:35:36'),
+('67f0b2d1-9013-4b2b-9914-bbe2288284fb', 'eade1e9d-c1ec-4ef3-bc31-60570fba1573', '2017-11-30 15:54:39', '2017-11-30 15:54:39');
+
+
+insert into site_status(site_name, status, creation_timestamp) values
+('testsite', 0, '2017-11-30 15:48:09'); \ No newline at end of file
diff --git a/adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml b/adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml
new file mode 100644
index 0000000000..54fa1cdd65
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml
@@ -0,0 +1,33 @@
+<configuration>
+
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+
+ <logger name="com.att.ecomp.audit" level="info" additivity="false">
+ <appender-ref ref="STDOUT" />
+ </logger>
+
+ <logger name="com.att.eelf.metrics" level="info" additivity="false">
+ <appender-ref ref="STDOUT" />
+ </logger>
+
+ <logger name="com.att.eelf.error" level="trace" additivity="false">
+ <appender-ref ref="STDOUT" />
+ </logger>
+
+ <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false">
+ <appender-ref ref="STDOUT" />
+ </logger>
+ <logger name="org.flywaydb" level="DEBUG" additivity="false">
+ <appender-ref ref="STDOUT" />
+ </logger>
+ <root level="WARN">
+ <appender-ref ref="STDOUT" />
+ </root>
+
+</configuration> \ No newline at end of file
diff --git a/adapters/mso-requests-db-adapter/src/test/resources/wsdl/MsoRequestsDbAdapterImpl.wsdl b/adapters/mso-requests-db-adapter/src/test/resources/wsdl/MsoRequestsDbAdapterImpl.wsdl
new file mode 100644
index 0000000000..b22acdae75
--- /dev/null
+++ b/adapters/mso-requests-db-adapter/src/test/resources/wsdl/MsoRequestsDbAdapterImpl.wsdl
@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="RequestsDbAdapter" targetNamespace="http://org.onap.so/requestsdb" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://org.onap.so/requestsdb" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+<xs:schema xmlns:tns="http://org.onap.so/requestsdb" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://org.onap.so/requestsdb">
+ <xs:element name="getInfraRequest" type="tns:getInfraRequest"/>
+ <xs:element name="getInfraRequestResponse" type="tns:getInfraRequestResponse"/>
+ <xs:element name="getSiteStatus" type="tns:getSiteStatus"/>
+ <xs:element name="getSiteStatusResponse" type="tns:getSiteStatusResponse"/>
+ <xs:element name="initResourceOperationStatus" type="tns:initResourceOperationStatus"/>
+ <xs:element name="initResourceOperationStatusResponse" type="tns:initResourceOperationStatusResponse"/>
+ <xs:element name="updateInfraRequest" type="tns:updateInfraRequest"/>
+ <xs:element name="updateInfraRequestResponse" type="tns:updateInfraRequestResponse"/>
+ <xs:element name="updateServiceOperationStatus" type="tns:updateServiceOperationStatus"/>
+ <xs:element name="updateServiceOperationStatusResponse" type="tns:updateServiceOperationStatusResponse"/>
+ <xs:complexType name="getInfraRequest">
+ <xs:sequence>
+ <xs:element name="requestId" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getInfraRequestResponse">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="tns:infraActiveRequests"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="infraActiveRequests">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="aaiServiceId" type="xs:string"/>
+ <xs:element minOccurs="0" name="action" type="xs:string"/>
+ <xs:element minOccurs="0" name="aicCloudRegion" type="xs:string"/>
+ <xs:element minOccurs="0" name="aicNodeClli" type="xs:string"/>
+ <xs:element minOccurs="0" name="callBackUrl" type="xs:string"/>
+ <xs:element minOccurs="0" name="clientRequestId" type="xs:string"/>
+ <xs:element minOccurs="0" name="configurationId" type="xs:string"/>
+ <xs:element minOccurs="0" name="configurationName" type="xs:string"/>
+ <xs:element minOccurs="0" name="correlator" type="xs:string"/>
+ <xs:element minOccurs="0" name="endTime" type="xs:long"/>
+ <xs:element minOccurs="0" name="lastModifiedBy" type="xs:string"/>
+ <xs:element minOccurs="0" name="networkId" type="xs:string"/>
+ <xs:element minOccurs="0" name="networkName" type="xs:string"/>
+ <xs:element minOccurs="0" name="networkType" type="xs:string"/>
+ <xs:element minOccurs="0" name="operationalEnvId" type="xs:string"/>
+ <xs:element minOccurs="0" name="operationalEnvName" type="xs:string"/>
+ <xs:element minOccurs="0" name="progress" type="xs:long"/>
+ <xs:element minOccurs="0" name="provStatus" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestAction" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestBody" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestId" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestScope" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestStatus" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestType" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestorId" type="xs:string"/>
+ <xs:element minOccurs="0" name="responseBody" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceInstanceId" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceInstanceName" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceType" type="xs:string"/>
+ <xs:element minOccurs="0" name="source" type="xs:string"/>
+ <xs:element minOccurs="0" name="startTime" type="xs:long"/>
+ <xs:element minOccurs="0" name="statusMessage" type="xs:string"/>
+ <xs:element minOccurs="0" name="tenantId" type="xs:string"/>
+ <xs:element minOccurs="0" name="vfModuleId" type="xs:string"/>
+ <xs:element minOccurs="0" name="vfModuleModelName" type="xs:string"/>
+ <xs:element minOccurs="0" name="vfModuleName" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfId" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfName" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfOutputs" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfParams" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfType" type="xs:string"/>
+ <xs:element minOccurs="0" name="volumeGroupId" type="xs:string"/>
+ <xs:element minOccurs="0" name="volumeGroupName" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="msoRequestsDbExceptionBean">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="message" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getSiteStatus">
+ <xs:sequence>
+ <xs:element name="siteName" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="getSiteStatusResponse">
+ <xs:sequence>
+ <xs:element name="return" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="updateInfraRequest">
+ <xs:sequence>
+ <xs:element name="requestId" type="xs:string"/>
+ <xs:element name="lastModifiedBy" type="xs:string"/>
+ <xs:element minOccurs="0" name="statusMessage" type="xs:string"/>
+ <xs:element minOccurs="0" name="responseBody" type="xs:string"/>
+ <xs:element minOccurs="0" name="requestStatus" type="tns:request-status-type"/>
+ <xs:element minOccurs="0" name="progress" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfOutputs" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceInstanceId" type="xs:string"/>
+ <xs:element minOccurs="0" name="networkId" type="xs:string"/>
+ <xs:element minOccurs="0" name="vnfId" type="xs:string"/>
+ <xs:element minOccurs="0" name="vfModuleId" type="xs:string"/>
+ <xs:element minOccurs="0" name="volumeGroupId" type="xs:string"/>
+ <xs:element minOccurs="0" name="serviceInstanceName" type="xs:string"/>
+ <xs:element minOccurs="0" name="configurationId" type="xs:string"/>
+ <xs:element minOccurs="0" name="configurationName" type="xs:string"/>
+ <xs:element minOccurs="0" name="vfModuleName" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="updateInfraRequestResponse">
+ <xs:sequence/>
+ </xs:complexType>
+ <xs:complexType name="initResourceOperationStatus">
+ <xs:sequence>
+ <xs:element name="serviceId" type="xs:string"/>
+ <xs:element name="operationId" type="xs:string"/>
+ <xs:element name="operationType" type="xs:string"/>
+ <xs:element name="resourceTemplateUUIDs" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="initResourceOperationStatusResponse">
+ <xs:sequence/>
+ </xs:complexType>
+ <xs:complexType name="updateServiceOperationStatus">
+ <xs:sequence>
+ <xs:element name="serviceId" type="xs:string"/>
+ <xs:element minOccurs="0" name="operationId" type="xs:string"/>
+ <xs:element minOccurs="0" name="operationType" type="xs:string"/>
+ <xs:element minOccurs="0" name="userId" type="xs:string"/>
+ <xs:element minOccurs="0" name="result" type="xs:string"/>
+ <xs:element minOccurs="0" name="operationContent" type="xs:string"/>
+ <xs:element minOccurs="0" name="progress" type="xs:string"/>
+ <xs:element minOccurs="0" name="reason" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="updateServiceOperationStatusResponse">
+ <xs:sequence/>
+ </xs:complexType>
+ <xs:simpleType name="request-status-type">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="COMPLETE"/>
+ <xs:enumeration value="FAILED"/>
+ <xs:enumeration value="IN_PROGRESS"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:element name="MsoRequestsDbException" nillable="true" type="tns:msoRequestsDbExceptionBean"/>
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="getInfraRequest">
+ <wsdl:part name="parameters" element="tns:getInfraRequest">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getSiteStatus">
+ <wsdl:part name="parameters" element="tns:getSiteStatus">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateServiceOperationStatus">
+ <wsdl:part name="parameters" element="tns:updateServiceOperationStatus">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateServiceOperationStatusResponse">
+ <wsdl:part name="parameters" element="tns:updateServiceOperationStatusResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="MsoRequestsDbException">
+ <wsdl:part name="MsoRequestsDbException" element="tns:MsoRequestsDbException">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateInfraRequest">
+ <wsdl:part name="parameters" element="tns:updateInfraRequest">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="updateInfraRequestResponse">
+ <wsdl:part name="parameters" element="tns:updateInfraRequestResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="initResourceOperationStatus">
+ <wsdl:part name="parameters" element="tns:initResourceOperationStatus">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="initResourceOperationStatusResponse">
+ <wsdl:part name="parameters" element="tns:initResourceOperationStatusResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getSiteStatusResponse">
+ <wsdl:part name="parameters" element="tns:getSiteStatusResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="getInfraRequestResponse">
+ <wsdl:part name="parameters" element="tns:getInfraRequestResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="RequestsDbAdapter">
+ <wsdl:operation name="getInfraRequest">
+ <wsdl:input name="getInfraRequest" message="tns:getInfraRequest">
+ </wsdl:input>
+ <wsdl:output name="getInfraRequestResponse" message="tns:getInfraRequestResponse">
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException" message="tns:MsoRequestsDbException">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getSiteStatus">
+ <wsdl:input name="getSiteStatus" message="tns:getSiteStatus">
+ </wsdl:input>
+ <wsdl:output name="getSiteStatusResponse" message="tns:getSiteStatusResponse">
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="updateInfraRequest">
+ <wsdl:input name="updateInfraRequest" message="tns:updateInfraRequest">
+ </wsdl:input>
+ <wsdl:output name="updateInfraRequestResponse" message="tns:updateInfraRequestResponse">
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException" message="tns:MsoRequestsDbException">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="initResourceOperationStatus">
+ <wsdl:input name="initResourceOperationStatus" message="tns:initResourceOperationStatus">
+ </wsdl:input>
+ <wsdl:output name="initResourceOperationStatusResponse" message="tns:initResourceOperationStatusResponse">
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException" message="tns:MsoRequestsDbException">
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="updateServiceOperationStatus">
+ <wsdl:input name="updateServiceOperationStatus" message="tns:updateServiceOperationStatus">
+ </wsdl:input>
+ <wsdl:output name="updateServiceOperationStatusResponse" message="tns:updateServiceOperationStatusResponse">
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException" message="tns:MsoRequestsDbException">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="RequestsDbAdapterSoapBinding" type="tns:RequestsDbAdapter">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="getInfraRequest">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getInfraRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getInfraRequestResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException">
+ <soap:fault name="MsoRequestsDbException" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getSiteStatus">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="getSiteStatus">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getSiteStatusResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="updateInfraRequest">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="updateInfraRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="updateInfraRequestResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException">
+ <soap:fault name="MsoRequestsDbException" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="initResourceOperationStatus">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="initResourceOperationStatus">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="initResourceOperationStatusResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException">
+ <soap:fault name="MsoRequestsDbException" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="updateServiceOperationStatus">
+ <soap:operation soapAction="" style="document"/>
+ <wsdl:input name="updateServiceOperationStatus">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="updateServiceOperationStatusResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MsoRequestsDbException">
+ <soap:fault name="MsoRequestsDbException" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="RequestsDbAdapter">
+ <wsdl:port name="MsoRequestsDbAdapterImplPort" binding="tns:RequestsDbAdapterSoapBinding">
+ <soap:address location="http://localhost:9090/MsoRequestsDbAdapterImplPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>