Commit 79ec3255 authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

minor typo and bug fixes

parent ddd7b044
Loading
Loading
Loading
Loading
+19 −19
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@ Resource PolicyManagementKeywords.robot
POST API Version - Method not implemented
POST API Version - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.1
    [Documentation]    Test ID: 10.3.1.1.1
    ...    Test title: POST API version - Method not implemented
    ...    Test title: POST API version - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Test objective: The objective is to test that POST method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -19,7 +19,7 @@ POST API Version - Method not implemented
GET API Version
GET API Version
    [Documentation]    Test ID: 10.3.1.1.2
    [Documentation]    Test ID: 10.3.1.1.2
    ...    Test title: GET API Version
    ...    Test title: GET API Version
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Test objective: The objective is to test that GET method successfully returns ApiVersionInformation.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -32,7 +32,7 @@ GET API Version
PUT API Version - Method not implemented
PUT API Version - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.3
    [Documentation]    Test ID: 10.3.1.1.3
    ...    Test title: PUT API Version - Method not implemented
    ...    Test title: PUT API Version - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
@@ -56,7 +56,7 @@ PATCH API Version - Method not implemented
DELETE API Version - Method not implemented
DELETE API Version - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.5
    [Documentation]    Test ID: 10.3.1.1.5
    ...    Test title: DELETE API Version - Method not implemented
    ...    Test title: DELETE API Version - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -65,10 +65,10 @@ DELETE API Version - Method not implemented
    DELETE API Version
    DELETE API Version
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405
	
	
POST API Version with apiMajorVerion - Method not implemented
POST API Version with apiMajorVersion - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.6
    [Documentation]    Test ID: 10.3.1.1.6
    ...    Test title: POST API version with apiMajorVerion - Method not implemented
    ...    Test title: POST API version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Test objective: The objective is to test that POST method is not implemented.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -77,10 +77,10 @@ POST API Version with apiMajorVerion - Method not implemented
    POST API Version
    POST API Version
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405
    
    
GET API Version with apiMajorVerion
GET API Version with apiMajorVersion
    [Documentation]    10.3.1.1.7
    [Documentation]    10.3.1.1.7
    ...    Test title: GET API Version with apiMajorVerion
    ...    Test title: GET API Version with apiMajorVersion
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Test objective: The objective is to test that GET method successfully returns ApiVersionInformation.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -90,10 +90,10 @@ GET API Version with apiMajorVerion
	Check HTTP Response Status Code Is    200
	Check HTTP Response Status Code Is    200
	Check HTTP Response Body Json Schema Is    ApiVersionInformation
	Check HTTP Response Body Json Schema Is    ApiVersionInformation


PUT API Version with apiMajorVerion - Method not implemented
PUT API Version with apiMajorVersion - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.8
    [Documentation]    Test ID: 10.3.1.1.8
    ...    Test title: PUT API Version with apiMajorVerion - Method not implemented
    ...    Test title: PUT API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -102,10 +102,10 @@ PUT API Version with apiMajorVerion - Method not implemented
    PUT API Version
    PUT API Version
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405


PATCH API Version with apiMajorVerion - Method not implemented
PATCH API Version with apiMajorVersion - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.9
    [Documentation]    Test ID: 10.3.1.1.9
    ...    Test title: PATCH API Version with apiMajorVerion - Method not implemented
    ...    Test title: PATCH API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -114,10 +114,10 @@ PATCH API Version with apiMajorVerion - Method not implemented
    PATCH API Version
    PATCH API Version
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405
    
    
DELETE API Version with apiMajorVerion - Method not implemented
DELETE API Version with apiMajorVersion - Method not implemented
    [Documentation]    Test ID: 10.3.1.1.10
    [Documentation]    Test ID: 10.3.1.1.10
    ...    Test title: DELETE API Version with apiMajorVerion - Method not implemented
    ...    Test title: DELETE API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
+5 −5
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ Resource PolicyManagementKeywords.robot
POST Individual Subscription - Method not implemented
POST Individual Subscription - Method not implemented
    [Documentation]    Test ID: 10.3.1.7.1
    [Documentation]    Test ID: 10.3.1.7.1
    ...    Test title: POST Individual Subscription - Method not implemented
    ...    Test title: POST Individual Subscription - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Test objective: The objective is to test that POST method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.1 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.8.3.1 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -18,7 +18,7 @@ POST Individual Subscription - Method not implemented
GET Information about an individual subscription - Successful
GET Information about an individual subscription - Successful
     [Documentation]    Test ID: 10.3.1.7.2
     [Documentation]    Test ID: 10.3.1.7.2
    ...    Test title: GET Information about an individual subscription - Successful
    ...    Test title: GET Information about an individual subscription - Successful
    ...    Test objective: The objective is to test the retrieval of Policy Management subscription and perform a JSON schema validation of the returned subscription data structure
    ...    Test objective: The objective is to test the retrieval of Policy Management subscription and perform a JSON schema validation of the returned PolicySubscription data structure
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -44,7 +44,7 @@ GET Information about an individual subscription - NOT FOUND
PUT an individual subscription - Method not implemented
PUT an individual subscription - Method not implemented
     [Documentation]    Test ID: 10.3.1.7.4
     [Documentation]    Test ID: 10.3.1.7.4
    ...    Test title: PUT an individual subscription - Method not implemented
    ...    Test title: PUT an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.3 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.8.3.3 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -56,7 +56,7 @@ PUT an individual subscription - Method not implemented
PATCH an individual subscription - Method not implemented
PATCH an individual subscription - Method not implemented
     [Documentation]    Test ID: 10.3.1.7.5
     [Documentation]    Test ID: 10.3.1.7.5
    ...    Test title: PATCH an individual subscription - Method not implemented
    ...    Test title: PATCH an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.4 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.8.3.4 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -73,7 +73,7 @@ DELETE an individual subscription
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: The Policy Management subscription is not available anymore in the NFV-MANO.
    ...    Post-Conditions: The Policy Management subscription is no longer available in the NFV-MANO.
    DELETE Individual Subscription
    DELETE Individual Subscription
    Check HTTP Response Status Code Is    204
    Check HTTP Response Status Code Is    204
    Check Postcondition Individual Subscription is Deleted
    Check Postcondition Individual Subscription is Deleted
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -49,7 +49,7 @@ Test the Notification Endpoint - UNREACHABLE
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: The notification endpoint is unreachable by the API producer.
    ...    Applicability: The notification endpoint is unreachable by the API producer.
    ...    Post-Conditions: none 
    ...    Post-Conditions: none 
    GET reach the notification endpoint
    GET reach an unreachable notification endpoint
    Check HTTP Response Status Code Is    422
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is    ProblemDetails    
    Check HTTP Response Body Json Schema Is    ProblemDetails    
    
    
+9 −9
Original line number Original line Diff line number Diff line
@@ -15,10 +15,10 @@ POST Particular Version of an Individual Policy - Method not implemented
    POST Particular Version of an Individual Policy
    POST Particular Version of an Individual Policy
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


GET Information about the Particular Version of an Individual Policy - Successful
GET Information about a Particular Version of an Individual Policy - Successful
     [Documentation]    Test ID: 10.3.1.5.2
     [Documentation]    Test ID: 10.3.1.5.2
    ...    Test title: GET Information about the Particular Version of an Individual Policy - Successful
    ...    Test title: GET Information about a Particular Version of an Individual Policy - Successful
    ...    Test objective: The objective is to test The GET method fetches the content of the Particular version of an individual policy.
    ...    Test objective: The objective is to test that GET method fetches the content of a particular version of an individual policy.
    ...    Pre-conditions: Individual policy is available in the NFV-MANO. Policy contents are provided in the json/PolicyContent folder.
    ...    Pre-conditions: Individual policy is available in the NFV-MANO. Policy contents are provided in the json/PolicyContent folder.
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -28,16 +28,16 @@ GET Information about the Particular Version of an Individual Policy - Successfu
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check that the Content-Type Header Is Set
    Check that the Content-Type Header Is Set
    
    
GET Information about the Particular Version of an Individual Policy - NOT FOUND
GET Information about a Particular Version of an Individual Policy - NOT FOUND
     [Documentation]    Test ID: 10.3.1.5.3
     [Documentation]    Test ID: 10.3.1.5.3
    ...    Test title: GET Information about the Particular Version of an Individual Policy - NOT FOUND
    ...    Test title: GET Information about a Particular Version of an Individual Policy - NOT FOUND
    ...    Test objective: The objective is to test that the information about the Particular version of an individual policy fails when using an invalid resource identifier.
    ...    Test objective: The objective is to test that the information about a particular version of an individual policy fails when using an invalid resource identifier.
    ...    Pre-conditions: The API producer did not find the current representation for the target resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    GET Particular Version of an Individual Policy
    GET Particular Version of an Individual Policy with Invalid URI
    Check HTTP Response Status Code Is    404
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Check HTTP Response Body Json Schema Is   ProblemDetails


@@ -62,7 +62,7 @@ PUT Particular Version of an individual policy - CONFLICT
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    PUT Particular Version of an Individual Policy
    PUT Particular Version of an Individual Policy CONFLICT
    Check HTTP Response Status Code Is    409
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Check HTTP Response Body Json Schema Is   ProblemDetails


+3 −3
Original line number Original line Diff line number Diff line
@@ -33,7 +33,7 @@ GET Policies
GET Policies - Filter
GET Policies - Filter
    [Documentation]    Test ID: 10.3.1.2.3
    [Documentation]    Test ID: 10.3.1.2.3
    ...    Test title: GET Policies - Filter
    ...    Test title: GET Policies - Filter
    ...    Test objective: The objective is GET the list of existing policies using a filter.
    ...    Test objective: The objective is to GET the list of existing policies using a filter.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -46,7 +46,7 @@ GET Policies - Filter
GET Policies - Bad Request Invalid attribute-based filtering parameters
GET Policies - Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 10.3.1.2.4
    [Documentation]    Test ID: 10.3.1.2.4
    ...    Test title: GET Policies - Bad Request Invalid attribute-based filtering parameters
    ...    Test title: GET Policies - Bad Request Invalid attribute-based filtering parameters
    ...    Test objective: The objective is GET the list of existing policies using an invalid filter.
    ...    Test objective: The objective is to GET the list of existing policies using an invalid filter.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -137,7 +137,7 @@ GET Policies with "exclude_default" and "fields" attribute selector
GET Policies as Paged Response
GET Policies as Paged Response
    [Documentation]    Test ID: 10.3.1.2.11
    [Documentation]    Test ID: 10.3.1.2.11
    ...    Test title: GET Policies as Paged Response
    ...    Test title: GET Policies as Paged Response
    ...    Test objective: The objective is to test that GET method  retrieve the list of existing policies as paged response.
    ...    Test objective: The objective is to test that GET method retrieves the list of existing policies as paged response.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Reference: Clause 5.5.3.3.2 - ETSI GS NFV-SOL 012 [7] v3.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
Loading