Commit d6dc8682 authored by Michele Carignani's avatar Michele Carignani
Browse files

Fixes to VNF LCM SOL003

parent 24a36ff2
Loading
Loading
Loading
Loading
+16 −16
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ Post Individual VNF LCM Operation occurrences - Method not implemented
Get information about multiple VNF instances
    [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 a VNF lifecycle management operation occurrence 
    ...    Test objective: The objective is to test that this method retrieve information about multiple VNF lifecycle management operation occurrences
    ...    Pre-conditions: none
    ...    Reference: clause 5.4.13.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1
    ...    Config ID: Config_prod_VNFM
@@ -74,6 +74,6 @@ Get multiple VNF instances
    Set Headers  {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Log    Execute Query and validate response
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
 No newline at end of file
+31 −31
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ Instantiate a vnfInstance Conflict
    ...    Config ID: Config_prod_VNFM
    ...    Applicability:
    ...    Post-Conditions:
    POST instantiate individual vnfInstance
    POST instantiate individual vnfInstance conflict
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails

+19 −19
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ Check VNF LCM Operation Occurrence Start Notification Http POST Request Body Jso

Check VNF LCM Operation Occurrence Start Notification Http POST Request Body notificationType attribute Is
    [Arguments]    ${type}
    Configure Notification VNF LCM Operation Occurrence Start Handler    ${callback_endpoint_fwd}    ${type}    START
    ${notification_request}=    Configure Notification VNF LCM Operation Occurrence Start Handler    ${callback_endpoint_fwd}    ${type}    START
    Wait Until Keyword Succeeds    2 min   10 sec   Verify Mock Expectation    ${notification_request}
    Clear Requests    ${callback_endpoint}
    Clear Requests    ${callback_endpoint_fwd}
+303 −293
Original line number Diff line number Diff line
@@ -535,6 +535,16 @@ POST instantiate individual vnfInstance
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}

POST instantiate individual vnfInstance conflict
    Log    Trying to Instantiate a vnf Instance
    Set Headers  {"Accept":"${ACCEPT}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    ${body}=    Get File    jsons/instantiateVnfRequest.json
    Post    ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${conflicVnfInstanceId}/instantiate    ${body}
    ${outputResponse}=    Output    response
    Set Global Variable    ${response}    ${outputResponse}

GET instantiate individual vnfInstance
    log    Trying to perform a GET. This method should not be implemented
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}