End of STF 678

Closing STF 678, merge work into master branch

Merge request reports

Loading
+18 −20
Changes for config/api/ams-api.yaml: 18 added lines, 20 removed lines.
Original line number Diff line number Diff line
openapi: 3.0.0
info:
  title: 'ETSI GS MEC 021 Application Mobility Service API'
  version: 2.2.1
  version: 3.1.1
  description:
    'ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
    <p>**Note**<br>MEC Sandbox supports a subset of AMS API endpoints; complete details on AMS API can be found on [ETSI Forge](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_mec021v020201p.pdf)'
    <p>**Note**<br>MEC Sandbox supports a subset of AMS API endpoints; complete details on AMS API can be found on [ETSI Forge](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/03.01.01_60/gs_mec021v030101p.pdf)'
  license:
    name: BSD-3-Clause
    url: 'https://forge.etsi.org/legal-matters'
@@ -13,8 +13,8 @@ info:
    email: cti_support@etsi.org
    url: https://forge.etsi.org/rep/mec/gs021-amsi-api
externalDocs:
  description: 'ETSI GS MEC 021 Application Mobility Service API, v2.2.1'
  url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_mec021v020201p.pdf'
  description: 'ETSI GS MEC 021 Application Mobility Service API, v3.1.1'
  url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/03.01.01_60/gs_mec021v030101p.pdf'
servers:
  - url: 'https://localhost/sandboxname/amsi/v1'
tags:
@@ -39,7 +39,7 @@ paths:
          explode: true
          schema:
            type: string
        - name: all_fields
        - name: All_fields
          in: query
          description: Include all complex attributes in the response.
          required: false
@@ -47,7 +47,7 @@ paths:
          explode: true
          schema:
            type: string
        - name: fields
        - name: Fields
          in: query
          description:
            Complex attributes to be included into the response. See clause
@@ -57,7 +57,7 @@ paths:
          explode: true
          schema:
            type: string
        - name: exclude_fields
        - name: Exclude_fields
          in: query
          description:
            Complex attributes to be excluded from the response.See clause
@@ -67,7 +67,7 @@ paths:
          explode: true
          schema:
            type: string
        - name: exclude_default
        - name: Exclude_default
          in: query
          description:
            Indicates to exclude the following complex attributes from the
@@ -147,46 +147,44 @@ paths:
        - name: filter
          in: query
          description:
            Attribute-based filtering parameters according to ETSI GS MEC
            011
            Attribute-based filtering parameters, according to ETSI GS MEC 009, use the format (op,attr,value), 
              e.g., (eq, appMobilityServiceId, value) or (gt, serviceConsumerId/appInstanceId, value)
          required: false
          style: form
          explode: true
          schema:
            type: string
        - name: all_fields
        - name: All_fields
          in: query
          description: Include all complex attributes in the response.
          description: Include all complex attributes in the response.e.g., All_Fields. 
          required: false
          style: form
          explode: true
          schema:
            type: string
        - name: fields
        - name: Fields
          in: query
          description:
            Complex attributes to be included into the response. See clause
            6.18 in ETSI GS MEC 011
            Complex attributes to be included in the response (see Clause 6.18 in ETSI GS MEC 009), e.g., att or att/subatt.
          required: false
          style: form
          explode: true
          schema:
            type: string
        - name: exclude_fields
        - name: Exclude_fields
          in: query
          description:
            Complex attributes to be excluded from the response.See clause
            6.18 in ETSI GS MEC 011
            Complex attributes to be excluded in the response (see Clause 6.18 in ETSI GS MEC 009), e.g., att or att/subatt.
          required: false
          style: form
          explode: true
          schema:
            type: string
        - name: exclude_default
        - name: Exclude_default
          in: query
          description:
            Indicates to exclude the following complex attributes from the
            response  See clause 6.18 in ETSI GS MEC 011 for details.
            response (See clause 6.18 in ETSI GS MEC 009 for details). 
          required: false
          style: form
          explode: true
+2721 −825

File changed.

Preview size limit exceeded, changes collapsed.

+1692 −0

File added.

Preview size limit exceeded, changes collapsed.

+3 −153
Changes for config/api/dai-api.yaml: 3 added lines, 153 removed lines.
Original line number Diff line number Diff line
@@ -7,10 +7,10 @@ info:
  license:
    name: BSD-3-Clause
    url: https://forge.etsi.org/legal-matters
  version: 2.2.1
  version: 3.1.1
externalDocs:
  description: ETSI GS MEC016 V2.2.1 Device application interface
  url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/02.02.01_60/gs_MEC016v020201p.pdf
  description: ETSI GS MEC016 V3.1.1 Device application interface
  url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/03.01.01_60/gs_mec016v030101p.pdf
servers:
- url: https://localhost/sandboxname/dev_app/v1
tags:
@@ -353,88 +353,6 @@ paths:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
  /subscriptions/{subscriptionId}:
    post:
      tags:
      - app_term
      summary: MEC011 Application Termination notification for self termination
      description: Terminates itself.
      operationId: mec011AppTerminationPOST
      parameters:
      - name: subscriptionId
        in: path
        description: "Refers to created subscription, where the VIS API allocates\
          \ a unique resource name for this subscription"
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        description: Termination notification details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppTerminationNotification'
            example:
              notificationType: AppTerminationNotification
              operationAction: TERMINATING
              maxGracefulTimeout: 10
              _links:
                subscription:
                  href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123
                confirmTermination:
                  href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination
        required: true
      responses:
        "204":
          description: No Content
      x-swagger-router-controller: notifications
    delete:
      tags:
      - unsupported
      summary: Used to cancel the existing subscription.
      description: Used to cancel the existing subscription.
      operationId: individualSubscriptionDELETE
      parameters:
      - name: subscriptionId
        in: path
        description: "Refers to created subscription, where the VIS API allocates\
          \ a unique resource name for this subscription"
        required: true
        style: simple
        explode: false
        schema:
          type: string
      responses:
        "204":
          description: No Content
        "401":
          description: "Unauthorized :  used when the client did not submit credentials."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        "403":
          description: "Forbidden :  operation is not allowed given the current status\
            \ of the resource."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        "404":
          description: "Not Found :  used when a client provided a URI that cannot\
            \ be mapped to a valid resource URI."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        "429":
          description: "Too Many Requests : used when a rate limiter has triggered."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    AddressChangeNotification:
@@ -943,70 +861,6 @@ components:
          format: uri
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: URI
    Links:
      required:
      - self
      type: object
      properties:
        self:
          $ref: '#/components/schemas/LinkType'
      description: Hyperlink related to the resource. This shall be only included
        in the HTTP responses and in HTTP PUT requests.
      x-etsi-mec-cardinality: 0..1
      x-etsi-mec-origin-type: Structure (inlined)
    LinkType:
      required:
      - href
      type: object
      properties:
        href:
          type: string
          description: URI referring to a resource
          format: uri
          x-etsi-mec-cardinality: "1"
          x-etsi-mec-origin-type: Uri
      example:
        href: http://example.com/aeiou
      x-etsi-ref: 6.5.13
    AppTerminationNotification:
      required:
      - _links
      - maxGracefulTimeout
      - notificationType
      - operationAction
      type: object
      properties:
        notificationType:
          type: string
          description: Shall be set to AppTerminationNotification.
        operationAction:
          $ref: '#/components/schemas/OperationActionType'
        maxGracefulTimeout:
          type: integer
          description: Maximum timeout value in seconds for graceful termination or
            graceful stop of an application instance.
          format: uint32
        _links:
          $ref: '#/components/schemas/AppTerminationNotification__links'
      description: This type represents the information that the MEC platform notifies
        the subscribed application instance about  the corresponding application instance
        termination/stop.
    OperationActionType:
      type: string
      description: Operation that is being performed on the MEC application instance.
      enum:
      - STOPPING
      - TERMINATING
    AppTerminationNotification__links:
      required:
      - subscription
      type: object
      properties:
        subscription:
          $ref: '#/components/schemas/LinkType'
        confirmTermination:
          $ref: '#/components/schemas/LinkType'
      description: Object containing hyperlinks related to the resource.
    AppContext_appInfo_userAppInstanceInfo:
      type: object
      properties:
@@ -1115,7 +969,6 @@ components:
            $ref: '#/components/schemas/AppContext_appInfo_userAppInstanceInfo'
          x-etsi-mec-cardinality: 1..N
          x-etsi-mec-origin-type: array (Structure inlined)
      description: ""
      example:
        appSoftVersion: appSoftVersion
        appDVersion: appDVersion
@@ -1179,7 +1032,6 @@ components:
          format: uri
          x-etsi-mec-cardinality: "1"
          x-etsi-mec-origin-type: URI
      example: null
    ApplicationList_appInfo_appCharcs:
      type: object
      properties:
@@ -1292,7 +1144,6 @@ components:
            value shall not exceed 32 characters.
          x-etsi-mec-cardinality: "1"
          x-etsi-mec-origin-type: String
      description: ""
      example:
        appCharcs:
          serviceCont: 5
@@ -1492,7 +1343,6 @@ components:
            $ref: '#/components/schemas/ApplicationLocationAvailability_appInfo_availableLocations'
          x-etsi-mec-cardinality: 0..N
          x-etsi-mec-origin-type: array (Structure (inline))
      description: ""
      example:
        appSoftVersion: appSoftVersion
        appDVersion: appDVersion
+1517 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading
Loading