Commit 44cb99c2 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Fixed bug #77

parent ff5d36b3
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -285,7 +285,7 @@ paths:
          schema:
            $ref: "./definitions/VNFFaultManagement_def.yaml#/definitions/PerceivedSeverityRequest"
      responses:
        200:
        204:
          description: >
            OK

@@ -310,7 +310,7 @@ paths:
###############################################################################
# Subscriptions                                                               #
###############################################################################
  '/alarms/subscriptions':
  '/subscriptions':
  #SOL002 location: 7.4.5
    post:
      description: >
+17 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ definitions:
    type: object
    required:
      - id
      - vnfcInstanceIds
      - managedObjectId
      - rootCauseFaultyResource
      - alarmRaisedTime
@@ -27,6 +28,12 @@ definitions:
        description: >
          Identifier of the affected VNF instance.
        $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
      vnfcInstanceIds:
        description: >
          Identifiers of the affected VNFC instances.
        type: array
        items:
          $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
      rootCauseFaultyResource:
        description: >
          The virtualised resources that are causing the VNF fault.
@@ -114,5 +121,14 @@ definitions:
            #  notified alarm is correlated. Shall be present if the VNF
            #  instance information is accessible as a resource.
            $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"

  PerceivedSeverityRequest:
    type: string
 No newline at end of file
    description: >
      This type represents the escalated value of the perceived severity for an alarm.
    required:
      - proposedPerceivedSeverity
    properties:
      proposedPerceivedSeverity:
        description: >
          Indicates the proposed escalated perceived severity for an alarm.
        $ref: "../../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/PerceivedSeverityType"