Commit cf798dfe authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL005_6 and SOL005_7: Version added in response and request headers in VNF Package mgmt interface

parent 2e2b9f9f
Loading
Loading
Loading
Loading
+186 −0
Original line number Original line Diff line number Diff line
@@ -106,6 +106,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -126,6 +132,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
          schema:
          schema:
            type: array
            type: array
            items:
            items:
@@ -177,6 +189,12 @@ paths:
          in: header
          in: header
          required: true
          required: true
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
        - name: "body"
        - name: "body"
          in: "body"
          in: "body"
          required: true
          required: true
@@ -223,6 +241,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
  ###############################################################################
  ###############################################################################
  # Individual VNF Package                                                      #
  # Individual VNF Package                                                      #
  ###############################################################################
  ###############################################################################
@@ -254,6 +278,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -281,6 +311,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -311,6 +347,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        204:
        204:
          description: >
          description: >
@@ -373,6 +415,12 @@ paths:
          in: header
          in: header
          required: true
          required: true
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -396,6 +444,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
          schema:
          schema:
            properties:
            properties:
              VnfPkgInfoModifications:
              VnfPkgInfoModifications:
@@ -470,6 +524,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -497,6 +557,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -569,6 +635,12 @@ paths:


            If the NFVO does not support range requests, it should return the
            If the NFVO does not support range requests, it should return the
            whole file with a 200 OK response instead.
            whole file with a 200 OK response instead.
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -594,6 +666,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        206:
        206:
          $ref: "responses/SOL005_resp.yaml#/responses/206"
          $ref: "responses/SOL005_resp.yaml#/responses/206"
        409:
        409:
@@ -652,6 +730,12 @@ paths:
            The "Content-Type" HTTP header shall be set according to the
            The "Content-Type" HTTP header shall be set according to the
            type of the file, i.e. to "application/zip" for a VNF Package as
            type of the file, i.e. to "application/zip" for a VNF Package as
            defined in ETSI GS NFV-SOL 004 [5].
            defined in ETSI GS NFV-SOL 004 [5].
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        202:
        202:
          description: >
          description: >
@@ -736,6 +820,12 @@ paths:
            description: >
            description: >
              The payload body contains the address information based on
              The payload body contains the address information based on
              which the NFVO can obtain the content of the VNF package.
              which the NFVO can obtain the content of the VNF package.
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string


      responses:
      responses:
        202:
        202:
@@ -822,6 +912,12 @@ paths:
            whole file with a 200 OK response instead.
            whole file with a 200 OK response instead.
          in: header
          in: header
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -847,6 +943,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1


        206:
        206:
          description: >
          description: >
@@ -878,6 +980,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -938,6 +1046,12 @@ paths:
          in: header
          in: header
          required: true
          required: true
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
        - name: "body"
        - name: "body"
          in: "body"
          in: "body"
          required: true
          required: true
@@ -975,6 +1089,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
          schema:
          schema:
            type: array
            type: array
            items:
            items:
@@ -1041,6 +1161,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -1061,6 +1187,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
          schema:
          schema:
            type: array
            type: array
            items:
            items:
@@ -1122,6 +1254,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        200:
        200:
          description: >
          description: >
@@ -1142,6 +1280,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
          schema:
          schema:
            properties:
            properties:
              PkgmSubscription:
              PkgmSubscription:
@@ -1176,6 +1320,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        204:
        204:
          description: >
          description: >
@@ -1191,6 +1341,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -1255,6 +1411,12 @@ paths:
          in: header
          in: header
          required: true
          required: true
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        204:
        204:
          description: >
          description: >
@@ -1270,6 +1432,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -1321,6 +1489,12 @@ paths:
          in: header
          in: header
          required: true
          required: true
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        204:
        204:
          description: >
          description: >
@@ -1336,6 +1510,12 @@ paths:
                has provided an invalid authorization token.
                has provided an invalid authorization token.
              maximum: 1
              maximum: 1
              minimum: 0
              minimum: 0
            Version:
              description: >
                Version of the API used in the response.
              type: string
              maximum: 1
              minimum: 1
        400:
        400:
          $ref: "responses/SOL005_resp.yaml#/responses/400"
          $ref: "responses/SOL005_resp.yaml#/responses/400"
        401:
        401:
@@ -1369,6 +1549,12 @@ paths:
          in: header
          in: header
          required: false
          required: false
          type: string
          type: string
        - name: Version
          description: >
            Version of the API requested to use when responding to this request.
          in: header
          required: true
          type: string
      responses:
      responses:
        204:
        204:
          description: >
          description: >