diff options
author | 2018-08-12 12:20:55 +0000 | |
---|---|---|
committer | 2018-08-12 12:20:55 +0000 | |
commit | 91b057331b92ecf7f3c2d495681b05295dc8346c (patch) | |
tree | 0ce3f821ada8ad518784f7f9869db4b537ba3237 /vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow | |
parent | 9152b2ae03c4751b492a219993d85d522c58b383 (diff) | |
parent | 4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 (diff) |
Merge "vid-automation selenium tests"
Diffstat (limited to 'vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow')
6 files changed, 199 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_aai_search_named_query.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_aai_search_named_query.json new file mode 100644 index 000000000..ac6fed851 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_aai_search_named_query.json @@ -0,0 +1,12 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/aai/search/named-query" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "inventory-response-item":[{"model-name":"ServicevMMSCPID298109","service-instance":{"service-instance-id":"537d3eb0-b7ab-4fe8-a438-6166ab6af49b","service-instance-name":"ggghhh"},"extra-properties":{},"inventory-response-items":{"inventory-response-item":[{"model-name":"VSP1710PID298109_vMMSC","generic-vnf":{"vnf-id":"0eb38f69-d96b-4d5e-b8c9-3736c292f0f7","vnf-name":"ssgsg","vnf-type":"ServicevMMSCPID298109/VSP1710PID298109_vMMSC 0","service-id":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb","prov-status":"PREPROV","orchestration-status":"Created","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1506517656216","model-invariant-id":"e7961100-cde6-4b5a-bcda-b8945086950a","model-version-id":"959a7ba0-89ee-4984-9af6-65d5bdda4b0e","model-customization-id":"6b8fc7dc-2db1-4283-a222-b07d10595495","nf-type":"MOBILITY MESSAGING ","nf-function":"Multimedia Message Service Center ","nf-role":"VMMSC","nf-naming-code":"null"},"extra-properties":{}}]}}] + } + } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_orchestration_request_status.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_orchestration_request_status.json new file mode 100644 index 000000000..f9ac0ffe9 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_orchestration_request_status.json @@ -0,0 +1,36 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": ".*/orchestrationRequests/v./orchestrationRequestId" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "request": { + "requestId": "3212b08c-0dcd-4d20-8c84-51e4f325c14a", + "startTime": "Thu, 02 Jun 2017 02:51:59 GMT", + "instanceReferences": { + "operationalEnvironmentInstanceId": "bc305d54-75b4-431b-adb2-eb6b9e546014" + }, + "requestScope": "operationalEnvironment", + "requestType": "REQUEST-TYPE", + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "source": "VID", + "requestorId": "az2017" + }, + "requestParameters": { + "operationalEnvironmentType": "VNF" + } + }, + "requestStatus": { + "timestamp": "Thu, 02 Jun 2017 02:53:39 GMT", + "requestState": "COMPLETE", + "statusMessage": "status_message", + "percentProgress": "100" + } + } + } + } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_sdc_catalog_services_ggghhh.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_sdc_catalog_services_ggghhh.json new file mode 100644 index 000000000..4520b0d3a --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/get_sdc_catalog_services_ggghhh.json @@ -0,0 +1,38 @@ +[ + { + "simulatorRequest": { + "method": "GET", + "path": "/sdc/v./catalog/services/aa2f8e9c-9e47-4b15-a95c-4a93855ac61b/toscaModel" + }, + "simulatorResponse": { + "responseCode": 200, + "file": "ggghhh.zip" + } + }, + { + "simulatorRequest": { + "method": "GET", + "path": "/sdc/v1/catalog/services/aa2f8e9c-9e47-4b15-a95c-4a93855ac61b/metadata" + }, + "simulatorResponse": { + "responseCode": 200, + "responseHeaders": { + "Content-Type": "application/json" + }, + "body": { + "uuid": "aa2f8e9c-9e47-4b15-a95c-4a93855ac61b", + "invariantUUID": "a8dcd72d-d44d-44f2-aa85-53aa9ca0c657", + "name": "ServicevMMSCPID298109", + "version": "1.0", + "toscaModelURL": "./ggghhh.zip", + "category": "Mobility", + "lifecycleState": "CERTIFIED", + "lastUpdaterUserId": "rg276b", + "lastUpdaterFullName": null, + "distributionStatus": "DISTRIBUTED", + "artifacts": null, + "resources": null + } + } + } +]
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vf_module.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vf_module.json new file mode 100644 index 000000000..afba0683e --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vf_module.json @@ -0,0 +1,25 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/vfModules", + "body": { + "requestDetails": { + "requestParameters": { + "testApi": "GR_API" + } + } + } + } , + "simulatorResponse": { + "responseCode": 202, + "responseHeaders": { + "Content-Type": "application/json" + }, + "body": { + "requestReferences": { + "instanceId": "SERVICE_INSTANCE_ID", + "requestId": "REQUEST_ID" + } + } + } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vnf.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vnf.json new file mode 100644 index 000000000..71677143c --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_vnf.json @@ -0,0 +1,63 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs", + "body": { + "requestDetails": { + "requestInfo": { + "instanceName": "INSTANCE_NAME", + "source": "VID", + "suppressRollback": false, + "requestorId": "mo37915000", + "productFamilyId": "ebc3bc3d-62fd-4a3f-a037-f619df4ff034" + }, + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "e7961100-cde6-4b5a-bcda-b8945086950a", + "modelVersionId": "959a7ba0-89ee-4984-9af6-65d5bdda4b0e", + "modelName": "VSP1710PID298109_vMMSC", + "modelVersion": "1.0", + "modelCustomizationId": "6b8fc7dc-2db1-4283-a222-b07d10595495", + "modelCustomizationName": "VSP1710PID298109_vMMSC 0" + }, + "requestParameters": { + "userParams": [], + "testApi": "GR_API" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "some legacy region", + "tenantId": "092eb9e8e4b7412e8787dd091bc58e86" + }, + <LOB>"lineOfBusiness": {"lineOfBusinessName": "ECOMP"},</LOB> + "platform": { + "platformName": "platform" + }, + "relatedInstanceList": [{ + "relatedInstance": { + "instanceId": "SERVICE_INSTANCE_ID", + "modelInfo": { + "modelType": "service", + "modelName": "ServicevMMSCPID298109", + "modelInvariantId": "a8dcd72d-d44d-44f2-aa85-53aa9ca0c657", + "modelVersion": "1.0", + "modelVersionId": "aa2f8e9c-9e47-4b15-a95c-4a93855ac61b" + } + } + } + ] + } + } + } , + "simulatorResponse": { + "responseCode": 202, + "responseHeaders": { + "Content-Type": "application/json" + }, + "body": { + "requestReferences": { + "instanceId": "SERVICE_INSTANCE_ID", + "requestId": "dbe54591-c8ed-46d3-abc7-d3a24873dfbd" + } + } + } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_volume_group.json b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_volume_group.json new file mode 100644 index 000000000..c9d06e9e2 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/aLacarteFlow/mso_create_volume_group.json @@ -0,0 +1,25 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": ".*/serviceInstances/v./SERVICE_INSTANCE_ID/vnfs/VNF_INSTANCE_ID/volumeGroups", + "body": { + "requestDetails": { + "requestParameters": { + "testApi": "GR_API" + } + } + } + } , + "simulatorResponse": { + "responseCode": 202, + "responseHeaders": { + "Content-Type": "application/json" + }, + "body": { + "requestReferences": { + "instanceId": "SERVICE_INSTANCE_ID", + "requestId": "REQUEST_ID" + } + } + } +}
\ No newline at end of file |