From 2d72cbf48bab3a3c47fe1f2b7e00a7ad6a37b6bd Mon Sep 17 00:00:00 2001 From: Samir Medjiah Date: Wed, 17 Jul 2019 11:02:59 +0200 Subject: [PATCH] SOL002_92 GET Method (on "PM jobs") request and response updated --- .../VNFPerformanceManagement.yaml | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml index e3670f0e..b3221345 100644 --- a/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml +++ b/src/SOL002/VNFPerformanceManagement/VNFPerformanceManagement.yaml @@ -164,7 +164,7 @@ paths: type: string - name: filter description: > - Attribute-based filtering expression according to clause 4.3.2. + Attribute-based filtering expression according to clause 5.2 of ETSI GS NFV-SOL 013. The VNFM shall support receiving this parameter as part of the URI query string. The EM may supply this parameter. All attribute names that appear in the PmJob and in data types referenced from it shall be supported by the VNFM in attribute-based filtering expression. @@ -197,28 +197,32 @@ paths: - name: all_fields description: > Include all complex attributes in the response. - See clause 4.3.3 for details. The VNFM shall support this parameter. + See clause 5.3 of ETSI GS NFV-SOL 013 for details. + The VNFM shall support this parameter. in: query required: false type: string - name: fields description: > Complex attributes to be included into the response. - See clause 4.3.3 for details. The VNFM should support this parameter. + See clause 5.3 of ETSI GS NFV-SOL 013 for details. + The VNFM should support this parameter. in: query required: false type: string - name: exclude_fields description: > Complex attributes to be excluded from the response. - See clause 4.3.3 for details. The VNFM should support this parameter. + See clause 5.3 of ETSI GS NFV-SOL 013 for details. + The VNFM should support this parameter. in: query required: false type: string - name: exclude_default description: > Indicates to exclude the following complex attributes from the response. - See clause 4.3.3 for details. The VNFM shall support this parameter. + See clause 5.3 of ETSI GS NFV-SOL 013 for details. + The VNFM shall support this parameter. The following attributes shall be excluded from the PmJob structure in the response body if this parameter is provided, or none of the parameters "all_fields", "fields", "exclude_fields", "exclude_default" are provided: @@ -230,7 +234,7 @@ paths: description: > Marker to obtain the next page of a paged response. Shall be supported by the VNFM if the VNFM supports alternative 2 - (paging) according to clause 4.7.2.1 for this resource. + (paging) according to clause 5.4.2.1 of ETSI GS NFV-SOL 013 for this resource. in: query required: false type: string @@ -239,11 +243,16 @@ paths: description: > 200 OK - Information about zero or more PM jobs was queried successfully. + Shall be returned when information about zero or more PM jobs was queried successfully. The response body shall contain in an array the representations of zero or more PM jobs, as defined in clause 6.5.2.7. - If the VNFM 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. + If the "filter" URI parameter or one of the "all_fields", "fields" (if supported), + "exclude_fields" (if supported) or "exclude_default" URI parameters was supplied in + the request, the data in the response body shall have been transformed according to + the rules specified in clauses 5.2.2 and 5.3.2 of ETSI GS NFV-SOL 013, respectively. + If the VNFM supports alternative 2 (paging) according to clause 5.4.2.1 of + ETSI GS NFV-SOL 013for this resource, inclusion of the Link HTTP header in this + response shall follow the provisions in clause 5.4.2.3 of ETSI GS NFV-SOL 013. headers: Content-Type: description: The MIME type of the body of the response. -- GitLab