Commit 78337781 authored by gautamd's avatar gautamd Committed by ruiyue
Browse files

Edit CCLNrm

parent b4c1b4cf
Loading
Loading
Loading
Loading
+107 −13
Original line number Diff line number Diff line
@@ -56,11 +56,7 @@ components:
             - ENERGYOPTIMIZATION
             - SLICEASSURANCE
          cCLActionTrigger:
            type: array
            items:
              $ref: '#/components/schemas/CCLTrigger'
            description: >-
              This defines the criteria/conditions for CCL           
            type: string
          desiredBehavior:
            type: string
            enum:
@@ -97,9 +93,7 @@ components:
      - type: object
        properties:
          coordinationCapability:
            type: array
            items:
              $ref: '#/components/schemas/CoordinationCapability'
            type: string
            description: >-
              It indicates a capability of a coordination entity to coordinate CCL conflicts.
          coordinatedCCLsScopes:
@@ -119,19 +113,119 @@ components:
          FaultManagementIsolateObjectRequirement:
            type: boolean
          FaultManagementTimeWindow:
            $ref: '#/components/schemas/TimeWindow'
            $ref: 'TS28623_GenericNrm.yaml#/components/schemas/TimeWindow'
          clearUserId:
            type: string           

#-------Definition of the generic dataType --------------#    
    CCLComponentsInfo:
      type: object
      properties:
        cCLComponentId:
           $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
        cCLSteps:
          type: string
          enum:
            - DATA_COLLECTION
            - ANALYSIS
            - DECISION
            - EXECUTION
    CCLComponent:
      type: object
      properties:
        cCLComponentIdentification:
          type: string
        cCLComponentRole:
          type: string
          enum:
            - MONITOR
            - ANALYSIS
            - DECISION
            - EXECUTION
            - OTHER 
    FaultManagementCCLReport:
      type: object
      properties:
        GeneratedAlarmResultList:
          type: array
          items:
            type: string
        FaultManagementCCLReportTime:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'
          
    GeneratedAlarmResult:
      type: object
      properties:
        alarmId:
          type: string
        alarmClearedStatus:
          type: boolean
        identifiedRootCauseInformation:
          type: string
        enhancedCorrelationInformation:
          type: array
          items:
            type: string
            
    CCLScopeCoordinationCapability:
      type: object
      properties:
        cCLCoordinationCapabilityID:
          type: string
          
    CCLActionConflictsHandling:
      type: object
      properties:
        conflictInformation:
          $ref: '#/components/schemas/ConflictInformation'
        conflictResolution:
          $ref: '#/components/schemas/ConflictResolution'
        targetCCL:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
          
    ConflictInformation:
      type: object
      properties:
        conflictingCCLId:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
        conflictingActions:
          type: string
          
    ConflictResolution:
      type: object
      properties:
        conflictingCCLId:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
        cCLGoalBreachPercentage:
          type: integer
  #-------Definition of the generic dataType --------------#


   #------Definition of JSON arrays for name-contained IOCs ---------------#
    ClosedControlLoop-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ClosedControlLoop-Single'    

    CCLScope-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/CCLScope-Single'
   
    CCLReport-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/CCLReport-Single'

    ConflictManagementAndCoordinationEntity-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ConflictManagementAndCoordinationEntity-Single'      

      
    resources-CCLNrm:
      oneOf:
       - $ref: '#/components/schemas/ClosedControlLoop-Single'       
       - $ref: '#/components/schemas/CCLScope-Single'
       - $ref: '#/components/schemas/CCLReport-Single'
       - $ref: '#/components/schemas/ConflictManagementAndCoordinationEntity-Single'       
 No newline at end of file