Commit d3034d75 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue #176 #177 #179

parent 6621d376
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -17,18 +17,18 @@ Post Individual VNF LCM OP occurrences - Method not implemented
    Post Individual VNF LCM OP occurrences
    Check HTTP Response Status Code Is    405
    
Get status information about multiple VNF instances 
Get Individual VNF LCM Operation occurrence
    [Documentation]    Test ID: 6.3.5.12.2
    ...    Test title: Get status information about multiple VNF instances
    ...    Test title: Get Individual VNF LCM Operation occurrence
    ...    Test objective: The objective is to test that this method retrieve status information about a VNF lifecycle management operation occurrence 
    ...    Pre-conditions: none
    ...    Reference: clause 5.4.13.3.2 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: none 
    Get multiple VNF instances
    Get Individual VNF LCM Operation occurrence
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    VnfLcmOpOcc 
    Check HTTP Response Body Json Schema Is    vnfLcmOpOcc 

PUT status information about multiple VNF instances - Method not implemented
    [Documentation]    Test ID: 6.3.5.12.3
+8 −0
Original line number Diff line number Diff line
@@ -609,6 +609,14 @@ Post Individual VNF LCM OP occurrences
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}	

Get Individual VNF LCM Operation occurrence
    log    Trying to perform a POST. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}

Post Retry operation
    Log    Retry a VNF lifecycle operation if that operation has experienced a temporary failure
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
+2 −2
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@ GET status information about multiple VNF LCM operation occurrences
    ...    Applicability: none
    ...    Post-Conditions: none   
    GET VNF LCM OP occurrences
    Check HTTP Response Status Code Is    202
    Check HTTP Response Body Json Schema Is    VnfLcmOpOccs 
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    vnfLcmOpOccs 

GET status information about multiple VNF LCM operation occurrences Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 6.3.5.11.3
+5 −15
Original line number Diff line number Diff line
@@ -19,16 +19,16 @@ Post Individual VNF LCM Operation occurrences - Method not implemented
    Post Individual VNF LCM Operation occurrences
    Check HTTP Response Status Code Is    405

Get information about multiple VNF instances
Get Individual VNF LCM Operation occurrence
    [Documentation]    Test ID: 7.3.1.12.2
    ...    Test title: Get information about multiple VNF instances
    ...    Test objective: The objective is to test that this method retrieve information about multiple VNF lifecycle management operation occurrences
    ...    Test title: Get Individual VNF LCM Operation occurrence
    ...    Test objective: The objective is to test that this method retrieve an VNF lifecycle management operation occurrence
    ...    Pre-conditions: none
    ...    Reference: clause 5.4.13.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Get multiple VNF instances
    Get Individual VNF LCM Operation occurrence
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    vnfLcmOpOcc

@@ -67,13 +67,3 @@ PATCH Individual VNF LCM Operation occurrences - Method not implemented
    ...    Post-Conditions: none
    Delete multiple VNF instances
    Check HTTP Response Status Code Is    405
 No newline at end of file

*** Keywords ***
Get multiple VNF instances
    Log    Query status information about multiple VNF lifecycle management operation occurrences.
    Set Headers  {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    Log    Execute Query and validate response
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
@@ -860,6 +860,14 @@ Post Individual VNF LCM Operation occurrences
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}

Get Individual VNF LCM Operation occurrence
    log    Trying to perform a POST. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}

Put multiple VNF instances
    log    Trying to perform a PUT. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}