Commit 03dbc876 authored by shumim's avatar shumim
Browse files

Fix the issued based on offline comments from E/// round2

parent b9209c31
Loading
Loading
Loading
Loading
Loading
+6 −68
Original line number Diff line number Diff line
@@ -45,49 +45,14 @@ components:
        decisionConfidenceScore:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Float'         

    TrainingProcessMonitor:
    ProcessMonitor:
      description: >-
        This data type is the "ProcessMonitor" data type defined in “genericNrm.yaml” with specialisations for usage in the "MLTrainingProcess".
        This data type is the "ProcessMonitor" data type defined in “genericNrm.yaml” 
        with specialisations for usage in TS 28.105.
      type: object
      properties:
        mLTrainingProcessId:
          type: string
        status:
          type: string
          enum:
            - RUNNING
            - CANCELLING
            - NOT_STARTED
            - SUSPENDED
            - FINISHED
        progressPercentage:
          type: integer
          minimum: 0
          maximum: 100
        progressStateInfo:
          type: string
          enum:
            - COLLECTING_DATA
            - PREPARING_TRAINING_DATA
            - TRAINING
        resultStateInfo:
          type: string

    MlEntityLoadingProcessMonitor:
      description: >-
        This data type is the "ProcessMonitor" data type defined in “genericNrm.yaml” with specialisations for usage in the "MLEntityLoadingProcess".
      type: object
      properties:
        MLEntityLoadingProcessId:
          type: string
        status:
          type: string
          enum:
            - RUNNING
            - CANCELLING
            - SUSPENDED
            - FINISHED
            - CANCELLED
        progressPercentage:
          type: integer
          minimum: 0
@@ -314,7 +279,7 @@ components:
                        - INFERENCE FUNCTION_UPGRADED
                        - INFERENCE_CONTEXT_CHANGED
                    progressStatus:
                      $ref: '#/components/schemas/TrainingProcessMonitor'
                      $ref: '#/components/schemas/ProcessMonitor'
                    cancelProcess:
                      type: boolean
                    suspendProcess:
@@ -430,32 +395,6 @@ components:
                    testingRequestRef:
                      $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'

    MLInferenceFunction-Single:
      allOf:
        - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              allOf:
                - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/ManagedFunction-Attr'
                - type: object
                  properties:
                    mLEntityIdList:
                      type: array
                      items:
                        type: string
        - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/ManagedFunction-ncO'
        - type: object
          properties:
            MLEntityLoadingRequest:
              $ref: '#/components/schemas/MLEntityLoadingRequest-Multiple'
            MLEntityLoadingProcess:
              $ref: '#/components/schemas/MLEntityLoadingProcess-Multiple'
            MLEntityLoadingPolicy:
              $ref: '#/components/schemas/MLEntityLoadingPolicy-Multiple'
            MLEntity:
              $ref: '#/components/schemas/MLEntity-Multiple'

    MLEntityLoadingRequest-Single:
      allOf:
        - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
@@ -500,7 +439,7 @@ components:
                - type: object
                  properties:
                    progressStatus:
                      $ref: '#/components/schemas/MlEntityLoadingProcessMonitor'
                      $ref: '#/components/schemas/ProcessMonitor'
                    cancelProcess:
                      type: boolean
                    suspendProcess:
@@ -636,7 +575,7 @@ components:
              type: object
              properties:
                progressStatus:
                  $ref: 'TS28623_GenericNrm.yaml#/components/schemas/ProcessMonitor'
                  $ref: '#/components/schemas/ProcessMonitor'
                mLEntityRef:
                  $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnList'
                mLUpdateRequestRef:
@@ -824,7 +763,6 @@ components:
        - $ref: '#/components/schemas/MLTestingFunction-Single'
        - $ref: '#/components/schemas/MLTestingRequest-Single'
        - $ref: '#/components/schemas/MLTestingReport-Single'
        - $ref: '#/components/schemas/MLInferenceFunction-Single'
        - $ref: '#/components/schemas/MLEntityLoadingRequest-Single'
        - $ref: '#/components/schemas/MLEntityLoadingProcess-Single'
        - $ref: '#/components/schemas/MLEntityLoadingPolicy-Single'