From 4a4dcc5185f8ba5a28c7f9fef509f32c0c2389e6 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Sun, 12 Aug 2018 14:51:28 +0300 Subject: vid-automation selenium tests Change-Id: I6c1b0a0cf3bbfa4314c81f0cc72507db805ec632 Issue-ID: VID-281 Signed-off-by: Sonsino, Ofir (os0695) --- .../aai_get_model_by_2_invariant_ids.json | 300 ++++ .../aai_get_model_by_one_invariant_id.json | 299 ++++ .../aai_get_pnf_instances_by_region.json | 47 + .../create_configuration/aai_get_tenants.json | 1523 ++++++++++++++++++++ .../aai_get_vnf_instances_by_region.json | 97 ++ .../mso_activate_configuration.json | 77 + .../mso_create_configuration_orch_req.json | 27 + .../mso_create_configuration_pProbe.json | 76 + .../mso_create_configuration_pProbe_error.json | 70 + .../mso_delete_configuration.json | 36 + .../mso_enable_disable_port.json | 55 + .../create_configuration/mso_unassign_service.json | 38 + 12 files changed, 2645 insertions(+) create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_2_invariant_ids.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_one_invariant_id.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_pnf_instances_by_region.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_tenants.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_vnf_instances_by_region.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_activate_configuration.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_orch_req.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe_error.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_delete_configuration.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_enable_disable_port.json create mode 100644 vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_unassign_service.json (limited to 'vid-automation/src/main/resources/registration_to_simulator/create_configuration') diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_2_invariant_ids.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_2_invariant_ids.json new file mode 100644 index 000000000..8b3441163 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_2_invariant_ids.json @@ -0,0 +1,300 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/aai/v../service-design-and-creation/models", + "queryParams": { + "model-invariant-id": [ + "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a" + ], + "depth": [ + "2" + ] + } + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "model": [ + { + "model-invariant-id": "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "model-type": "resource", + "resource-version": "1507472057666", + "model-vers": { + "model-ver": [ + { + "model-version-id": "cb05b259-9f26-4b33-b96c-13c2c202c091", + "model-name": "vf_vEPDG", + "model-version": "2.0", + "model-description": "vEPDG", + "distribution-status": "DISTRIBUTION_COMPLETE_ERROR", + "resource-version": "1507649620979", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "ccbc6dc9-58ad-4082-a81f-630114d99a70", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1507649620982", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/6019af4d-1902-47b1-a7ee-4609c198bf37/model-elements/model-element/8cf71918-6cce-4e01-8049-3f980f8f2b00/model-elements/model-element/4703eeb3-7200-4546-aff2-6e942ac0c0e1", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "6019af4d-1902-47b1-a7ee-4609c198bf37" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "8cf71918-6cce-4e01-8049-3f980f8f2b00" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "4703eeb3-7200-4546-aff2-6e942ac0c0e1" + } + ] + } + ] + } + }, + { + "model-version-id": "eb5f56bf-5855-4e61-bd00-3e19a953bf02", + "model-name": "vf_vEPDG", + "model-version": "1.0", + "model-description": "vEPDG", + "resource-version": "1507472057702", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "18881687-8dab-4ec8-ab65-ebf8f95a6599", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1507472057707", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/de6f879b-37a9-44a5-97ed-cd52cc14bc47/model-elements/model-element/7a074be4-fcf1-46a5-88ee-41a7c7a6faab/model-elements/model-element/72f0adb5-5294-46f7-8085-a8aee9cb5f49", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "de6f879b-37a9-44a5-97ed-cd52cc14bc47" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "7a074be4-fcf1-46a5-88ee-41a7c7a6faab" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "72f0adb5-5294-46f7-8085-a8aee9cb5f49" + } + ] + } + ] + } + }, + { + "model-version-id": "b7f2e8fb-ac71-4ea0-a801-06ef1479ea84", + "model-name": "vf_vEPDG", + "model-version": "4.0", + "model-description": "vEPDG_Up", + "resource-version": "1508954433176", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "4ed7025a-d37b-444f-8008-5c7c41d76d47", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1508954433179", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/0e3f3390-48dd-4640-aed7-0eb873d40a97/model-elements/model-element/106d11a5-2b8c-4586-a56d-ee387e822757/model-elements/model-element/3d7e724a-6f05-4111-8b22-78d024c53081", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "0e3f3390-48dd-4640-aed7-0eb873d40a97" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "106d11a5-2b8c-4586-a56d-ee387e822757" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "3d7e724a-6f05-4111-8b22-78d024c53081" + } + ] + } + ] + } + }, + { + "model-version-id": "57aa616f-8713-443b-81eb-10c472efebcc", + "model-name": "vf_vEPDG", + "model-version": "5.0", + "model-description": "vEPDG_Up", + "resource-version": "1509570916147", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "49899999-076d-456b-915c-078d1b2a05b3", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1509570916150", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/03655348-0148-4482-b0b7-a5de71ab6264/model-elements/model-element/e97f008f-fc19-4b6e-8842-e54ec6eafb6e/model-elements/model-element/cfc574f2-6869-41d3-bfae-42b54b711568", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "03655348-0148-4482-b0b7-a5de71ab6264" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "e97f008f-fc19-4b6e-8842-e54ec6eafb6e" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "cfc574f2-6869-41d3-bfae-42b54b711568" + } + ] + } + ] + } + } + ] + } + } + ] + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_one_invariant_id.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_one_invariant_id.json new file mode 100644 index 000000000..9a5bebd67 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_model_by_one_invariant_id.json @@ -0,0 +1,299 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/aai/v../service-design-and-creation/models", + "queryParams": { + "model-invariant-id": [ + "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a" + ], + "depth": [ + "2" + ] + } + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "model": [ + { + "model-invariant-id": "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "model-type": "resource", + "resource-version": "1507472057666", + "model-vers": { + "model-ver": [ + { + "model-version-id": "cb05b259-9f26-4b33-b96c-13c2c202c091", + "model-name": "vf_vEPDG", + "model-version": "2.0", + "model-description": "vEPDG", + "distribution-status": "DISTRIBUTION_COMPLETE_ERROR", + "resource-version": "1507649620979", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "ccbc6dc9-58ad-4082-a81f-630114d99a70", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1507649620982", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/6019af4d-1902-47b1-a7ee-4609c198bf37/model-elements/model-element/8cf71918-6cce-4e01-8049-3f980f8f2b00/model-elements/model-element/4703eeb3-7200-4546-aff2-6e942ac0c0e1", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "6019af4d-1902-47b1-a7ee-4609c198bf37" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "8cf71918-6cce-4e01-8049-3f980f8f2b00" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "4703eeb3-7200-4546-aff2-6e942ac0c0e1" + } + ] + } + ] + } + }, + { + "model-version-id": "eb5f56bf-5855-4e61-bd00-3e19a953bf02", + "model-name": "vf_vEPDG", + "model-version": "1.0", + "model-description": "vEPDG", + "resource-version": "1507472057702", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "18881687-8dab-4ec8-ab65-ebf8f95a6599", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1507472057707", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/de6f879b-37a9-44a5-97ed-cd52cc14bc47/model-elements/model-element/7a074be4-fcf1-46a5-88ee-41a7c7a6faab/model-elements/model-element/72f0adb5-5294-46f7-8085-a8aee9cb5f49", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "de6f879b-37a9-44a5-97ed-cd52cc14bc47" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "7a074be4-fcf1-46a5-88ee-41a7c7a6faab" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "72f0adb5-5294-46f7-8085-a8aee9cb5f49" + } + ] + } + ] + } + }, + { + "model-version-id": "b7f2e8fb-ac71-4ea0-a801-06ef1479ea84", + "model-name": "vf_vEPDG", + "model-version": "4.0", + "model-description": "vEPDG_Up", + "resource-version": "1508954433176", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "4ed7025a-d37b-444f-8008-5c7c41d76d47", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1508954433179", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/0e3f3390-48dd-4640-aed7-0eb873d40a97/model-elements/model-element/106d11a5-2b8c-4586-a56d-ee387e822757/model-elements/model-element/3d7e724a-6f05-4111-8b22-78d024c53081", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "0e3f3390-48dd-4640-aed7-0eb873d40a97" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "106d11a5-2b8c-4586-a56d-ee387e822757" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "3d7e724a-6f05-4111-8b22-78d024c53081" + } + ] + } + ] + } + }, + { + "model-version-id": "57aa616f-8713-443b-81eb-10c472efebcc", + "model-name": "vf_vEPDG", + "model-version": "5.0", + "model-description": "vEPDG_Up", + "resource-version": "1509570916147", + "model-elements": { + "model-element": [ + { + "model-element-uuid": "49899999-076d-456b-915c-078d1b2a05b3", + "new-data-del-flag": "T", + "cardinality": "unbounded", + "resource-version": "1509570916150", + "relationship-list": { + "relationship": [ + { + "related-to": "model-ver", + "related-link": "/aai/v11/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9" + } + ], + "related-to-property": [ + { + "property-key": "model-ver.model-name", + "property-value": "generic-vnf" + } + ] + } + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + { + "related-to": "model-element", + "related-link": "/aai/v11/service-design-and-creation/models/model/d661b5fd-e0be-457e-a5ca-e345621af761/model-vers/model-ver/03655348-0148-4482-b0b7-a5de71ab6264/model-elements/model-element/e97f008f-fc19-4b6e-8842-e54ec6eafb6e/model-elements/model-element/cfc574f2-6869-41d3-bfae-42b54b711568", + "relationship-data": [ + { + "relationship-key": "model.model-invariant-id", + "relationship-value": "d661b5fd-e0be-457e-a5ca-e345621af761" + }, + { + "relationship-key": "model-ver.model-version-id", + "relationship-value": "03655348-0148-4482-b0b7-a5de71ab6264" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "e97f008f-fc19-4b6e-8842-e54ec6eafb6e" + }, + { + "relationship-key": "model-element.model-element-uuid", + "relationship-value": "cfc574f2-6869-41d3-bfae-42b54b711568" + } + ] + } + ] + } + } + ] + } + } + ] + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_pnf_instances_by_region.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_pnf_instances_by_region.json new file mode 100644 index 000000000..02b2e78f7 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_pnf_instances_by_region.json @@ -0,0 +1,47 @@ +{ + "simulatorRequest": { + "method": "PUT", + "path": "/aai/v../query", + "queryParams": { + "format": ["simple"] + }, + "body": { + "start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL%20USP/service-instances?model-version-id=8a84e59b-45fe-4851-8ff1-34225a0b32c3&model-invariant-id=83b458fd-5dd3-419b-a9e3-7335814a0911", + "query": "query/pnf-fromModel-byRegion?cloudRegionId=AAIAIC25&equipVendor=Cisco&equipModel=Nexus%203048-TP" + } + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "results":[ + { + "id":"901128280", + "node-type":"pnf", + "url":"/aai/v12/network/pnfs/pnf/AS-pnf2-10219--as988q", + "properties":{ + "pnf-name":"AS-pnf2-10219--as988q", + "equip-type":"Switch", + "equip-vendor":"Cisco", + "equip-model":"Nexus 3048-TP", + "in-maint":false, + "resource-version":"1508776538192" + }, + "related-to":[ + { + "id":"532488360", + "relationship-label":"uses", + "node-type":"service-instance", + "url":"/aai/v12/business/customers/customer/customer-10219-as988q/service-subscriptions/service-subscription/serviceSub2-test-10219-as988q/service-instances/service-instance/serviceIns2-test-10219-as988q" + }, + { + "id":"860164248", + "relationship-label":"locatedIn", + "node-type":"complex", + "url":"/aai/v12/cloud-infrastructure/complexes/complex/complex-10219--as988q" + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_tenants.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_tenants.json new file mode 100644 index 000000000..4ac76f824 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_tenants.json @@ -0,0 +1,1523 @@ +[{ + "simulatorRequest": { + "method": "GET", + "path": "/aai/v../business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL.USP" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "service-type": "VIRTUAL USP", + "resource-version": "1494001841964", + "relationship-list": { + "relationship": [ + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/AAIAIC25/tenants/tenant/092eb9e8e4b7412e8787dd091bc58e86", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "AAIAIC25" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "092eb9e8e4b7412e8787dd091bc58e86" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "USP-SIP-IC-24335-T-01" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/bae71557c5bb4d5aac6743a4e5f1d054", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "bae71557c5bb4d5aac6743a4e5f1d054" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-testgamma" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/229bcdc6eaeb4ca59d55221141d01f8e", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "229bcdc6eaeb4ca59d55221141d01f8e" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-STTest2" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1178612d2b394be4834ad77f567c0af2", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "1178612d2b394be4834ad77f567c0af2" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-SSPtestcustome" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/19c5ade915eb461e8af52fb2fd8cd1f2", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "19c5ade915eb461e8af52fb2fd8cd1f2" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-UncheckedEcopm" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/de007636e25249238447264a988a927b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "de007636e25249238447264a988a927b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-dfsdf" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/62f29b3613634ca6a3065cbe0e020c44", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "62f29b3613634ca6a3065cbe0e020c44" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN/SMS-16-D-Multiservices1" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/649289e30d3244e0b48098114d63c2aa", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "649289e30d3244e0b48098114d63c2aa" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-SSPST66" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/3f21eeea6c2c486bba31dab816c05a32", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3f21eeea6c2c486bba31dab816c05a32" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-ASSPST47" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f60ce21d3ee6427586cff0d22b03b773", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f60ce21d3ee6427586cff0d22b03b773" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg67246" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/8774659e425f479895ae091bb5d46560", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "8774659e425f479895ae091bb5d46560" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg68359" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/624eb554b0d147c19ff8885341760481", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "624eb554b0d147c19ff8885341760481" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-iftach" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/214f55f5fc414c678059c383b03e4962", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "214f55f5fc414c678059c383b03e4962" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg612401" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/c90666c291664841bb98e4d981ff1db5", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "c90666c291664841bb98e4d981ff1db5" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg621340" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/ce5b6bc5c7b348e1bf4b91ac9a174278", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "ce5b6bc5c7b348e1bf4b91ac9a174278" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "sspjg621351cloned" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/b386b768a3f24c8e953abbe0b3488c02", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "b386b768a3f24c8e953abbe0b3488c02" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-eteancomp" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/dc6c4dbfd225474e9deaadd34968646c", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "dc6c4dbfd225474e9deaadd34968646c" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-T-SPFET" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/02cb5030e9914aa4be120bd9ed1e19eb", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "02cb5030e9914aa4be120bd9ed1e19eb" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-eeweww" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f2f3830e4c984d45bcd00e1a04158a79", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f2f3830e4c984d45bcd00e1a04158a79" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-spjg61909" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/05b91bd5137f4929878edd965755c06d", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "05b91bd5137f4929878edd965755c06d" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg621512cloned" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/7002fbe8482d4a989ddf445b1ce336e0", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "7002fbe8482d4a989ddf445b1ce336e0" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-vdr" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/4008522be43741dcb1f5422022a2aa0b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "4008522be43741dcb1f5422022a2aa0b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-ssasa" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f44e2e96a1b6476abfda2fa407b00169", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f44e2e96a1b6476abfda2fa407b00169" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-PFNPT" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/b69a52bec8a84669a37a1e8b72708be7", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "b69a52bec8a84669a37a1e8b72708be7" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-vdre" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/fac7d9fd56154caeb9332202dcf2969f", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "fac7d9fd56154caeb9332202dcf2969f" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-NONPODECOMP" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/2d34d8396e194eb49969fd61ffbff961", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "2d34d8396e194eb49969fd61ffbff961" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov16-T5" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/cb42a77ff45b48a8b8deb83bb64acc74", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "cb42a77ff45b48a8b8deb83bb64acc74" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "ro-T11" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/fa45ca53c80b492fa8be5477cd84fc2b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "fa45ca53c80b492fa8be5477cd84fc2b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "ro-T112" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/4914ab0ab3a743e58f0eefdacc1dde77", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "4914ab0ab3a743e58f0eefdacc1dde77" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov21-T1" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/d0a3e3f2964542259d155a81c41aadc3", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "d0a3e3f2964542259d155a81c41aadc3" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "test-mtn6-09" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/cbb99fe4ada84631b7baf046b6fd2044", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "cbb99fe4ada84631b7baf046b6fd2044" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov16-T3" + } + ] + } + ] + } + } + } +}, + { + "simulatorRequest": { + "method": "GET", + "path": "/aai/v../business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/vMMSC" + } , + "simulatorResponse": { + "responseCode": 200, + "body": { + "service-type": "vMMSC", + "resource-version": "1494001841964", + "relationship-list": { + "relationship": [ + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/AAIAIC25/tenants/tenant/092eb9e8e4b7412e8787dd091bc58e86", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "AAIAIC25" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "092eb9e8e4b7412e8787dd091bc58e86" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "USP-SIP-IC-24335-T-01" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/bae71557c5bb4d5aac6743a4e5f1d054", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "bae71557c5bb4d5aac6743a4e5f1d054" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-testgamma" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/229bcdc6eaeb4ca59d55221141d01f8e", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "229bcdc6eaeb4ca59d55221141d01f8e" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-STTest2" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1178612d2b394be4834ad77f567c0af2", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "1178612d2b394be4834ad77f567c0af2" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-SSPtestcustome" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/19c5ade915eb461e8af52fb2fd8cd1f2", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "19c5ade915eb461e8af52fb2fd8cd1f2" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-UncheckedEcopm" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/de007636e25249238447264a988a927b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "de007636e25249238447264a988a927b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-dfsdf" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/62f29b3613634ca6a3065cbe0e020c44", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "62f29b3613634ca6a3065cbe0e020c44" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN/SMS-16-D-Multiservices1" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/649289e30d3244e0b48098114d63c2aa", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "649289e30d3244e0b48098114d63c2aa" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-SSPST66" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/3f21eeea6c2c486bba31dab816c05a32", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3f21eeea6c2c486bba31dab816c05a32" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AIN Web Tool-15-D-ASSPST47" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f60ce21d3ee6427586cff0d22b03b773", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f60ce21d3ee6427586cff0d22b03b773" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg67246" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/8774659e425f479895ae091bb5d46560", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "8774659e425f479895ae091bb5d46560" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg68359" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/624eb554b0d147c19ff8885341760481", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "624eb554b0d147c19ff8885341760481" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-iftach" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/214f55f5fc414c678059c383b03e4962", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "214f55f5fc414c678059c383b03e4962" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg612401" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/c90666c291664841bb98e4d981ff1db5", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "c90666c291664841bb98e4d981ff1db5" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg621340" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/ce5b6bc5c7b348e1bf4b91ac9a174278", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "ce5b6bc5c7b348e1bf4b91ac9a174278" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "sspjg621351cloned" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/b386b768a3f24c8e953abbe0b3488c02", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "b386b768a3f24c8e953abbe0b3488c02" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-eteancomp" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/dc6c4dbfd225474e9deaadd34968646c", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "dc6c4dbfd225474e9deaadd34968646c" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-T-SPFET" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/02cb5030e9914aa4be120bd9ed1e19eb", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "02cb5030e9914aa4be120bd9ed1e19eb" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-eeweww" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f2f3830e4c984d45bcd00e1a04158a79", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f2f3830e4c984d45bcd00e1a04158a79" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-spjg61909" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/05b91bd5137f4929878edd965755c06d", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "05b91bd5137f4929878edd965755c06d" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "CESAR-100-D-sspjg621512cloned" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/7002fbe8482d4a989ddf445b1ce336e0", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "7002fbe8482d4a989ddf445b1ce336e0" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-vdr" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/4008522be43741dcb1f5422022a2aa0b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "4008522be43741dcb1f5422022a2aa0b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-ssasa" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/f44e2e96a1b6476abfda2fa407b00169", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "f44e2e96a1b6476abfda2fa407b00169" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-D-PFNPT" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/b69a52bec8a84669a37a1e8b72708be7", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "b69a52bec8a84669a37a1e8b72708be7" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-vdre" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/fac7d9fd56154caeb9332202dcf2969f", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "fac7d9fd56154caeb9332202dcf2969f" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "AINWebTool-15-X-NONPODECOMP" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/2d34d8396e194eb49969fd61ffbff961", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "2d34d8396e194eb49969fd61ffbff961" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov16-T5" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/cb42a77ff45b48a8b8deb83bb64acc74", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "cb42a77ff45b48a8b8deb83bb64acc74" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "ro-T11" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/fa45ca53c80b492fa8be5477cd84fc2b", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "fa45ca53c80b492fa8be5477cd84fc2b" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "ro-T112" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/4914ab0ab3a743e58f0eefdacc1dde77", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "4914ab0ab3a743e58f0eefdacc1dde77" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov21-T1" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/d0a3e3f2964542259d155a81c41aadc3", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "d0a3e3f2964542259d155a81c41aadc3" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "test-mtn6-09" + } + ] + }, + { + "related-to": "tenant", + "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/cbb99fe4ada84631b7baf046b6fd2044", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "att-aic" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "mtn6" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "cbb99fe4ada84631b7baf046b6fd2044" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "DN5242-Nov16-T3" + } + ] + } + ] + } + } + } + } + ] \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_vnf_instances_by_region.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_vnf_instances_by_region.json new file mode 100644 index 000000000..633b9ec67 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/aai_get_vnf_instances_by_region.json @@ -0,0 +1,97 @@ +{ + "simulatorRequest": { + "method": "PUT", + "path": "/aai/v../query", + "queryParams": { + "format": ["simple"] + }, + "body": {"start": "/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL%20USP/service-instances?model-version-id=2a2ea15f-07c6-4b89-bfca-e8aba39a34d6&model-invariant-id=a7eac2b3-8444-40ee-92e3-b3359b32445c", "query": "query/queryvnfFromModelbyRegion?cloudRegionId=AAIAIC25"} + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "results": [ + { + "id": "2705559632", + "node-type": "generic-vnf", + "url": "/aai/v11/network/generic-vnfs/generic-vnf/9be14a4f-7367-4cf9-96a1-f08f10f485a7", + "properties": { + "vnf-id": "9be14a4f-7367-4cf9-96a1-f08f10f485a7", + "vnf-name": "zmtn6aepdg01", + "vnf-type": "Service_vEPDG/vf_vEPDG 0", + "service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", + "prov-status": "PREPROV", + "orchestration-status": "Created", + "in-maint": false, + "is-closed-loop-disabled": false, + "resource-version": "1507823063273", + "model-invariant-id": "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "model-version-id": "cb05b259-9f26-4b33-b96c-13c2c202c091", + "model-customization-id": "35aeaae9-74f7-4b6a-adda-65edb0110361", + "nf-type": "null", + "nf-function": "null", + "nf-role": "null", + "nf-naming-code": "null" + }, + "related-to": [ + { + "id": "2253160504", + "node-type": "vf-module", + "url": "/aai/v11/network/generic-vnfs/generic-vnf/9be14a4f-7367-4cf9-96a1-f08f10f485a7/vf-modules/vf-module/a7dbb16b7-8d80-4087-8152-53f75efb1768" + }, + { + "id": "2253164600", + "node-type": "vf-module", + "url": "/aai/v11/network/generic-vnfs/generic-vnf/9be14a4f-7367-4cf9-96a1-f08f10f485a7/vf-modules/vf-module/a7dbb16b7-8d80-4087-8152-53f75efb1769" + }, + { + "id": "2662895752", + "node-type": "vf-module", + "url": "/aai/v11/network/generic-vnfs/generic-vnf/9be14a4f-7367-4cf9-96a1-f08f10f485a7/vf-modules/vf-module/a7dbb16b7-8d80-4087-8152-53f75efb1770" + }, + { + "id": "2827526240", + "node-type": "vf-module", + "url": "/aai/v11/network/generic-vnfs/generic-vnf/9be14a4f-7367-4cf9-96a1-f08f10f485a7/vf-modules/vf-module/7dbb16b7-8d80-4087-8152-53f75efb1768" + }, + { + "id": "2541699144", + "node-type": "service-instance", + "url": "/aai/v11/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Mobility/service-instances/service-instance/b27d786a-eebf-4c79-b504-3f1e1a6b9651" + }, + { + "id": "2376065248", + "node-type": "vserver", + "url": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1eddb590b7f04e9890bceeef9e591333/vservers/vserver/a9ee2ed3-9986-4bc5-92d3-a3efdfe4752d" + }, + { + "id": "2376069344", + "node-type": "vserver", + "url": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1eddb590b7f04e9890bceeef9e591333/vservers/vserver/a9ee2ed3-9986-4bc5-92d3-a3efdfe4753d" + }, + { + "id": "2662899848", + "node-type": "vserver", + "url": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/att-aic/mtn6/tenants/tenant/1eddb590b7f04e9890bceeef9e591333/vservers/vserver/a9ee2ed3-9986-4bc5-92d3-a3efdfe4754d" + }, + { + "id": "2662903944", + "node-type": "vnfc", + "url": "/aai/v11/network/vnfcs/vnfc/zmtn6aefdg01vlb001" + }, + { + "id": "2826555472", + "node-type": "vnfc", + "url": "/aai/v11/network/vnfcs/vnfc/zmtn6aefdg01vmg001" + }, + { + "id": "2826567688", + "node-type": "vnfc", + "url": "/aai/v11/network/vnfcs/vnfc/zmtn6aefdg01oam001" + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_activate_configuration.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_activate_configuration.json new file mode 100644 index 000000000..0429ced0e --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_activate_configuration.json @@ -0,0 +1,77 @@ +[{ + "simulatorRequest": { + "method": "POST", + "path": "/mso/serviceInstances/v6/c187e9fe-40c3-4862-b73e-84ff056205f6/configurations/9533-config-LB1113/", + "body": { + "requestDetails": { + "modelInfo": { + "modelType": "configuration", + "modelInvariantId": "model-invariant-id-9533", + "modelVersionId": "model-version-id-9533", + "modelCustomizationId": "08a181aa-72eb-435f-9593-e88a3ad0a86b" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "mdt1" + }, + "requestInfo": { + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7", + "modelName": "ServiceContainerMultiplepProbes", + "modelVersion": "1.0" + } + } + } + ], + "requestParameters": { + "userParams": [] + } + } + } + }, + "simulatorResponse": { + "responseCode": 202, + "body": { + "requestReferences": { + "instanceId": "314cc766-b673-4a50-b9c5-471f68914585", + "requestId": "314cc766-b673-4a50-b9c5-471f68914585" + } + } + } +}, + { + "simulatorRequest": { + "method": "GET", + "path": "/mso/orchestrationRequests/v./314cc766-b673-4a50-b9c5-471f68914585" + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "request": { + "requestId": "311cc766-b673-4a50-b9c5-471f68914586", + "startTime": "Mon, 23 Oct 2017 23:28:39 GMT", + "requestScope": "service", + "requestType": "addRelationships", + "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" + } + } + } + } + } +] diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_orch_req.json new file mode 100644 index 000000000..7dca90932 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_orch_req.json @@ -0,0 +1,27 @@ +{ + "simulatorRequest": { + "method": "GET", + "path": "/mso/orchestrationRequests/v./314cc766-b673-4a50-b9c5-471f68914585" + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "request": { + "requestId": "314cc766-b673-4a50-b9c5-471f68914585", + "startTime": "Mon, 23 Oct 2017 23:28:39 GMT", + "requestScope": "service", + "requestType": "configurations", + "instanceReferences": { + "serviceInstanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "requestorId": "us16807000" + }, + "requestStatus": { + "requestState": "COMPLETE", + "statusMessage": "Success", + "percentProgress": 100, + "finishTime": "Mon, 23 Oct 2017 23:28:39 GMT" + } + } + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe.json new file mode 100644 index 000000000..3822e8cb6 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe.json @@ -0,0 +1,76 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/mso/serviceInstances/v./c187e9fe-40c3-4862-b73e-84ff056205f6/configurations", + "body":{ + "requestDetails": { + "modelInfo": { + "modelType": "configuration", + "modelInvariantId": "c30a024e-a6c6-4670-b73c-3df64eb57ff6", + "modelVersionId": "f58d039d-4cfc-40ec-bd75-1f05f0458a6c", + "modelName": "Port Mirroring Configuration By Policy", + "modelVersion": "1.0", + "modelCustomizationId": "4b7ebace-bad6-4526-9be6-bf248e20fc5f", + "modelCustomizationName": "Port Mirroring Configuration By Policy 1" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "AAIAIC25" + }, + "requestInfo": { + "instanceName": "dummy_instance", + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7", + "modelName": "ServiceContainerMultiplepProbes", + "modelVersion": "1.0" + } + } + }, + { + "relatedInstance": { + "instanceId": "9be14a4f-7367-4cf9-96a1-f08f10f485a7", + "instanceDirection": "source", + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "modelVersionId": "cb05b259-9f26-4b33-b96c-13c2c202c091", + "modelName": "vf_vEPDG", + "modelVersion": "2.0", + "modelCustomizationId": "35aeaae9-74f7-4b6a-adda-65edb0110361" + } + } + }, + { + "relatedInstance": { + "instanceName": "AS-pnf2-10219--as988q", + "instanceDirection": "destination", + "modelInfo": { + "modelType": "pnf" + } + } + } + ], + "requestParameters": { + "userParams": [] + } + } + } + }, + "simulatorResponse": { + "responseCode": 200, + "body": { + "requestReferences": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "requestId": "314cc766-b673-4a50-b9c5-471f68914585" + } + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe_error.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe_error.json new file mode 100644 index 000000000..ccb66d8b5 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_create_configuration_pProbe_error.json @@ -0,0 +1,70 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/mso/serviceInstances/v./c187e9fe-40c3-4862-b73e-84ff056205f6/configurations", + "body": { + "requestDetails": { + "modelInfo": { + "modelType": "configuration", + "modelInvariantId": "c30a024e-a6c6-4670-b73c-3df64eb57ff6", + "modelVersionId": "f58d039d-4cfc-40ec-bd75-1f05f0458a6c", + "modelName": "Port Mirroring Configuration By Policy", + "modelVersion": "1.0", + "modelCustomizationId": "4b7ebace-bad6-4526-9be6-bf248e20fc5f", + "modelCustomizationName": "Port Mirroring Configuration By Policy 1" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "AAIAIC25" + }, + "requestInfo": { + "instanceName": "dummy_instance", + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7", + "modelName": "ServiceContainerMultiplepProbes", + "modelVersion": "1.0" + } + } + }, + { + "relatedInstance": { + "instanceId": "9be14a4f-7367-4cf9-96a1-f08f10f485a7", + "instanceDirection": "source", + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "51f2c559-1aba-4fd4-bbf9-8cbbef85ff2a", + "modelVersionId": "cb05b259-9f26-4b33-b96c-13c2c202c091", + "modelName": "vf_vEPDG", + "modelVersion": "2.0", + "modelCustomizationId": "35aeaae9-74f7-4b6a-adda-65edb0110361" + } + } + }, + { + "relatedInstance": { + "instanceId": "AS-pnf2-10219--as988q", + "instanceDirection": "destination", + "modelInfo": { + "modelType": "pnf" + } + } + } + ], + "requestParameters": { + "userParams": [] + } + } + } + }, + "simulatorResponse": { + "responseCode": 500 + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_delete_configuration.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_delete_configuration.json new file mode 100644 index 000000000..1310b8ec5 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_delete_configuration.json @@ -0,0 +1,36 @@ +{ + "simulatorRequest": { + "method": "DELETE", + "path": "/mso/serviceInstances/v6/c187e9fe-40c3-4862-b73e-84ff056205f6/configurations/9533-config-LB1113", + "body": { + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mdt1" + }, + "modelInfo": { + "modelCustomizationId": "08a181aa-72eb-435f-9593-e88a3ad0a86b", + "modelInvariantId": "model-invariant-id-9533", + "modelVersionId": "model-version-id-9533", + "modelType": "configuration" + }, + "requestInfo": { + "source": "VID", + "requestorId": "us16807000" + }, + "requestParameters": { + "userParams": [] + } + } + } + } + , + "simulatorResponse": { + "responseCode": 202, + "body": { + "requestReferences": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "requestId": "314cc766-b673-4a50-b9c5-471f68914585" + } + } + } +} \ No newline at end of file diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_enable_disable_port.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_enable_disable_port.json new file mode 100644 index 000000000..da0414ec7 --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_enable_disable_port.json @@ -0,0 +1,55 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/mso/serviceInstances/v6/c187e9fe-40c3-4862-b73e-84ff056205f6/configurations/9533-config-LB1113/", + "body": { + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mdt1" + }, + "modelInfo": { + "modelCustomizationId": "08a181aa-72eb-435f-9593-e88a3ad0a86b", + "modelInvariantId": "model-invariant-id-9533", + "modelVersionId": "model-version-id-9533", + "modelType": "configuration" + }, + "requestInfo": { + "source": "VID", + "requestorId": "us16807000" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelName": "ServiceContainerMultiplepProbes", + "modelVersionId": "ee6d61be-4841-4f98-8f23-5de9da846ca7", + "modelVersion": "1.0" + } + } + }, + { + "relatedInstance": { + "instanceId": "d35bf534-7d8e-4cb4-87f9-0a8bb6cd47b2", + "instanceDirection": "source", + "modelInfo": { + "modelType": "connectionPoint" + } + } + } + ] + } + } + }, + "simulatorResponse": { + "responseCode": 202, + "body": { + "requestReferences": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "requestId": "314cc766-b673-4a50-b9c5-471f68914585" + } + } + } +} diff --git a/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_unassign_service.json b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_unassign_service.json new file mode 100644 index 000000000..9f953187b --- /dev/null +++ b/vid-automation/src/main/resources/registration_to_simulator/create_configuration/mso_unassign_service.json @@ -0,0 +1,38 @@ +{ + "simulatorRequest": { + "method": "POST", + "path": "/mso/mso_unassign_svc_instance/c187e9fe-40c3-4862-b73e-84ff056205f6", + //localhost:8080/vid/mso/mso_unassign_svc_instance/c187e9fe-40c3-4862-b73e-84ff056205f6 + "body": { + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mdt1" + }, + "modelInfo": { + "modelCustomizationId": "08a181aa-72eb-435f-9593-e88a3ad0a86b", + "modelInvariantId": "b7d923c9-6175-41f1-91ba-4565c4953408", + "modelVersionId": "model-version-id-9533", + "modelType": "service" + }, + "requestInfo": { + "source": "VID", + "requestorId": "16807000" + }, + "requestParameters": { + "aLaCarte": "false", + "userParams": [] + } + } + } + } + , + "simulatorResponse": { + "responseCode": 202, + "body": { + "requestReferences": { + "instanceId": "c187e9fe-40c3-4862-b73e-84ff056205f6", + "requestId": "314cc766-b673-4a50-b9c5-471f68914585" + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg