Commit a9e90dfd authored by moscatelli's avatar moscatelli
Browse files

SOL003_26/SOL003_27: Responses' codes updated according to SOL003 and SOL013

parent 94e8bea9
Loading
Loading
Loading
Loading
Loading
+17 −20
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ info:
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt

externalDocs:
  description: ETSI GS NFV-SOL 003 V2.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.05.01_60/gs_nfv-sol003v020501p.pdf
  description: ETSI GS NFV-SOL 003 V2.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.06.01_60/gs_NFV-SOL003v020601p.pdf

basePath: "/vnflcm/v1"

@@ -51,11 +51,8 @@ paths:
  '/vnf_instances':
    #SOL003 location: 5.4.2
    post:
      #TODO: Add headers defined in 4.3.4.2
      description: >
        Create VNF Identifier


        Create VNF Identifier.
        The POST method creates a new VNF instance resource.
      parameters:
        - name: createVnfRequest
@@ -93,7 +90,10 @@ paths:
          type: string
      responses:
        201:
          description: A VNF Instance identifier was created successfully
          description: >
          201 CREATED

          A VNF Instance identifier was created successfully.
          headers:
            Content-Type:
              description: The MIME type of the body of the response.
@@ -101,7 +101,7 @@ paths:
              maximum: 1
              minimum: 1
            Location:
              description: The resource URI of the created VNF instance
              description: The resource URI of the created VNF instance.
              type: string
              format: url
            WWW-Authenticate:
@@ -129,24 +129,20 @@ paths:
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-inconsistent-state"
        416:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
        422:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/422"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
    get:
      description: >
        Query VNF


        Query VNF.
        The GET method queries information about multiple VNF instances.
      parameters:
        - name: Accept
@@ -227,7 +223,7 @@ paths:
      responses:
        200:
          description: >
            OK
            200 OK

            Information about zero or more VNF instances was queried
            successfully. The response body shall contain in an array
@@ -276,17 +272,18 @@ paths:
        404:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
        405:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/404"
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/405"
        406:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/406"
        409:
          $ref: "responses/VNFLifecycleManagement_resp.yaml#/responses/409-inconsistent-state"
        416:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
        500:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/500"
        503:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/503"
        504:
          $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/504"
          
  ###############################################################################
  # Individual VNF instance                                                     #
  ###############################################################################
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ info:
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt

externalDocs:
  description: ETSI GS NFV-SOL 003 V2.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.05.01_60/gs_nfv-sol003v020501p.pdf
  description: ETSI GS NFV-SOL 003 V2.6.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.06.01_60/gs_NFV-SOL003v020601p.pdf

basePath: "/callback/v1"