From 3cd55a9e9a78bcd37d38da9e727938e3c757ff30 Mon Sep 17 00:00:00 2001 From: uihassan Date: Tue, 22 Dec 2020 18:48:34 +0500 Subject: [PATCH] remove unused template variable --- .../VnfLcmOperationKeywords.robot | 2 +- .../VNFLifecycleManagement-API/jsons/createVnfRequest.json | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot b/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot index f47e4909..46e2fa7a 100644 --- a/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +++ b/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot @@ -82,7 +82,7 @@ POST Create a new vnfInstance Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${check_descriptors} == 1 Add VNF Descriptor Content to VNF Instance ${template} = Get File jsons/createVnfRequest.json - ${body}= Format String ${template} vnfdId=${descriptor_id} vnfProvider=${provider} vnfProductName=${product_name} vnfSoftwareVersion=${software_version} vnfdVersion= ${descriptor_version} + ${body}= Format String ${template} vnfdId=${descriptor_id} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} diff --git a/SOL002/VNFLifecycleManagement-API/jsons/createVnfRequest.json b/SOL002/VNFLifecycleManagement-API/jsons/createVnfRequest.json index 08fe8a18..5b1a730e 100644 --- a/SOL002/VNFLifecycleManagement-API/jsons/createVnfRequest.json +++ b/SOL002/VNFLifecycleManagement-API/jsons/createVnfRequest.json @@ -1,9 +1,5 @@ {{ "vnfInstanceName": "string", "vnfInstanceDescription": "string", - "vnfdId": "{vnfdId}", - "vnfProvider":"{vnfProvider}", - "vnfProductName":"{vnfProductName}", - "vnfSoftwareVersion":"{vnfSoftwareVersion}", - "vnfdVersion":"{vnfdVersion}" + "vnfdId": "{vnfdId}" }} -- GitLab