Commit 9b183663 authored by lengyelb's avatar lengyelb Committed by ruiyue
Browse files

Edit TS28572_PlanManagement.yaml correction according to Kieran TS28572_PlanManagement601pm.yaml

parent cc162191
Loading
Loading
Loading
Loading
Loading
+29 −38
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ servers:
        description: Version number of the OpenAPI definition
        default: v1

# Note the examples are demonstrative only and may not all contain all required attributes for the given MO types.
paths:
  /plan-descriptors:
    post:
@@ -48,7 +49,7 @@ paths:
                      - id: '4'
                        attributes:
                          userLabel: "Dublin-1-Cell-4"
                          administrativeState: "UNLOCKED"
                          ssbDuration: 2
      responses:
        '201':
          description: Plan descriptor created successfully 
@@ -62,7 +63,7 @@ paths:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanConfigurationDescriptor' 
                $ref: '#/components/schemas/PlanConfigurationDescriptorResponse' 
        '400':
          description: Invalid request parameters or malformed input.
          content:
@@ -165,7 +166,7 @@ paths:
                    "changeId": "Dublin-Center_DC-01_555777999",
                    "target": "/SubNetwork=Dublin-Center/ManagedElement=DC-001/NRCellDU=1",
                    "value": {
                      "administrativeState": "LOCKED"
                          "ssbDuration": 2
                    }
                  }
                ]
@@ -1613,7 +1614,7 @@ components:
                "changeId": "Dublin-Center_DC-01_555777999",
                "target": "/SubNetwork=Dublin-Center/ManagedElement=DC-001/NRCellDU=1",
                "value": {
                  "administrativeState": "LOCKED"
                    "ssbDuration": 2
                }
              }
            ]
@@ -1730,7 +1731,7 @@ components:
                "changeId": "Dublin-Center_DC-01_555777999",
                "target": "/SubNetwork=Dublin-Center/ManagedElement=DC-001/NRCellDU=1",
                "value": {
                  "administrativeState": "LOCKED"
                    "ssbDuration": 2
                }
              }
            ]
@@ -1782,7 +1783,7 @@ components:
                "changeId": "Dublin-Center_DC-01_555777999",
                "target": "/SubNetwork=Dublin-Center/ManagedElement=DC-001/NRCellDU=1",
                "value": {
                  "administrativeState": "LOCKED"
                    "ssbDuration": 2
                }
              }
            ]
@@ -1863,9 +1864,7 @@ components:
          description: Target data node path
          example: "/_3gpp-common-subnetwork:SubNetwork=Irl/3gpp-common-mecontext:MeContext=Dublin-1/_3gpp_nrm_managedelement:ManagedElement=1/_3gpp_nrm_nrcelldu:NRCellDU=4"
        changeId:
          description:  Unique identifier for this change.  Its value must be unique in any list of changes in a PlanDescriptor.
                        MnSProducer may ignore this property even if provided in favour of an auto-positional array index matching this configChange array entry.
                        If not provided the response will default to changeIndex
          description:  The identifier of the operation. It may or may not be provided If provided, it shall be unique within an instance of "configChanges" and it shall be provided for all changes in "configChanges".
          example: "cell-operation-001"
        value:
          type: object
@@ -1896,25 +1895,10 @@ components:
          type: object
          additionalProperties: true # Allows any nested properties within 'value'
          description: Value to apply (for create/merge/merge-create operations)
      oneOf:
          - required: [changeId]
            properties:
        changeId:
          type: string
                description: |
                  Unique identifier for this change as originally provided in the request.
                  The MnS Producer may ignore it and use positional index instead.
                  If not present in the request, the response will use `changeIndex`.
          description: The identifier of the operation. It may or may not be provided. If provided, it shall be unique within an instance of "configChanges" and it shall be provided for all changes in "configChanges".
          example: "cell-operation-001"

          - required: [changeIndex]
            properties:
              changeIndex:
                type: integer
                description: |
                  Zero-based index of this change in the original `configChanges` array.
                  Used when no `changeId` was provided or when the producer prefers positional addressing.
                example: 0
      additionalProperties: true # Allows for additional properties to be provided
      required:
        - modifyOperator
@@ -2247,14 +2231,6 @@ components:
          type: string
          description : If planned configuration groups are activated, this information elements specifies the planned configuration descriptor identifier, for which error details are reported. If a planned configuration is activated or validated, this information element is absent.
          example: "descriptor-001"
        changeId:
          type: string
          description: The identification of the operation. It is the identifier ("changeId") provided by the MnS consumer. Exactly one of "changeId" or "changeIndex" shall be provided.
          example: "changeId-001"
        changeIndex:
          type: integer
          description: The identification of the operation. It is the positional index of the operation in the operation set ("changeIndex"). The positional index of the leftmost element is "0". Exactly one of "changeId" or "changeIndex" shall be provided.
          example: 0
        state:
          type: string
          enum: [NOT_STARTED, PROCESSING, SUCCEEDED, FAILED]
@@ -2271,6 +2247,21 @@ components:
      required:
        - target
        - state
      oneOf:
        - required:
            - changeId
          properties:
            changeId:
              type: string
              description: The identifier of the operation. It may or may not be provided If provided, it shall be unique within an instance of "configChanges" and it shall be provided for all changes in "configChanges".
              example: "change-cell-001-1"
        - required:
            - changeIndex
          properties:
            changeIndex:
              type: integer
              description: The identification of the operation. It is the positional index of the operation in the operation set ("changeIndex"). The positional index of the leftmost element is "0". Exactly one of "changeId" or "changeIndex" shall be provided.
              example: 0
      example:
        changeId: changeId-002-update-config
        target: /SubNetwork=1/MeContext=2/ManagedElement=3
@@ -2334,14 +2325,14 @@ components:
          properties:
            changeId:
              type: string
              description: Provided if the changeId was included in the original request.
              description: The identifier of the operation. It may or may not be provided If provided, it shall be unique within an instance of "configChanges" and it shall be provided for all changes in "configChanges".
              example: "change-cell-001-1"
        - required:
            - changeIndex
          properties:
            changeIndex:
              type: integer
              description: Location index of the change. Reported only if changeId is NOT available.
              description: The identification of the operation. It is the positional index of the operation in the operation set ("changeIndex"). The positional index of the leftmost element is "0". Exactly one of "changeId" or "changeIndex" shall be provided.
              example: 0

    ConfigChangesContentType: