diff options
author | Mnushkin, Dmitry (dm4252) <dm4252@att.com> | 2019-09-06 15:03:01 -0500 |
---|---|---|
committer | Mnushkin, Dmitry (dm4252) <dm4252@att.com> | 2019-09-06 15:03:01 -0500 |
commit | 6f09e1be817c52ce3685f94a938ee3180525aad9 (patch) | |
tree | c39529bca5093bf21a2386776244cd9fc09247c5 /tests/so/orchestration/assets/templates/bpmn-infra | |
parent | 8e8379fc709b077fcb2ab3035dd22e2a2a46ed53 (diff) |
Add orchestration project to SO integration testing repository
Add orchestration project containing robot setup for testing
Create and Delete Service Instance that will utilize requests
directed to simulator (SIM) Container and AAI image
Issue-ID: SO-2264
Signed-off-by: Mnushkin, Dmitry (dm4252) <dm4252@att.com>;;;
Change-Id: Iac4ac97fcbe5e73712486547d4a5046387751e5b
Diffstat (limited to 'tests/so/orchestration/assets/templates/bpmn-infra')
9 files changed, 362 insertions, 0 deletions
diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/ServiceInstance.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/ServiceInstance.template new file mode 100644 index 00000000..a573a77f --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/ServiceInstance.template @@ -0,0 +1,35 @@ +{ + "requestDetails": { + "requestInfo": { + "productFamilyId": "${productFamilyId}", + "instanceName": "${instanceName}", + "source": "VID", + "suppressRollback": false, + "requestorId": "ROBOT" + }, + "modelInfo": { + "modelType": "${serviceInstModelType}", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion": "${serviceInstModelVersion}" + }, + "project": { + "projectName": "${projectName}" + }, + "owningEntity": { + "owningEntityId": "${owningEntityId}", + "owningEntityName": "${owningEntityName}" + }, + "requestParameters": { + "testApi": "${testApi}", + "userParams": [], + "subscriptionServiceType": "${serviceType}", + "aLaCarte": ${aLaCarteFlag} + }, + "subscriberInfo": { + "globalSubscriberId": "${subscriberId}", + "subscriberName": "${subscriberId}" + } + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModule.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModule.template new file mode 100644 index 00000000..6a5f6d67 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModule.template @@ -0,0 +1,56 @@ +{ + "requestDetails": { + "requestInfo": { + "instanceName": "${vfModuleName}", + "source": "VID", + "suppressRollback": false, + "requestorId": "az2016" + }, + "modelInfo": { + "modelType": "${vfModelType}", + "modelInvariantId": "${vfModelInvariantId}", + "modelVersionId": "${vfModelversionId}", + "modelName": "${vfModelName}", + "modelVersion": "${vfModelVersion}", + "modelCustomizationId": "${vfModelCustomizationId}" + }, + "requestParameters": { + "testApi": "${testApi}", + "aLaCarte": "${alaCarte}", + "userParams": [] + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${vfLcpCloudRegionId}", + "tenantId": "${vfTenantId}", + "cloudOwner": "${cloudOwner}" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "${serviceInstanceId}", + "modelInfo": { + "modelType": "${serviceInstModelType}", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion": "${serviceInstModelVersion}" + } + } + }, + { + "relatedInstance": { + "instanceId": "${vnfId}", + "modelInfo": { + "modelType": "${vnfModelType}", + "modelName": "${vnfModelName}", + "modelInvariantId": "${vnfModelInvariantId}", + "modelVersion": "${vnfModelVersion}", + "modelVersionId": "${vnfModelversionId}", + "modelCustomizationName": "${vnfModelCustomizationName}", + "modelCustomizationId": "${vnfModelcustomizationId}" + } + } + } + ] + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModuleWithVolume.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModuleWithVolume.template new file mode 100644 index 00000000..424d526a --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VfModuleWithVolume.template @@ -0,0 +1,69 @@ +{ + "requestDetails": { + "requestInfo": { + "instanceName": "${vfModuleName}", + "source": "VID", + "suppressRollback": false, + "requestorId": "az2016" + }, + "modelInfo": { + "modelType": "${vfModelType}", + "modelInvariantId": "${vfModelInvariantId}", + "modelVersionId": "${vfModelversionId}", + "modelName": "${vfModelName}", + "modelVersion": "${vfModelVersion}", + "modelCustomizationId": "${vfModelCustomizationId}" + }, + "requestParameters": { + "testApi": "${testApi}", + "aLaCarte": "${alaCarte}", + "userParams": [] + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${vfLcpCloudRegionId}", + "cloudOwner": "${cloudOwner}", + "tenantId": "${vfTenantId}" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "${serviceInstanceId}", + "modelInfo": { + "modelType": "${serviceInstModelType}", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion": "${serviceInstModelVersion}" + } + } + }, + { + "relatedInstance": { + "instanceId": "${vnfId}", + "modelInfo": { + "modelType": "${vnfModelType}", + "modelName": "${vnfModelName}", + "modelInvariantId": "${vnfModelInvariantId}", + "modelVersion": "${vnfModelVersion}", + "modelVersionId": "${vnfModelversionId}", + "modelCustomizationName": "${vnfModelCustomizationName}", + "modelCustomizationId": "${vnfModelcustomizationId}" + } + } + }, + { + "relatedInstance": { + "instanceId": "${volumeGroupId}", + "modelInfo": { + "modelType": "${volumeGroupModelType}", + "modelName": "${volumeGroupModelName}", + "modelInvariantId": "${volumeGroupModelInvariantId}", + "modelVersion": "${volumeGroupModelVersion}", + "modelVersionId": "${volumeGroupModelversionId}", + "modelCustomizationId": "${volumeGroupModelCustomizationId}" + } + } + } + ] + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/Vnf.json b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/Vnf.json new file mode 100644 index 00000000..7e11dbe7 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/Vnf.json @@ -0,0 +1,49 @@ +{ + "requestDetails": { + "requestInfo": { + "instanceName": "${vnfInstanceName}", + "source": "VID", + "suppressRollback": false, + "productFamilyId": "${productfamilyid}", + "requestorId": "ROBOT" + }, + "modelInfo": { + "modelType": "${vnfModelType}", + "modelInvariantId": "${vnfModelInvariantId}", + "modelName": "${vnfModelName}", + "modelVersionId": "${vnfModelversionId}", + "modelVersion": "${vnfModelVersion}", + "modelCustomizationName": "${vnfModelCustomizationName}", + "modelCustomizationId": "${vnfModelcustomizationId}" + }, + "requestParameters": { + "testApi": "${testApi}", + "userParams": [] + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${vnfLcpCloudRegionid}", + "cloudOwner": "${cloudOwner}", + "tenantId": "${vnfTenantId}" + }, + "platform": { + "platformName": "${platformName}" + }, + "lineOfBusiness": { + "lineOfBusinessName": "${lineOfBusinessName}" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "${serviceInstanceId}", + "modelInfo": { + "modelType": "${serviceInstModelType}", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion": "${serviceInstModelVersion}" + } + } + } + ] + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VolumeGroup.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VolumeGroup.template new file mode 100644 index 00000000..d117e28d --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Create/VolumeGroup.template @@ -0,0 +1,56 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "${volumeGroupModelType}", + "modelVersion": "${volumeGroupModelVersion}", + "modelName": "${volumeGroupModelName}", + "modelInvariantId": "${volumeGroupModelInvariantId}", + "modelVersionId": "${volumeGroupModelVersionId}", + "modelCustomizationId": "${volumeGroupModelCustomizationId}" + }, + "requestInfo": { + "instanceName": "${volumeGroupName}", + "source": "VID", + "suppressRollback": true, + "requestorId": "sk720x" + }, + "requestParameters": { + "testApi": "${testApi}", + "aLaCarte": "${alaCarte}", + "userParams": [] + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${volumeGroupLcpCloudRegionId}", + "cloudOwner": "${cloudOwner}", + "tenantId": "${volumeGroupTenantId}" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "${serviceInstanceId}", + "modelInfo": { + "modelType": "${serviceInstModelType}", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion": "${serviceInstModelVersion}" + } + } + }, + { + "relatedInstance": { + "instanceId": "${vnfId}", + "modelInfo": { + "modelType": "${vnfModelType}", + "modelName": "${vnfModelName}", + "modelInvariantId": "${vnfModelInvariantId}", + "modelVersion": "${vnfModelVersion}", + "modelVersionId": "${vnfModelversionId}", + "modelCustomizationName": "${vnfModelCustomizationName}", + "modelCustomizationId": "${vnfModelcustomizationId}" + } + } + } + ] + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/ServiceInstance.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/ServiceInstance.template new file mode 100644 index 00000000..531af177 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/ServiceInstance.template @@ -0,0 +1,20 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "service", + "modelInvariantId": "${serviceInstModelInvariantId}", + "modelVersionId": "${serviceInstModelNameVersionId}", + "modelName": "${serviceInstModelName}", + "modelVersion":"1.0" + }, + "requestInfo": { + "source": "VID", + "requestorId": "ROBOT" + }, + "requestParameters": { + "testApi": "${testApi}", + "userParams": [], + "aLaCarte": "${aLaCarteFlag}" + } + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VfModule.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VfModule.template new file mode 100644 index 00000000..ee227e08 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VfModule.template @@ -0,0 +1,26 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "${vfModelType}", + "modelInvariantId": "${vfModelInvariantId}", + "modelVersionId": "${vfModelversionId}", + "modelName": "${vfModelName}", + "modelVersion": "${vfModelVersion}", + "modelCustomizationId": "${vfModelCustomizationId}" + }, + "requestParameters": { + "testApi": "${testApi}", + "aLaCarte": "${alaCarte}", + "userParams": [] + }, + "requestInfo": { + "source": "VID", + "requestorId": "az2016" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${vfLcpCloudRegionId}", + "tenantId": "${vfTenantId}", + "cloudOwner": "${cloudOwner}" + } + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/Vnf.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/Vnf.template new file mode 100644 index 00000000..fc553952 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/Vnf.template @@ -0,0 +1,25 @@ +{ + "requestDetails":{ + "modelInfo":{ + "modelType":"${vnfModelType}", + "modelInvariantId":"${vnfModelInvariantId}", + "modelNameVersionId":"${vnfModelversionId}", + "modelName":"${vnfModelName}", + "modelCustomizationName":"${vnfModelCustomizationName}", + "modelVersion":"${vnfModelVersion}" + }, + "requestInfo":{ + "source":"VID", + "requestorId":"ROBOT" + }, + "cloudConfiguration":{ + "lcpCloudRegionId":"${vnfLcpCloudRegionid}", + "tenantId":"${vnfTenantId}", + "cloudOwner": "${cloudOwner}" + }, + "requestParameters": { + "testApi": "${testApi}", + "userParams": [] + } + } +}
\ No newline at end of file diff --git a/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VolumeGroup.template b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VolumeGroup.template new file mode 100644 index 00000000..b5a495f2 --- /dev/null +++ b/tests/so/orchestration/assets/templates/bpmn-infra/aLaCarte/Delete/VolumeGroup.template @@ -0,0 +1,26 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "${volumeGroupModelType}", + "modelInvariantId": "${volumeGroupModelInvariantId}", + "modelVersionId": "${volumeGroupModelVersionId}", + "modelName": "${volumeGroupModelName}", + "modelVersion": "${volumeGroupModelVersion}", + "modelCustomizationId": "${volumeGroupModelCustomizationId}" + }, + "requestParameters": { + "testApi": "${testApi}", + "aLaCarte": "${alaCarte}", + "userParams": [] + }, + "requestInfo": { + "source": "VID", + "requestorId": "sk720x" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "${volumeGroupLcpCloudRegionId}", + "tenantId": "${volumeGroupTenantId}", + "cloudOwner": "${cloudOwner}" + } + } +}
\ No newline at end of file |