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

fix issue #14 and add missing PATCH request bodies for SOL002/SOL003 in v3.5.1-maintenance

parent 4b6f56b9
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -354,7 +354,7 @@ components:
    IndividualAlarmRequest:
      description: The parameter for the alarm modification
      content:
        application/json:
        application/merge-patch+json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications
      required: true
+1 −1
Original line number Diff line number Diff line
@@ -1196,7 +1196,7 @@ components:
    VnfInstanceModificationRequest:
      description: Input parameters for VNF info modification
      content:
        application/json:
        application/merge-patch+json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfInfoModificationRequest
      required: true
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ components:
    IndividualAlarmRequest:
      description: The VNF creation parameters
      content:
        application/json:
        application/merge-patch+json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications
      required: true
+2 −2
Original line number Diff line number Diff line
@@ -1308,7 +1308,7 @@ components:
      description: |
        Parameters for the VNF modification, as defined in clause 5.5.2.12.
      content:
        application/json:
        application/merge-patch+json:
          schema:
            $ref: "definitions/SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfInfoModificationRequest"
      required: true
@@ -1427,7 +1427,7 @@ components:
      description: |
        Parameters for the VNF snapshot information modification, as defined in clause 5.5.2.24.
      content:
        application/json:
        application/merge-patch+json:
          schema:
            $ref: "definitions/SOL003VNFLifecycleManagement_def.yaml#/definitions/VnfSnapshotInfoModificationRequest"
      required: true
+30 −2
Original line number Diff line number Diff line
@@ -148,7 +148,12 @@ paths:

    patch:
      description: |
        This method allows to modify an "Individual PM job" resource. See clause 6.4.3.3.4.
        This method allows to modify an "Individual PM job" resource.
        This method shall follow the provisions specified in the tables
        6.4.3.3.4-1 and 6.4.3.3.4-2 for URI query parameters, request
        and response data structures, and response codes.
      requestBody:
        $ref: '#/components/requestBodies/PmJobModificationsRequest'
      responses:
        200:
          $ref: '#/components/responses/IndividualPmJob.Patch.200'
@@ -351,7 +356,12 @@ paths:

    patch:
      description: |
        This method allows to modify an "Individual threshold" resource. See clause 6.4.6.3.4.
        This method allows to modify an "Individual threshold" resource.
        This method shall follow the provisions specified in the tables
        6.4.6.3.4-1 and 6.4.6.3.4-2 for URI query parameters, request
        and response data structures, and response codes.
      requestBody:
        $ref: '#/components/requestBodies/ThresholdModificationsRequest'
      responses:
        200:
          $ref: '#/components/responses/IndividualThreshold.Patch.200'
@@ -465,6 +475,24 @@ components:
            $ref: "../../definitions/SOL002SOL003VNFPerformanceManagement_def.yaml#/definitions/CreateThresholdRequest"
      required: true
    
    PmJobModificationsRequest:
      description: |
        Parameters for the VNF modification, as defined in clause 6.5.2.12.
      content:
        application/merge-patch+json:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFPerformanceManagement_def.yaml#/definitions/PmJobModifications"
      required: true

    ThresholdModificationsRequest:
      description: |
        Parameters for the VNF modification, as defined in clause 6.5.2.11.
      content:
        application/merge-patch+json:
          schema:
            $ref: "../../definitions/SOL002SOL003VNFPerformanceManagement_def.yaml#/definitions/ThresholdModifications"
      required: true

  responses:
    PmJobs.Post.201:
      description: |