diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-30 15:56:09 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-31 11:09:25 -0400 |
commit | 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch) | |
tree | 59a968f27b4b603aacc9d5e7b51fb598aeec5321 /bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback | |
parent | b6dc38501f3b746426b42d9de4cc883d894149e8 (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 'bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback')
5 files changed, 139 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnf.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnf.xml new file mode 100644 index 0000000000..50e4347e5f --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnf.xml @@ -0,0 +1,26 @@ +<generic-vnf xmlns="http://org.openecomp.aai.inventory/v7"> + <vnf-id>a27ce5a9-29c4-4c22-a017-6615ac73c721</vnf-id> + <vnf-name>STMTN5MMSC21</vnf-name> + <vnf-type>mmsc-capacity</vnf-type> + <service-id>SDN-MOBILITY</service-id> + <equipment-role>vMMSC</equipment-role> + <orchestration-status>pending-create</orchestration-status> + <in-maint>false</in-maint> + <is-closed-loop-disabled>false</is-closed-loop-disabled> + <resource-version>1508691</resource-version> + <vf-modules> + <vf-module> + <vf-module-id>973ed047-d251-4fb9-bf1a-65b8949e0a73</vf-module-id> + <vf-module-name>STMTN5MMSC21-MMSC::module-0-0</vf-module-name> + <persona-model-id>973ed047-d251-4fb9-bf1a-65b8949e0a73</persona-model-id> + <persona-model-version>1.0</persona-model-version> + <is-base-vf-module>true</is-base-vf-module> + <heat-stack-id>FILLED-IN-BY-MSO</heat-stack-id> + <orchestration-status>pending-create</orchestration-status> + <resource-version>1508692</resource-version> + </vf-module> + </vf-modules> + <relationship-list/> + <l-interfaces/> + <lag-interfaces/> +</generic-vnf>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnfVfModule.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnfVfModule.xml new file mode 100644 index 0000000000..f60260d85b --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/GenericVnfVfModule.xml @@ -0,0 +1,26 @@ +<generic-vnf xmlns="http://org.openecomp.aai.inventory/v7"> + <vnf-id>a27ce5a9-29c4-4c22-a017-6615ac73c721</vnf-id> + <vnf-name>STMTN5MMSC21</vnf-name> + <vnf-type>mmsc-capacity</vnf-type> + <service-id>SDN-MOBILITY</service-id> + <equipment-role>vMMSC</equipment-role> + <orchestration-status>pending-create</orchestration-status> + <in-maint>false</in-maint> + <is-closed-loop-disabled>false</is-closed-loop-disabled> + <resource-version>0000021</resource-version> + <vf-modules> + <vf-module> + <vf-module-id>973ed047-d251-4fb9-bf1a-65b8949e0a73</vf-module-id> + <vf-module-name>STMTN5MMSC21-MMSC::module-0-0</vf-module-name> + <persona-model-id>973ed047-d251-4fb9-bf1a-65b8949e0a73</persona-model-id> + <persona-model-version>1.0</persona-model-version> + <is-base-vf-module>true</is-base-vf-module> + <heat-stack-id>FILLED-IN-BY-MSO</heat-stack-id> + <orchestration-status>pending-create</orchestration-status> + <resource-version>0000073</resource-version> + </vf-module> + </vf-modules> + <relationship-list/> + <l-interfaces/> + <lag-interfaces/> +</generic-vnf>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/deactivateSDNCRequest.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/deactivateSDNCRequest.xml new file mode 100644 index 0000000000..69884c5534 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/deactivateSDNCRequest.xml @@ -0,0 +1,36 @@ +<sdncadapterworkflow:SDNCAdapterWorkflowRequest xmlns:ns5="http://org.onap/so/request/types/v1" + xmlns:sdncadapterworkflow="http://org.onap/so/workflow/schema/v1" + xmlns:sdncadapter="http://org.onap.so/workflow/sdnc/adapter/schema/v1"> + <sdncadapter:RequestHeader> + <sdncadapter:RequestId>testReqId</sdncadapter:RequestId> + <sdncadapter:SvcInstanceId>svcInstId_test</sdncadapter:SvcInstanceId> + <sdncadapter:SvcAction>deactivate</sdncadapter:SvcAction> + <sdncadapter:SvcOperation>vf-module-topology-operation</sdncadapter:SvcOperation> + <sdncadapter:CallbackUrl>http://localhost:28080/mso/SDNCAdapterCallbackService</sdncadapter:CallbackUrl> + <sdncadapter:MsoAction>generic-resource</sdncadapter:MsoAction> + </sdncadapter:RequestHeader> + <sdncadapterworkflow:SDNCRequestData> + <request-information> + <request-id>testRequestId</request-id> + <request-action>DeleteVfModuleInstance</request-action> + <source>VID</source> + <notification-url/> + <order-number/> + <order-version/> + </request-information> + <service-information> + <service-id/> + <subscription-service-type/> + <service-instance-id>12345</service-instance-id> + <global-customer-id/> + </service-information> + <vnf-information> + <vnf-id>skask</vnf-id> + <vnf-type/> + </vnf-information> + <vf-module-information> + <vf-module-id>cb510af0-5b21-4bc7-86d9-323cb396ce32</vf-module-id> + </vf-module-information> + <vf-module-request-input/> + </sdncadapterworkflow:SDNCRequestData> +</sdncadapterworkflow:SDNCAdapterWorkflowRequest>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/sdncAdapterWorkflowRequest.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/sdncAdapterWorkflowRequest.xml new file mode 100644 index 0000000000..a03c28c91e --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/sdncAdapterWorkflowRequest.xml @@ -0,0 +1,37 @@ +<sdncadapterworkflow:SDNCAdapterWorkflowRequest xmlns:ns5="http://org.onap/so/request/types/v1" + xmlns:sdncadapterworkflow="http://org.onap/so/workflow/schema/v1" + xmlns:sdncadapter="http://org.onap/workflow/sdnc/adapter/schema/v1"> + <sdncadapter:RequestHeader> + <sdncadapter:RequestId>testReqId</sdncadapter:RequestId> + <sdncadapter:SvcInstanceId>cb510af0-5b21-4bc7-86d9-323cb396ce32</sdncadapter:SvcInstanceId> + <sdncadapter:SvcAction>delete</sdncadapter:SvcAction> + <sdncadapter:SvcOperation>vnf-topology-operation</sdncadapter:SvcOperation> + <sdncadapter:CallbackUrl>http://localhost:28080/mso/SDNCAdapterCallbackService</sdncadapter:CallbackUrl> + </sdncadapter:RequestHeader> + <sdncadapterworkflow:SDNCRequestData> + <request-information> + <request-id>testRequestId</request-id> + <request-action>DisconnectVNFRequest</request-action> + <source>VID</source> + <notification-url/> + <order-number/> + <order-version/> + </request-information> + <service-information> + <service-id>12345</service-id> + <service-type>12345</service-type> + <service-instance-id>12345</service-instance-id> + <subscriber-name>notsurewecare</subscriber-name> + </service-information> + <vnf-request-information> + <vnf-id>cb510af0-5b21-4bc7-86d9-323cb396ce32</vnf-id> + <vnf-type>PCRF::module-0-2</vnf-type> + <vnf-name>PCRF::module-0-2</vnf-name> + <generic-vnf-id>skask</generic-vnf-id> + <generic-vnf-name>skask-test</generic-vnf-name> + <generic-vnf-type>vRRaas</generic-vnf-type> + <aic-cloud-region>RDM2WAGPLCP</aic-cloud-region> + <tenant>fba1bd1e195a404cacb9ce17a9b2b421</tenant> + </vnf-request-information> + </sdncadapterworkflow:SDNCRequestData> +</sdncadapterworkflow:SDNCAdapterWorkflowRequest>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/vnfAdapterRestV1Request.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/vnfAdapterRestV1Request.xml new file mode 100644 index 0000000000..abb30b3c2c --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModuleRollback/vnfAdapterRestV1Request.xml @@ -0,0 +1,14 @@ +<deleteVfModuleRequest> + <cloudSiteId>null</cloudSiteId> + <tenantId>null</tenantId> + <vnfId>skask</vnfId> + <vfModuleId>cb510af0-5b21-4bc7-86d9-323cb396ce32</vfModuleId> + <vfModuleStackId>null</vfModuleStackId> + <skipAAI>true</skipAAI> + <msoRequest> + <requestId>testRequestId</requestId> + <serviceInstanceId>12345</serviceInstanceId> + </msoRequest> + <messageId>12345-1513795852327</messageId> + <notificationUrl>http://localhost:18080/mso/WorkflowMessage/VNFAResponse/null-1513795852327</notificationUrl> +</deleteVfModuleRequest>
\ No newline at end of file |