diff options
author | Mateusz Gołuchowski <mateusz.goluchowski@nokia.com> | 2020-11-05 15:47:23 +0100 |
---|---|---|
committer | Ikram Ikramullah <ikram@research.att.com> | 2020-11-27 15:14:17 +0000 |
commit | 164596ffc56c1f9a4418a2f3b8f3941896b124f7 (patch) | |
tree | 6b622ce09273cad1e73735f77dd650624a54e5f1 /vid-app-common/src/test/resources | |
parent | 3e558222d300ff70ff490914cc2245cf2a59e72a (diff) |
Update VID SO API call generation - include PNF instanceName parameter in SO API call (macro)
Creation of functionality to prepare service with PNF request which call SO.
Issue-ID: VID-695
Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
Change-Id: I5285ac2ab5e95665244ca18c6549249d9330b1ed
Diffstat (limited to 'vid-app-common/src/test/resources')
6 files changed, 33 insertions, 5 deletions
diff --git a/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json b/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json index f038427c5..cba323c7e 100644 --- a/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json +++ b/vid-app-common/src/test/resources/getTopology/serviceWithCR/getTopologyWithCR.json @@ -25,6 +25,7 @@ "rollbackOnFailure": null, "isALaCarte": false, "vnfs": {}, + "pnfs": {}, "networks": {}, "vrfs": {}, "vnfGroups": {}, @@ -89,6 +90,7 @@ }, "validationCounter": 0, "existingVNFCounterMap": {}, + "existingPNFCounterMap": null, "existingNetworksCounterMap": {}, "existingVnfGroupCounterMap": {}, "existingVRFCounterMap": {} diff --git a/vid-app-common/src/test/resources/payload_jsons/bulk_macro_service_request.json b/vid-app-common/src/test/resources/payload_jsons/bulk_macro_service_request.json index c0315d015..4c0740ad5 100644 --- a/vid-app-common/src/test/resources/payload_jsons/bulk_macro_service_request.json +++ b/vid-app-common/src/test/resources/payload_jsons/bulk_macro_service_request.json @@ -88,7 +88,29 @@ "vre_a_volume_size_0": "100" }] }] - }] + }], + "pnfs": [ + { + "modelInfo": { + "modelCustomizationName": "modelCustomizationName", + "modelCustomizationId": "modelCustomizationId", + "modelInvariantId": "modelInvariantId", + "modelVersionId": "modelVersionId", + "modelName": "modelName", + "modelType": "pnf", + "modelVersion": "1.0" + }, + "platform": { + "platformName": "platformName" + }, + "lineOfBusiness": { + "lineOfBusinessName": "lineOfBusinessName" + }, + "productFamilyId": "productFamilyId", + "instanceParams": [], + "instanceName": "instanceName" + } + ] } } }] diff --git a/vid-app-common/src/test/resources/payload_jsons/bulk_service_no_homing.json b/vid-app-common/src/test/resources/payload_jsons/bulk_service_no_homing.json index f61280024..4c8b4cd96 100644 --- a/vid-app-common/src/test/resources/payload_jsons/bulk_service_no_homing.json +++ b/vid-app-common/src/test/resources/payload_jsons/bulk_service_no_homing.json @@ -88,7 +88,8 @@ "vre_a_volume_size_0": "100" }] }] - }] + }], + "pnfs": [] } } }, diff --git a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_ecomp_naming.json b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_ecomp_naming.json index dd343f46e..8676d53d2 100644 --- a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_ecomp_naming.json +++ b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_ecomp_naming.json @@ -88,7 +88,8 @@ "vre_a_volume_size_0": "100" }] }] - }] + }], + "pnfs": [] } } }] diff --git a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_no_vfmodule_ecomp_naming.json b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_no_vfmodule_ecomp_naming.json index 0ef15d790..22ac8951c 100644 --- a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_no_vfmodule_ecomp_naming.json +++ b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_no_vfmodule_ecomp_naming.json @@ -59,7 +59,8 @@ }, "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", "instanceParams": [] - }] + }], + "pnfs": [] } } }] diff --git a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_unique_names.json b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_unique_names.json index c4f40a9c0..fe89a62ad 100644 --- a/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_unique_names.json +++ b/vid-app-common/src/test/resources/payload_jsons/bulk_service_request_unique_names.json @@ -94,7 +94,8 @@ "vre_a_volume_size_0": "100" }] }] - }] + }], + "pnfs": [] } } }] |