Commit 56010277 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Fix issue#11 NFVSOL(26)160 in 3.3.1-fix-plu

parent b0d65829
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -689,7 +689,7 @@ POST Heal VNF
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    ${template}=    Get File    jsons/healVnfRequest.json
    ${body}=        Format String   ${template}     healingCause=${healingCause} 
    ${body}=        Format String   ${template}     vnfcInstanceIds=${vnfcIds}    healingCause=${healingCause} 
    Post    ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/heal    ${body}		
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}	
+2 −1
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ ${newFlavourId} 5a7d81f-e602-4afa-8e13-962fb5a7d81f
${terminationType}    GRACEFUL

${healingCause}    healingCause
${vnfcIds}    [id1 id2 id3]

${changeStateTo}    STOPPED

+1 −1
Original line number Diff line number Diff line
{{
  "vnfcInstanceId": [],
  "vnfcInstanceId": "{vnfcInstanceIds}",
  "cause": "{healingCause}",
  "healScript": ""
}}
 No newline at end of file