Commit c4982bb6 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix minor issues in AppLcm API

parent 6ed1af64
Loading
Loading
Loading
Loading
+25 −22
Original line number Diff line number Diff line
@@ -113,7 +113,6 @@ paths:
                items:
                  $ref: '#/components/schemas/AppInstanceInfo'
                description: ''
                contentMediaType: application/json
        '400':
          $ref: '#/components/responses/400'
        '401':
@@ -214,7 +213,6 @@ paths:
                - $ref: '#/components/schemas/AppLcmOpOccSubscriptionRequest'
                - $ref: '#/components/schemas/AppInstIdCreationSubscriptionRequest'
                - $ref: '#/components/schemas/AppInstIdDeletionSubscriptionRequest'
              contentMediaType: application/json
        required: true
      responses:
        '201':
@@ -228,7 +226,6 @@ paths:
                  - $ref: '#/components/schemas/AppLcmOpOccSubscriptionInfo'
                  - $ref: '#/components/schemas/AppInstIdCreationSubscriptionInfo'
                  - $ref: '#/components/schemas/AppInstIdDeletionSubscriptionInfo'
                contentMediaType: application/json
        '400':
          $ref: '#/components/responses/400'
        '401':
@@ -326,7 +323,6 @@ paths:
                  - $ref: '#/components/schemas/AppLcmOpOccSubscriptionInfo'
                  - $ref: '#/components/schemas/AppInstIdCreationSubscriptionInfo'
                  - $ref: '#/components/schemas/AppInstIdDeletionSubscriptionInfo'
                contentMediaType: application/json
        '400':
          $ref: '#/components/responses/400'
        '401':
@@ -391,7 +387,6 @@ paths:
                - $ref: '#/components/schemas/AppLcmOpOccNotification'
                - $ref: '#/components/schemas/AppInstanceIdentifierCreationNotification'
                - $ref: '#/components/schemas/AppInstanceIdentifierDeletionNotification'
              contentMediaType: application/json
        required: true
      responses:
        '204':
@@ -592,7 +587,6 @@ paths:
                items:
                  $ref: '#/components/schemas/AppLcmOpOcc'
                description: ''
                contentMediaType: application/json
        '400':
          $ref: '#/components/responses/400'
        '401':
@@ -890,7 +884,6 @@ components:
              description: Type of the subscription.
              $ref: '#/components/schemas/AppInstanceSubscriptionType'
              

    AppInstanceSubscriptionType:
      type: string
      description: String representing the type of a subscription.
@@ -1156,10 +1149,12 @@ components:
        operationStates:
          type: array
          description: Type of the LCM operation state represented by this application instance LCM operation occurrence.
          items:
            $ref: '#/components/schemas/OperationStates'
        operationTypes:
          type: array
          description: Type of the LCM operation represented by this application instance LCM operation occurrence.
          items:
            $ref: '#/components/schemas/OperationTypes'

    NotificationTypes:
@@ -1586,6 +1581,7 @@ components:
        mcioInfo:
          type: array
          description: Information on the MCIO(s) representing application instance realized by one or a set of OS containers. See note 7.
          items:
            $ref: '#/components/schemas/McioInfo'
      description: "'Information specific to an instantiated application. This attribute shall be present if the instantiationState attribute value is INSTANTIATED.'"

@@ -2244,8 +2240,11 @@ components:
          items:
            $ref: '#/components/schemas/RequestedAdditionalCapabilityData'
        computeRequirements:
          type: array
          description: Specifies compute requirements.
          type: array
          items:
            type: string
            format: not-specified
        virtualMemory:
          type: object
          description:  The virtual memory of the virtualised compute. See clause 7.1.9.3.2. 
@@ -2362,11 +2361,15 @@ components:
          format: uuid
          description: Identifies this set of logical node requirements
        logicalNodeRequirementDetail:
          type: array
          description:  The logical node-level compute, memory and I/O requirements. An array of key-value pairs that articulate the deployment requirements. 
                        This could include the number of CPU cores on this logical node, a memory configuration specific to a logical node (e.g. such as available in the Linux kernel 
          description: >
            The logical node-level compute, memory and I/O requirements. An array of key-value pairs that
            articulate the deployment requirements. This could include the number of CPU cores on this logical
            node, a memory configuration specific to a logical node (e.g. such as available in the Linux kernel 
            via the libnuma library) or a requirement related to the association of an I/O device with the logical node.
              
          type: array
          items:
            type: string
            format: not-specified
    RequestedAdditionalCapabilityData:
      type: object
      required:
@@ -2495,7 +2498,7 @@ components:
        caType:
          type: integer
          description: "'Describe the content type of caValue. The value of caType shall comply with section 3.4 of IETF RFC 4776.'"
          contentEncoding: int32
          format: int32
        caValue:
          type: string
          description: "'Content of civic address element corresponding to the caType. The format caValue shall comply with section 3.4 of IETF RFC 4776.'"
@@ -2527,7 +2530,7 @@ components:
        gracefulStopTimeout:
          type: integer
          description: The time interval (in seconds) to wait for the application instance to be taken out of service during graceful stop, before stopping the application. See note 1 and note 2.
          contentEncoding: int32
          format: int32
        stopType:
          description: The stop type. See notes 1 and 3.
          $ref: '#/components/schemas/StopType'
@@ -2572,7 +2575,7 @@ components:
        status:
          type: integer
          description: The HTTP status code for this occurrence of the problem
          contentEncoding: int32
          format: int32
        title:
          type: string
          description: A short, human-readable summary of the problem type
@@ -2590,7 +2593,7 @@ components:
          type: integer
          description: "This attribute is only applicable in case of graceful termination. It defines the time to wait for the application instance to be taken out of service before shutting 
                        down the application and releasing the resources. \nThe unit is seconds.\nIf not given and the \"terminationType\" attribute is set to \"GRACEFUL\", it is expected to wait for the successful taking out of service of the application, no matter how long it takes, before shutting down the application and releasing the resources."
          contentEncoding: int32
          format: int32
        terminationType:
          $ref: '#/components/schemas/TerminationType'
      description: |
@@ -2606,11 +2609,11 @@ components:
        nanoSeconds:
          type: integer
          description: The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.
          contentEncoding: int32
          format: int32
        seconds:
          type: integer
          description: The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.
          contentEncoding: int32
          format: int32

    TerminationType:
      title: TerminationType