Commit 10c7b548 authored by moscatelli's avatar moscatelli
Browse files

SOL003: VNF Package management datatypes consolidation

parent b1b0c3e3
Loading
Loading
Loading
Loading
Loading
+4 −0
Changes for src/SOL003/VNFPackageManagement/VNFPackageManagement.yaml: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1098,6 +1098,8 @@ paths:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          description: >
            409 CONFLICT

            Shall be returned upon the following error: The operation cannot
            be executed currently, due to a conflict with the state of the resource.
            Typically, this is due to the fact that "onboardingState" of the
@@ -1268,6 +1270,8 @@ paths:
            $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
          409:
            description: >
              409 CONFLICT

              Shall be returned upon the following error: The operation cannot
              be executed currently, due to a conflict with the state of the resource.
              Typically, this is due to the fact that "onboardingState" of the
+223 −251

File changed.

Preview size limit exceeded, changes collapsed.

+0 −76
Changes for src/SOL003/VNFPackageManagement/responses/VNFPackageManagement_resp.yaml: 0 added lines, 76 removed lines.
Original line number Diff line number Diff line
responses:
  406:
    description: >
      Not Acceptable

      If the "Accept" header does not contain at least one name of a content
      type for which the NFVO can provide a representation of the VNFD, the
      NFVO shall respond with this response code.
      The "ProblemDetails" structure may be included with the "detail"
      attribute providing more information about the error.
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
        type: string
        maximum: 1
        minimum: 1
      WWW-Authenticate:
        description: >
          Challenge if the corresponding HTTP request has not provided
          authorization, or error details if the corresponding HTTP
          request has provided an invalid authorization token.
        type: string
        maximum: 1
        minimum: 0
    schema:
      $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
  409:
    description: >
      Conflict

      Error: The operation cannot be executed currently, due to a conflict
      with the state of the resource.
      Typically, this is due to the fact that "onboardingState" of the VNF
      package has a value different from "ONBOARDED".
      The response body shall contain a ProblemDetails structure, in which the
      "detail" attribute shall convey more information about the error.
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
        type: string
        maximum: 1
        minimum: 1
      WWW-Authenticate:
        description: >
          Challenge if the corresponding HTTP request has not provided
          authorization, or error details if the corresponding HTTP
          request has provided an invalid authorization token.
        type: string
        maximum: 1
        minimum: 0
    schema:
      $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
  416:
    description: >
      Requested Range Not Satisfiable

      The byte range passed in the "Range" header did not match any available
      byte range in the VNF package file (e.g. "access after end of file").
      The response body may contain a ProblemDetails structure.
    headers:
      Content-Type:
        description: The MIME type of the body of the response.
        type: string
        maximum: 1
        minimum: 1
      WWW-Authenticate:
        description: >
          Challenge if the corresponding HTTP request has not provided
          authorization, or error details if the corresponding HTTP
          request has provided an invalid authorization token.
        type: string
        maximum: 1
        minimum: 0
    schema:
      $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
    
 No newline at end of file
+64 −66

File changed.

Preview size limit exceeded, changes collapsed.

+4 −5

File changed.

Preview size limit exceeded, changes collapsed.