Loading SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +5 −5 Original line number Diff line number Diff line Loading @@ -499,9 +499,9 @@ Send PUT Request for individual VNF Package Content Send PUT Request to upload VNF Package Content Log Trying to perform a PUT. This method upload the content of a NSD Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Content-Type": "${ACCEPT_ZIP}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${body}= Get Binary File files/vnfPackage.zip ${body}= Get Binary File ${contentZipVnfPackage} PUT ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${newVnfPackageId}/package_content ${body} ${response}= Output response body Should Be Empty ${response} Loading @@ -517,10 +517,10 @@ Check Postcondition VNF Package Content is uploaded and available in the NFVO Send PUT Request to upload VNF Package Content with conflict due to onboarding state Log Trying to perform a PUT. This method upload the content of a NSD Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Content-Type": "${ACCEPT_ZIP}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${body}= Get Binary File files/vnfPackage.zip PUT ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${creatingVnfPackageId}/nsd_content ${body} ${body}= Get Binary File ${contentZipVnfPackage} PUT ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${creatingVnfPackageId}/package_content ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading Loading
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +5 −5 Original line number Diff line number Diff line Loading @@ -499,9 +499,9 @@ Send PUT Request for individual VNF Package Content Send PUT Request to upload VNF Package Content Log Trying to perform a PUT. This method upload the content of a NSD Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Content-Type": "${ACCEPT_ZIP}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${body}= Get Binary File files/vnfPackage.zip ${body}= Get Binary File ${contentZipVnfPackage} PUT ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${newVnfPackageId}/package_content ${body} ${response}= Output response body Should Be Empty ${response} Loading @@ -517,10 +517,10 @@ Check Postcondition VNF Package Content is uploaded and available in the NFVO Send PUT Request to upload VNF Package Content with conflict due to onboarding state Log Trying to perform a PUT. This method upload the content of a NSD Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Content-Type": "${ACCEPT_ZIP}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${body}= Get Binary File files/vnfPackage.zip PUT ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${creatingVnfPackageId}/nsd_content ${body} ${body}= Get Binary File ${contentZipVnfPackage} PUT ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${creatingVnfPackageId}/package_content ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading