From abaff410df3992dd2d237b3fdf8d5edcf3579215 Mon Sep 17 00:00:00 2001 From: Giacomo Bernini Date: Tue, 23 Apr 2019 17:24:47 +0200 Subject: [PATCH] fixed usage of Link HTTP Header in SOL002 responses --- .../VNFFaultManagement.yaml | 13 +++++++++- src/SOL002/VNFIndicator/VNFIndicator.yaml | 18 ++++++++++++++ .../VNFLifecycleManagement.yaml | 9 ++++++- .../VNFPerformanceManagement.yaml | 24 +++++++++++++++---- 4 files changed, 57 insertions(+), 7 deletions(-) diff --git a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml index 25af314f..3492ebd5 100644 --- a/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml +++ b/src/SOL002/VNFFaultManagement/VNFFaultManagement.yaml @@ -152,7 +152,12 @@ paths: type: string maximum: 1 minimum: 0 - + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: $ref: "./definitions/VNFFaultManagement_def.yaml#/definitions/Alarm" 400: @@ -591,6 +596,12 @@ paths: type: string maximum: 1 minimum: 0 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: $ref: "../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription" 400: diff --git a/src/SOL002/VNFIndicator/VNFIndicator.yaml b/src/SOL002/VNFIndicator/VNFIndicator.yaml index c86cc831..b46d6f42 100644 --- a/src/SOL002/VNFIndicator/VNFIndicator.yaml +++ b/src/SOL002/VNFIndicator/VNFIndicator.yaml @@ -123,6 +123,12 @@ paths: type: string maximum: 1 minimum: 1 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -228,6 +234,12 @@ paths: type: string maximum: 1 minimum: 1 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -487,6 +499,12 @@ paths: type: string maximum: 1 minimum: 1 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: diff --git a/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml b/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml index 209535b4..d026b8d2 100644 --- a/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml +++ b/src/SOL002/VNFLifecycleManagement/VNFLifecycleManagement.yaml @@ -1016,10 +1016,17 @@ paths: maximum: 1 minimum: 0 Version: - description: The used API version. + description: > + The used API version. type: string maximum: 1 minimum: 1 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: schema: $ref: "definitions/VNFLifecycleManagement_def.yaml#/definitions/VnfLcmOpOcc" diff --git a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml index 1e3a0e91..4ca780b2 100644 --- a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml +++ b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml @@ -259,6 +259,12 @@ paths: type: string maximum: 1 minimum: 0 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -563,7 +569,7 @@ paths: maximum: 1 minimum: 1 Location: - description: The resource URI of the created VNF instance + description: The resource URI of the created threshold type: string format: url WWW-Authenticate: @@ -670,10 +676,6 @@ paths: type: string maximum: 1 minimum: 1 - Location: - description: The resource URI of the created VNF instance - type: string - format: url WWW-Authenticate: description: > Challenge if the corresponding HTTP request has not provided @@ -682,6 +684,12 @@ paths: type: string maximum: 1 minimum: 0 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: @@ -1019,6 +1027,12 @@ paths: type: string maximum: 1 minimum: 0 + Link: + description: > + Reference to other resources. Used for paging in the present document, see clause 4.7.2.1. + type: string + maximum: 1 + minimum: 0 schema: type: array items: -- GitLab