From 4524d91508aadaea88b0bad4e0fa9114d54165ca Mon Sep 17 00:00:00 2001 From: uihassan Date: Wed, 7 Oct 2020 15:05:28 +0500 Subject: [PATCH] template fix added --- .../VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot b/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot index ceef45a6..d6f9a33d 100644 --- a/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +++ b/SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot @@ -258,7 +258,7 @@ POST Scale vnfInstance Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} ${template}= Get File jsons/scaleVnfRequest.json - ${body}= Format String ${template} type=${scaleVnfRequesttype} aspectId=${scaleVnfRequestAspect} + ${body}= Format String ${template} scaleVnfRequesttype=${scaleVnfRequesttype} scaleVnfRequestAspect=${scaleVnfRequestAspect} Post ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/scale ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} @@ -420,7 +420,7 @@ POST Heal VNF Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} ${template}= Get File jsons/healVnfRequest.json - ${body}= Format String ${template} cause=${healingCause} + ${body}= Format String ${template} healingCause=${healingCause} Post ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/heal ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} -- GitLab