diff options
author | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-automation/src/main/resources/registration_to_simulator/activateDeactivate | |
parent | 2f20b001b9243e0f8b44aecc768ec265fd538732 (diff) |
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d
Issue-ID: VID-86
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-automation/src/main/resources/registration_to_simulator/activateDeactivate')
4 files changed, 132 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/aai_get_service_instance.json b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/aai_get_service_instance.json new file mode 100644 index 000000000..055300a90 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/aai_get_service_instance.json @@ -0,0 +1,80 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/aai/v11/business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/AIM+Transport/service-instances/service-instance/f36f5734-e9df-4fbf-9f35-61be13f028a1" + } , + "simulatorResponse": { + "responseCode": 200, + "body":{ + "service-instance-id": "5e72ff6e-8bab-4ec7-bfc9-54f58c01a666", + "service-instance-name": "MISVPN_TRANSPORT_00001", + "service-type": "TRANSPORT", + "service-role": "MISVPN", + "environment-context": "General_Revenue-Bearing", + "workload-context": "Production", + "model-invariant-id": "6ffab618-bc86-46b4-bc8c-685ee48b316a", + "model-version-id": "2f2ae06d-02e8-45ba-a54b-597f66830558", + "resource-version": "1508513387222", + "orchestration-status": "Active", + "relationship-list": { + "relationship": [ + { + "related-to": "zone", + "related-link": "/aai/v11/network/zones/zone/TAT37", + "relationship-data": [ + { + "relationship-key": "zone.zone-id", + "relationship-value": "TAT37" + } + ], + "related-to-property": [ + { + "property-key": "zone.zone-name", + "property-value": "TESAAISD-TAT37" + } + ] + }, + { + "related-to": "logical-link", + "related-link": "/aai/v11/network/logical-links/logical-link/tesai371ve2%3Aae10%7Ctesaaisdgraclz1a1%3Apo100", + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "tesai371ve2:ae10|tesaaisdgraclz1a1:po100" + } + ] + }, + { + "related-to": "logical-link", + "related-link": "/aai/v11/network/logical-links/logical-link/tesai372ve2%3Aae10%7Ctesaaisdgrbclz1a1%3Apo100", + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "tesai372ve2:ae10|tesaaisdgrbclz1a1:po100" + } + ] + }, + { + "related-to": "logical-link", + "related-link": "/aai/v11/network/logical-links/logical-link/SANITY6757cce9%3ALAG1988%7CSANITY6785cce9%3ALAG1957", + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "SANITY6757cce9:LAG1988|SANITY6785cce9:LAG1957" + } + ] + }, + { + "related-to": "logical-link", + "related-link": "/aai/v11/network/logical-links/logical-link/SANITY6758cce9%3ALAG1992%7CSANITY6785cce9%3ALAG1961", + "relationship-data": [ + { + "relationship-key": "logical-link.link-name", + "relationship-value": "SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961" + } + ] + } + ] + } + } } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance.json b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance.json new file mode 100644 index 000000000..a620ee06c --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance.json @@ -0,0 +1,16 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/<ACTIVE_ACTION>" + } , + "simulatorResponse": { + "responseCode": 202, + "body": { + "requestReferences": { + "instanceId": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d", + "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8" + } + } + } +} + diff --git a/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_error.json b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_error.json new file mode 100644 index 000000000..20a3eb35d --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_error.json @@ -0,0 +1,9 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/<ACTIVE_ACTION>" + } , + "simulatorResponse": { + "responseCode": 500 + } +}
\ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_orch_req.json new file mode 100644 index 000000000..e1a430aa4 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/activateDeactivate/mso_activate_service_instance_orch_req.json @@ -0,0 +1,27 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/ecomp/mso/infra/orchestrationRequests/v5/b6dc9806-b094-42f7-9386-a48de8218ce8" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "request": { + "requestId": "b6dc9806-b094-42f7-9386-a48de8218ce8", + "startTime": "Mon, 23 Oct 2017 23:28:39 GMT", + "requestScope": "service", + "requestType": "<ACTIVE_ACTION>", + "instanceReferences": { + "serviceInstanceId": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d", + "requestorId": "1" + }, + "requestStatus": { + "requestState": "COMPLETE", + "statusMessage": "Success", + "percentProgress": 100, + "finishTime": "Mon, 23 Oct 2017 23:28:39 GMT" + } + } + } + } + } |