Commit dfaa0be7 authored by Kevin Di Lallo's avatar Kevin Di Lallo Committed by GitHub Enterprise
Browse files

Merge pull request #27 from wbu-tep/sp_dev_ams_notifications

Application Mobility Service updates
parents 826b024e db01a215
Loading
Loading
Loading
Loading
+62 −17
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ servers:
  - url: 'https://localhost/sandboxname/amsi/v1'
tags:
  - name: amsi
  - name: unsupported
paths:
  /app_mobility_services:
    get:
@@ -91,6 +92,15 @@ paths:
          application/json:
            schema:
              $ref: '#/components/schemas/RegistrationInfo'    
            example:
              deviceInformation:
                - appMobilityServiceLevel: 1
                  associateId:
                    type: 1
                    value: '10.100.0.3'
                  contextTransferState: 0
              serviceConsumerId:
                appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8'
      responses:
        '201':
          description: Successful response for application mobility service creation
@@ -155,6 +165,16 @@ paths:
          application/json:
            schema:
              $ref: '#/components/schemas/RegistrationInfo' 
            example:
              appMobilityServiceId: "appMobilityServiceId"
              deviceInformation:
                - appMobilityServiceLevel: 1
                  associateId:
                    type: 1
                    value: '10.100.0.3'
                  contextTransferState: 0
              serviceConsumerId:
                appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8'
       responses:
        '200':
          description: 'Contains a data type describing the updated application mobility service.'
@@ -268,6 +288,16 @@ paths:
              oneOf:
               - $ref: '#/components/schemas/MobilityProcedureSubscription'
               - $ref: '#/components/schemas/AdjacentAppInfoSubscription'
            example:
              subscriptionType: MobilityProcedureSubscription
              callbackReference: 'http://my.callback.com/amsi-mobility-procedure/some-id'
              filterCriteria:
                appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8'
                associateId:
                - type: 1
                  value: '10.100.0.3'
                - type: 1
                  value: '10.100.0.1'
      responses:
        '201':
          description: 'Created subscription is described using the appropriate data type'
@@ -363,6 +393,19 @@ paths:
              oneOf:
               - $ref: '#/components/schemas/MobilityProcedureSubscription'
               - $ref: '#/components/schemas/AdjacentAppInfoSubscription'    
            example:
              subscriptionType: MobilityProcedureSubscription
              callbackReference: 'http://my.callback.com/amsi-mobility-procedure/some-id'
              _links:
                self:
                  href: 'http://meAppServer.example.com/amsi/v1/subscriptions/sub123'
              filterCriteria:
                appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8'
                associateId:
                - type: 1
                  value: '10.100.0.3'
                - type: 1
                  value: '10.100.0.1'
      responses:
        '200':
          description: ' a response body containing data type describing the updated subscription'
@@ -409,7 +452,7 @@ paths:
  /queries/adjacent_app_instances:
    get:
      tags:
      - 'amsi'
      - 'unsupported'
      summary: 'Retrieve information about this subscription.'
      description: 'Retrieve information about this subscription.'
      operationId: adj_app_instGET
@@ -887,6 +930,8 @@ components:
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
        adjacentAppInfo:
          items:
            type: object
            description: Identifiers to associate the information of target application instance.
            properties:
              appInstanceId:
@@ -894,16 +939,16 @@ components:
                type: string
                x-etsi-mec-cardinality: 0..1
                x-etsi-mec-origin-type: String
             
              commInterface:
                # description: If present, it specifies the communication interface of the application instance.
                # x-etsi-mec-cardinality: 0..1
                # x-etsi-mec-origin-type: CommunicationInterface
                $ref: '#/components/schemas/CommunicationInterface'
          type: object
          x-etsi-mec-cardinality: 0..1
            x-etsi-mec-cardinality: 0..N
            required:
              - appInstanceId
          minItems: 0
          type: array
        timeStamp:
          # description: Time stamp.
          # x-etsi-mec-cardinality: 0..1
+1 −1
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ deployment:
                                            name: mec021-1
                                            type: EDGE-APP
                                            image: 'meep-docker-registry:30001/meep-ams'
                                            environment: 'MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false'
                                            environment: 'MEEP_MEP_COVERAGE=mep1:zone01:zone02:zone03/mep2:zone04,MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false'
                                            netChar:
                                                throughputDl: 1000
                                                throughputUl: 1000