From 77ca879117bfe111e2a2413d34531ce9c9452803 Mon Sep 17 00:00:00 2001 From: Samir Medjiah Date: Wed, 10 Apr 2019 04:35:52 +0200 Subject: [PATCH] Updated 200 OK description in NS LCM, NS FM, VNF PM interfaces --- .../NSFaultManagement/NSFaultManagement.yaml | 15 +++++-- .../NSLifecycleManagement.yaml | 39 +++++++++++-------- .../VNFPackageManagement.yaml | 8 +++- 3 files changed, 40 insertions(+), 22 deletions(-) diff --git a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml index e3d901a..1623cd6 100644 --- a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml +++ b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml @@ -140,8 +140,11 @@ paths: description: > 200 OK - The request has succeeded. + Information about zero or more alarms was queried successfully. The response body shall contain the list of related alarms. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: description: The MIME type of the body of the response. @@ -555,9 +558,13 @@ paths: 200 OK The list of subscriptions was queried successfully. - The response body shall contain the representations of - all active subscriptions of the functional block that - invokes the method. + The response body shall contain in an array the representations + of all active subscriptions of the functional block that invokes + the method, i.e. zero or more representations of FM subscriptions, + as defined in clause 8.5.2.3. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: description: The MIME type of the body of the response. diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index b5147fd..c546d18 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -272,11 +272,12 @@ paths: description: > 200 OK - Information about zero or more NS instances was - queried successfully. - The response body shall contain representations of - zero or more NS instances, as defined in - clause 6.5.2.8. + Information about zero or more NS instances was queried successfully. + The response body shall contain in an array the representations of + zero or more NS instances, as defined in clause 6.5.2.8. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: description: The MIME type of the body of the response. @@ -980,11 +981,13 @@ paths: description: > 200 OK - Status information for zero or more NS lifecycle - management operation occurrences was queried successfully. - The response body shall contain representations of - zero or more NS instances, as defined in - clause 5.5.2.13. + Status information for zero or more NS lifecycle management operation + occurrences was queried successfully. + The response body shall contain in an array the representations of + zero or more NS instances, as defined in clause 5.5.2.13. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: description: The MIME type of the body of the response. @@ -1090,10 +1093,10 @@ paths: description: > 200 OK - Information about an individual NS instance was queried successfully. - The response body shall contain status information - about a NS lifecycle management operation - occurrence (see clause 6.5.2.3). + Information about a NS LCM operation occurrence was + queried successfully. + The response body shall contain status information about a NS + lifecycle management operation occurrence (see clause 6.5.2.3). schema: type: "object" properties: @@ -1723,9 +1726,11 @@ paths: 200 OK The list of subscriptions was queried successfully. - The response body shall contain the representations of - all active subscriptions of the functional block that - invokes the method. + The response body shall contain the representations of all active + subscriptions of the functional block that invokes the method. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: type: "string" diff --git a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml index 51b5d36..c79ab55 100644 --- a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml +++ b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml @@ -168,7 +168,13 @@ paths: description: > 200 OK - Information of the selected VNF packages. + Information about zero or more VNF packages was successfully queried. + The response body shall contain in an array the VNF package info + representations that match the attribute filter, i.e., zero or more + VNF package info representations as defined in clause 9.5.2.5. + If the NFVO supports alternative 2 (paging) according to + clause 4.7.2.1 for this resource, inclusion of the Link HTTP header + in this response shall follow the provisions in clause 4.7.2.3. headers: Content-Type: description: The MIME type of the body of the response. -- GitLab