Commit 1f3df4c0 authored by moscatelli's avatar moscatelli
Browse files

SOL003_78: responses description fixed

parent ce879fd0
Pipeline #1172 passed with stage
in 0 seconds
...@@ -1971,9 +1971,9 @@ paths: ...@@ -1971,9 +1971,9 @@ paths:
description: > description: >
200 OK 200 OK
The state of the VNF lifecycle management operation occurrence was Shall be returned when the state of the VNF lifecycle management operation occurrence
changed successfully. The response shall include a representation has been changed successfully.
of the VNF lifecycle operation occurrence resource. The response shall include a representation of the "Individual VNF lifecycle operation occurrence" resource.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -2003,17 +2003,33 @@ paths: ...@@ -2003,17 +2003,33 @@ paths:
403: 403:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/403"
404: 404:
description: >
Shall be returned upon the following error: The API producer did not find a current representation
for the target resource or is not willing to disclose that one exists.
The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013,
including rules for the presence of the response body.
Specifically in case of this task resource, the response code 404 shall also 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.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
405: 405:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
406: 406:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
409: 409:
$ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-state-conflict-not-FAILED_TEMP" description: >
Shall be returned upon the following error: The operation cannot be executed currently, due to a conflict
with the state of the VNF LCM operation occurrence.
Typically, this is due to the fact that the VNF LCM operation occurrence is not in FAILED_TEMP state,
or another error handling action is starting, such as retry or rollback.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/409"
500: 500:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
503: 503:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
504:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
############################################################################### ###############################################################################
# Cancel operation task # # Cancel operation task #
############################################################################### ###############################################################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment