From 01d7376bf40905414a3a06379e63238890a751ac Mon Sep 17 00:00:00 2001 From: moscatelli Date: Wed, 8 May 2019 10:35:22 +0200 Subject: [PATCH] SOL002: fix in VNF Fault mgmt reference --- .../VNFFaultManagement/VNFFaultManagement.yaml | 4 ++-- .../definitions/SOL002VNFFaultManagement_def.yaml | 13 ++++++++++++- src/definitions/SOL002SOL003_def.yaml | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml index e1cfe5a4..e03dc5eb 100644 --- a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml +++ b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml @@ -258,7 +258,7 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm" + $ref: "definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm" 400: $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/400" 401: @@ -413,7 +413,7 @@ paths: description: The proposed "escalated perceived severity" value in: body schema: - $ref: "./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/PerceivedSeverityRequest" + $ref: "definitions/SOL002VNFFaultManagement_def.yaml#/definitions/PerceivedSeverityRequest" responses: 200: description: > diff --git a/src/SOL002/VNFFaultManagement/definitions/SOL002VNFFaultManagement_def.yaml b/src/SOL002/VNFFaultManagement/definitions/SOL002VNFFaultManagement_def.yaml index d01180ed..716f5924 100644 --- a/src/SOL002/VNFFaultManagement/definitions/SOL002VNFFaultManagement_def.yaml +++ b/src/SOL002/VNFFaultManagement/definitions/SOL002VNFFaultManagement_def.yaml @@ -118,4 +118,15 @@ definitions: Link to the resource representing the VNF instance to which the notified alarm is correlated. Shall be present if the VNF instance information is accessible as a resource. - $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link" \ No newline at end of file + $ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link" + + PerceivedSeverityRequest: + 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" \ No newline at end of file diff --git a/src/definitions/SOL002SOL003_def.yaml b/src/definitions/SOL002SOL003_def.yaml index 5ff5f6b2..81f18761 100644 --- a/src/definitions/SOL002SOL003_def.yaml +++ b/src/definitions/SOL002SOL003_def.yaml @@ -262,8 +262,8 @@ definitions: A number defined in IETF RFC 8259. type: number - - +######################################################################################################################## +# TO CHECK IF INCLUDE THESE DATA TYPES IN ANOTHER DEF FILES CpProtocolData: description: > This type represents network protocol data. -- GitLab