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/pProbe | |
parent | 9152b2ae03c4751b492a219993d85d522c58b383 (diff) | |
parent | 4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 (diff) |
Merge "vid-automation selenium tests"
Diffstat (limited to 'vid-automation/src/main/resources/registration_to_simulator/pProbe')
10 files changed, 67 insertions, 10 deletions
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json index 54d83eb99..b07a17c90 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/aai/v11/network/logical-links/logical-link/SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961" + "path": "/aai/v../network/logical-links/logical-link/SANITY6758cce9.LAG1992.SANITY6785cce9.LAG1961" }, "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json index 49cbf9499..30365d830 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/aai/v11/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL+USP/service-instances/service-instance/3f93c7cb-2fd0-4557-9514-e189b7b04f9d" + "path": "/aai/v../business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL.USP/service-instances/service-instance/3f93c7cb-2fd0-4557-9514-e189b7b04f9d" } , "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json index 3afcc3cc4..71a7e32d5 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/aai/v11/network/pnfs/pnf/MX_960-F722" + "path": "/aai/v../network/pnfs/pnf/MX_960-F722" } , "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json index 0b23cfc2e..c6435b2e0 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/aai/v11/network/pnfs/pnf/MX_960-F722" + "path": "/aai/v../network/pnfs/pnf/MX_960-F722" } , "simulatorResponse": { "responseCode": 500, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json index 6d70d9ce4..b794f476c 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json @@ -1,7 +1,8 @@ { "simulatorRequest": { "method": "POST", - "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships" + "path": "/mso/serviceInstances/v./3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships", + "body": "{\"requestDetails\":{\"modelInfo\":{\"modelType\":\"service\",\"modelInvariantId\":\"709d1be4-9a3f-4a29-8c4d-a20465e808a3\",\"modelVersionId\":\"240376de-870e-48df-915a-31f140eedd2c\",\"modelName\":\"Demo Service 1\",\"modelVersion\":\"1.0\"},\"requestInfo\":{\"source\":\"VID\",\"requestorId\":\"us16807000\"},\"relatedInstanceList\":[{\"relatedInstance\":{\"instanceName\":\"MX_960-F722\",\"modelInfo\":{\"modelType\":\"pnf\"}}}],\"requestParameters\":{\"aLaCarte\":true}}}" }, "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json index d92db4a16..d1fefe20f 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "POST", - "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships", + "path": "/mso/serviceInstances/v./3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships", "body": { "requestDetails": { "modelInfo": { diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json index 05517a94a..5eb2866f3 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/ecomp/mso/infra/orchestrationRequests/v5/311cc766-b673-4a50-b9c5-471f68914586" + "path": "/mso/orchestrationRequests/v./311cc766-b673-4a50-b9c5-471f68914586" }, "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json index 1610b0357..68cab1715 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json @@ -1,7 +1,7 @@ { "simulatorRequest": { "method": "GET", - "path": "/ecomp/mso/infra/orchestrationRequests/v5/311cc766-b673-4a50-b9c5-471f68914581" + "path": "/mso/orchestrationRequests/v./311cc766-b673-4a50-b9c5-471f68914581" }, "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json index 73cc14c23..72245ce66 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json @@ -1,7 +1,35 @@ { "simulatorRequest": { "method": "POST", - "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships" + "path": "/mso/serviceInstances/v./3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships", + "body": { + "requestDetails": { + "modelInfo": { + "modelType": "service", + "modelInvariantId": "709d1be4-9a3f-4a29-8c4d-a20465e808a3", + "modelVersionId": "240376de-870e-48df-915a-31f140eedd2c", + "modelName": "Demo Service 1", + "modelVersion": "1.0" + }, + "requestInfo": { + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceName": "SANITY6785cce9", + "modelInfo": { + "modelType": "pnf" + } + } + } + ], + "requestParameters": { + "aLaCarte": true + } + } + } }, "simulatorResponse": { "responseCode": 200, diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json index 3e85903d4..2744cae54 100644 --- a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json +++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json @@ -1,7 +1,35 @@ { "simulatorRequest": { "method": "POST", - "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships" + "path": "/mso/serviceInstances/v./3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships", + "body": { + "requestDetails": { + "modelInfo": { + "modelType": "service", + "modelInvariantId": "709d1be4-9a3f-4a29-8c4d-a20465e808a3", + "modelVersionId": "240376de-870e-48df-915a-31f140eedd2c", + "modelName": "Demo Service 1", + "modelVersion": "1.0" + }, + "requestInfo": { + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceName": "SANITY6785cce9", + "modelInfo": { + "modelType": "pnf" + } + } + } + ], + "requestParameters": { + "aLaCarte": true + } + } + } }, "simulatorResponse": { "responseCode": 500 |