testdoc={"generated":1548670493705,"suite":{"doc":"<p>This task resource represents the \"Cancel operation\" operation. The client can use this resource to cancel an ongoing VNF lifecycle operation.\x3c/p>","fullName":"CancelOperationTask","id":"s1","keywords":[{"arguments":"","name":"Check resource existance","type":"SETUP"}],"metadata":[],"name":"CancelOperationTask","numberOfTests":8,"relativeSource":"CancelOperationTask.robot","source":"C:\\Users\\gbern\\Workspace\\ETSI_STF_NFV_APIs\\stf\\api-tests\\SOL002\\VNFLifecycleManagement-API\\CancelOperationTask.robot","suites":[],"tests":[{"doc":"<p>The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the related \"VNF LCM operation occurrence\" is either in \"PROCESSING\" or \"ROLLING_BACK\" state.\x3c/p>","fullName":"CancelOperationTask.Post Cancel operation task","id":"s1-t1","keywords":[{"arguments":"Cancel a VNF lifecycle operation if that operation has experienced a temporary failure","name":"Log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"Cancel a VNF lifecycle operation","name":"Log","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel, ${CancelMode}","name":"Post","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 202","name":"Integer","type":"KEYWORD"},{"arguments":"response headers","name":"${headers} = Output","type":"KEYWORD"},{"arguments":"${headers}, Location","name":"Should Contain","type":"KEYWORD"},{"arguments":"Validation OK","name":"Log","type":"KEYWORD"}],"name":"Post Cancel operation task","tags":[],"timeout":""},{"doc":"<p>Conflict. The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state, or another error handling action is starting, such as retry or rollback. The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.\x3c/p>","fullName":"CancelOperationTask.Post Cancel operation task Conflict (Not-FAILED_TEMP)","id":"s1-t2","keywords":[{"arguments":"Check resource FAILED_TEMP","name":"Depends on test failure","type":"KEYWORD"},{"arguments":"Final Fail an operation","name":"Log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel","name":"Post","type":"KEYWORD"},{"arguments":"response status, 409","name":"Integer","type":"KEYWORD"},{"arguments":"Status code validated","name":"Log","type":"KEYWORD"},{"arguments":"response body","name":"${problemDetails} = Output","type":"KEYWORD"},{"arguments":"json.loads('''${problemDetails}'''), json","name":"${json} = evaluate","type":"KEYWORD"},{"arguments":"ProblemDetails.schema.json, ${json}","name":"Validate Json","type":"KEYWORD"},{"arguments":"Validation OK","name":"Log","type":"KEYWORD"}],"name":"Post Cancel operation task Conflict (Not-FAILED_TEMP)","tags":[],"timeout":""},{"doc":"<p>Conflict The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. Typically, this is due to the fact that the VNF instance resource is not in FAILED_TEMP state, or another error handling action is starting, such as retry or rollback. The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.\x3c/p>","fullName":"CancelOperationTask.Post Cancel operation task Conflict (parallel LCM operation)","id":"s1-t3","keywords":[{"arguments":"","name":"Launch another error handling action","type":"SETUP"},{"arguments":"Final Fail an operation","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel","name":"Post","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 409","name":"Integer","type":"KEYWORD"},{"arguments":"response body","name":"${problemDetails} = Output","type":"KEYWORD"},{"arguments":"json.loads('''${problemDetails}'''), json","name":"${json} = evaluate","type":"KEYWORD"},{"arguments":"ProblemDetails.schema.json, ${json}","name":"Validate Json","type":"KEYWORD"},{"arguments":"Validation OK","name":"Log","type":"KEYWORD"}],"name":"Post Cancel operation task Conflict (parallel LCM operation)","tags":[],"timeout":""},{"doc":"<p>Not Found Error: The API producer did not find a current representation for the target resource or is not willing to disclose that one exists. Specifically in case of this task resource, the response code 404 shall also be returned if the task is not supported for the VNF LCM operation occurrence represented by the parent resource, which means that the task resource consequently does not exist. In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the �detail� attribute shall convey more information about the error.\x3c/p>","fullName":"CancelOperationTask.Post Cancel operation task Not Found","id":"s1-t4","keywords":[{"arguments":"","name":"Check Fail not supported","type":"SETUP"},{"arguments":"Final fail an operation","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}/cancel","name":"Post","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 409","name":"Integer","type":"KEYWORD"},{"arguments":"response body","name":"${problemDetails} = Output","type":"KEYWORD"},{"arguments":"json.loads('''${problemDetails}'''), json","name":"${json} = evaluate","type":"KEYWORD"},{"arguments":"ProblemDetails.schema.json, ${json}","name":"Validate Json","type":"KEYWORD"},{"arguments":"Validation OK","name":"Log","type":"KEYWORD"}],"name":"Post Cancel operation task Not Found","tags":[],"timeout":""},{"doc":"","fullName":"CancelOperationTask.GET Cancel operation task - Method not implemented","id":"s1-t5","keywords":[{"arguments":"Trying to perform a GET. This method should not be implemented","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfInstanceId}/cancel","name":"Get","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 405","name":"Integer","type":"KEYWORD"}],"name":"GET Cancel operation task - Method not implemented","tags":[],"timeout":""},{"doc":"","fullName":"CancelOperationTask.PUT Cancel operation task - Method not implemented","id":"s1-t6","keywords":[{"arguments":"Trying to perform a PUT. This method should not be implemented","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfInstanceId}/cancel","name":"Put","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 405","name":"Integer","type":"KEYWORD"}],"name":"PUT Cancel operation task - Method not implemented","tags":[],"timeout":""},{"doc":"","fullName":"CancelOperationTask.PATCH Cancel operation task - Method not implemented","id":"s1-t7","keywords":[{"arguments":"Trying to perform a PATCH. This method should not be implemented","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfInstanceId}/cancel","name":"Patch","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 405","name":"Integer","type":"KEYWORD"}],"name":"PATCH Cancel operation task - Method not implemented","tags":[],"timeout":""},{"doc":"","fullName":"CancelOperationTask.DELETE Cancel operation task - Method not implemented","id":"s1-t8","keywords":[{"arguments":"Trying to perform a DELETE. This method should not be implemented","name":"log","type":"KEYWORD"},{"arguments":"${AUTH_USAGE} == 1, Set Headers, {\"Authorization\":\"${AUTHORIZATION}\"}","name":"Run Keyword If","type":"KEYWORD"},{"arguments":"${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfInstanceId}/cancel","name":"Delete","type":"KEYWORD"},{"arguments":"Validate Status code","name":"Log","type":"KEYWORD"},{"arguments":"response status, 405","name":"Integer","type":"KEYWORD"}],"name":"DELETE Cancel operation task - Method not implemented","tags":[],"timeout":""}]},"title":"CancelOperationTask"};
</script>
<title></title>
</head>
<body>
<divid="javascript-disabled">
<h1>Opening test suite documentation failed</h1>
<ul>
<li>Verify that you have <b>JavaScript enabled</b> in your browser.</li>
<li>Make sure you are using a <b>modern enough browser</b>. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended.</li>
<li>Check are there messages in your browser's <b>JavaScript error log</b>. Please report the problem if you suspect you have encountered a bug.</li>