Commit 9f98f848 authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

fixed typos and added missing documentation

parent fa4335f0
Loading
Loading
Loading
Loading
+10 −10
Original line number Original line Diff line number Diff line
@@ -440,7 +440,7 @@ Send Post request for Peer Entity
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    Set Suite Variable    ${response}    ${output}
    
    
Get Peer Entity
Get Peer Entities
    Log    Query to GET information about multiple peer entities.
    Log    Query to GET information about multiple peer entities.
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -449,7 +449,7 @@ Get Peer Entity
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
	Set Global Variable    @{response}    ${outputResponse}
	
	
Get Peer Entity with invalid filter
Get Peer Entities with invalid filter
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Log    Execute Query and validate response
    Log    Execute Query and validate response
@@ -457,7 +457,7 @@ Get Peer Entity with invalid filter
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}	
	Set Global Variable    @{response}    ${outputResponse}	
	
	
Get Peer Entity with invalid selector
Get Peer Entities with invalid selector
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Log    Execute Query and validate response
    Log    Execute Query and validate response
@@ -465,7 +465,7 @@ Get Peer Entity with invalid selector
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}	
	Set Global Variable    @{response}    ${outputResponse}	


Get Peer Entity with filter
Get Peer Entities with filter
    Log    Query  information about multiple peer entities with attribute filters.
    Log    Query  information about multiple peer entities with attribute filters.
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -474,7 +474,7 @@ Get Peer Entity with filter
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
	Set Global Variable    @{response}    ${outputResponse}
	
	
Get Peer Entity with all_fields attribute selector
Get Peer Entities with all_fields attribute selector
    Log    Queries information about multiple peer entities, using all_fields
    Log    Queries information about multiple peer entities, using all_fields
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
@@ -482,7 +482,7 @@ Get Peer Entity with all_fields attribute selector
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    Set Suite Variable    ${response}    ${output}


Get Peer Entity with fields attribute selector
Get Peer Entities with fields attribute selector
    Log    Queries information about multiple peer entities, using fields
    Log    Queries information about multiple peer entities, using fields
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
@@ -490,7 +490,7 @@ Get Peer Entity with fields attribute selector
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    Set Suite Variable    ${response}    ${output}


Get Peer Entity with exclude_fields attribute selector
Get Peer Entities with exclude_fields attribute selector
    Log    Queries information about multiple peer entities, using fields
    Log    Queries information about multiple peer entities, using fields
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
@@ -498,7 +498,7 @@ Get Peer Entity with exclude_fields attribute selector
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    Set Suite Variable    ${response}    ${output}
    
    
Send PUT request for Peer Entity
Send PUT request for Peer Entities
    log    Trying to perform a PUT. This method should not be implemented
    log    Trying to perform a PUT. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -506,7 +506,7 @@ Send PUT request for Peer Entity
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
	Set Global Variable    @{response}    ${outputResponse}
	
	
Send PATCH request for Peer Entity
Send PATCH request for Peer Entities
    log    Trying to perform a PATCH. This method should not be implemented
    log    Trying to perform a PATCH. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -514,7 +514,7 @@ Send PATCH request for Peer Entity
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
	Set Global Variable    @{response}    ${outputResponse}
	
	
Send DELETE request for Peer Entity
Send DELETE request for Peer Entities
    log    Trying to perform a DELETE. This method should not be implemented
    log    Trying to perform a DELETE. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Set Headers  {"Accept":"${ACCEPT_JSON}"}  
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
+27 −27
Original line number Original line Diff line number Diff line
@@ -23,10 +23,10 @@ POST Peer Entity
    Check HTTP Response Header Contains Location
    Check HTTP Response Header Contains Location
    Check Postcondition Peer Entity Resource is created
    Check Postcondition Peer Entity Resource is created
    
    
GET Peer Entity
GET Peer Entities
    [Documentation]    Test ID: 8.3.1.8.2
    [Documentation]    Test ID: 8.3.1.8.2
    ...    Test title: GET Peer Entity
    ...    Test title: GET Peer Entities
    ...    Test objective: The objective is to queries information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities.
    ...    Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities.
    ...    Pre-conditions: At least one Peer Entity is already created.
    ...    Pre-conditions: At least one Peer Entity is already created.
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
@@ -36,9 +36,9 @@ GET Peer Entity
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities
    
    
GET Peer Entity - invalid attribute-based filter
GET Peer Entities - invalid attribute-based filter
    [Documentation]    Test ID: 8.3.1.8.3
    [Documentation]    Test ID: 8.3.1.8.3
    ...    Test title: GET Peer Entity - invalid attribute-based filter
    ...    Test title: GET Peer Entities - invalid attribute-based filter
    ...    Test objective:  The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective:  The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -49,9 +49,9 @@ GET Peer Entity - invalid attribute-based filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails   
    Check HTTP Response Body Json Schema Is    ProblemDetails   
    
    
GET Peer Entity - invalid attribute selector
GET Peer Entities - invalid attribute selector
    [Documentation]    Test ID: 8.3.1.8.4
    [Documentation]    Test ID: 8.3.1.8.4
    ...    Test title: GET Peer Entity - invalid attribute selector
    ...    Test title: GET Peer Entities - invalid attribute selector
    ...    Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -62,9 +62,9 @@ GET Peer Entity - invalid attribute selector
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails  
    Check HTTP Response Body Json Schema Is    ProblemDetails  
    
    
GET Peer Entity - Bad Request Response too Big
GET Peer Entities - Bad Request Response too Big
    [Documentation]    Test ID: 8.3.1.8.5
    [Documentation]    Test ID: 8.3.1.8.5
    ...    Test title: GET Peer Entity - Bad Request Response too Big
    ...    Test title: GET Peer Entities - Bad Request Response too Big
    ...    Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -75,9 +75,9 @@ GET Peer Entity - Bad Request Response too Big
    Check HTTP Response Status Code Is    400
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
    
GET Peer Entity with attribute-based filter
GET Peer Entities with attribute-based filter
    [Documentation]    Test ID: 8.3.1.8.6
    [Documentation]    Test ID: 8.3.1.8.6
    ...    Test title: GET Peer Entity with attribute-based filter
    ...    Test title: GET Peer Entities with attribute-based filter
    ...    Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with attribute filters
    ...    Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with attribute filters
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -88,9 +88,9 @@ GET Peer Entity with attribute-based filter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities
    
    
GET Peer Entity with "all_fields" attribute selector
GET Peer Entities with "all_fields" attribute selector
    [Documentation]    Test ID: 8.3.1.8.7
    [Documentation]    Test ID: 8.3.1.8.7
    ...    Test title: GET Peer Entity with "all_fields" attribute selector
    ...    Test title: GET Peer Entities with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "all_fields" attribute selector
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -101,9 +101,9 @@ GET Peer Entity with "all_fields" attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities
    
    
GET Peer Entity with "exclude_default" attribute selector
GET Peer Entities with "exclude_default" attribute selector
    [Documentation]    Test ID: 8.3.1.8.8
    [Documentation]    Test ID: 8.3.1.8.8
    ...    Test title: GET Peer Entity with "exclude_default" attribute selector
    ...    Test title: GET Peer Entities with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" attribute selector
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -115,9 +115,9 @@ GET Peer Entity with "exclude_default" attribute selector
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities


    
    
GET Peer Entity with "fields" attribute selector
GET Peer Entities with "fields" attribute selector
    [Documentation]    Test ID: 8.3.1.8.9
    [Documentation]    Test ID: 8.3.1.8.9
    ...    Test title: GET Peer Entity with "fields" attribute selector
    ...    Test title: GET Peer Entities with "fields" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with fields attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with fields attribute selector
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -128,16 +128,16 @@ GET Peer Entity with "fields" attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities
     
     
GET Peer Entity with "exclude_fields" attribute selector
GET Peer Entities with "exclude_fields" attribute selector
    [Documentation]    Test ID: 8.3.1.8.10
    [Documentation]    Test ID: 8.3.1.8.10
    ...    Test title: GET Peer Entity with "exclude_fields" attribute selector
    ...    Test title: GET Peer Entities with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_fields" attribute selector
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Pre-conditions: At least one Peer Entity is already created. 
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Get Peer Entity with exclude_fields attribute selector
    Get Peer Entities with exclude_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PeerEntities
    Check HTTP Response Body Json Schema Is    PeerEntities
    
    
@@ -154,9 +154,9 @@ GET Peer Entity with Paged Response
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check LINK in Header
    Check LINK in Header


PUT Peer Entity - Method not implemented
PUT Peer Entities - Method not implemented
    [Documentation]    Test ID: 8.3.1.8.12
    [Documentation]    Test ID: 8.3.1.8.12
    ...    Test title: PUT Peer Entity - Method not implemented
    ...    Test title: PUT Peer Entities - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemeted.
    ...    Test objective: The objective is to test that PUT method is not implemeted.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -166,9 +166,9 @@ PUT Peer Entity - Method not implemented
    Send Put request for Peer Entity
    Send Put request for Peer Entity
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
    
PATCH Peer Entity - Method not implemented
PATCH Peer Entities - Method not implemented
    [Documentation]    Test ID: 8.3.1.8.13
    [Documentation]    Test ID: 8.3.1.8.13
    ...    Test title: PATCH Peer Entity - Method not implemented
    ...    Test title: PATCH Peer Entities - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemeted.
    ...    Test objective: The objective is to test that PATCH method is not implemeted.
    ...    Pre-conditions:none
    ...    Pre-conditions:none
    ...    Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
@@ -178,9 +178,9 @@ PATCH Peer Entity - Method not implemented
    Send Patch request for Peer Entity
    Send Patch request for Peer Entity
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


DELETE Peer Entity - Method not implemented
DELETE Peer Entities - Method not implemented
    [Documentation]    Test ID: 8.3.1.8.14
    [Documentation]    Test ID: 8.3.1.8.14
    ...    Test title: DELETE Peer Entity - Method not implemented
    ...    Test title: DELETE Peer Entities - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemeted.
    ...    Test objective: The objective is to test that DELETE method is not implemeted.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1