Commit 6fb6e1eb authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

minor fixes

parent 761c5835
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -32,7 +32,7 @@ POST Cancellation of an Ongoing Individual Coordination Action - Conflict
    ...    Config ID: Config_prod_VE
    ...    Config ID: Config_prod_VE
    ...    Applicability: Processing of Individual Coordination Action has 'Finished'.
    ...    Applicability: Processing of Individual Coordination Action has 'Finished'.
    ...    Post-Condition: none
    ...    Post-Condition: none
    POST Cancellation of an Ongoing Individual Coordination Action not Applicable
    POST Cancellation of an Ongoing Individual Coordination Action - 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
@@ -89,7 +89,7 @@ POST Cancellation of an Ongoing Individual Coordination Action
    ${outputResponse}=    Output    response
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
	Set Global Variable    ${response}    ${outputResponse}


POST Cancellation of an Ongoing Individual Coordination Action not Applicable
POST Cancellation of an Ongoing Individual Coordination Action - Conflict
    Log    Trying to initiates the cancellation of an ongoing coordination action.
    Log    Trying to initiates the cancellation of an ongoing coordination action.
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
@@ -147,7 +147,7 @@ Check HTTP Retry-After Header Contains Delay After Which Corrdination Request Wi
    Should Not Be Empty    ${delayTime}
    Should Not Be Empty    ${delayTime}


Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode
Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode
    Pass Execution If    ${synchronous_mode} == 0    The API producer is in Asynchronous Mode. Skipping the test.
    Pass Execution If    ${SYNCHRONOUS_MODE_SUPPORT} == 0    The API producer is in Asynchronous Mode. Skipping the test.
    Log    Create coordination action by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/coordinations
    Log    Create coordination action by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/coordinations
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
@@ -159,7 +159,7 @@ Post coordination of LCM operation Occurance and API Producer has Chosen Synchro
	Set Global Variable    ${response}    ${outputResponse}
	Set Global Variable    ${response}    ${outputResponse}


Post coordination of LCM operation Occurance and API Producer has Chosen Asynchronous Mode
Post coordination of LCM operation Occurance and API Producer has Chosen Asynchronous Mode
    Pass Execution If    ${synchronous_mode} == 1    The API producer is in Synchronous Mode. Skipping the test.
    Pass Execution If    ${SYNCHRONOUS_MODE_SUPPORT} == 1    The API producer is in Synchronous Mode. Skipping the test.
    Log    Create coordination action by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/coordinations
    Log    Create coordination action by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/coordinations
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Accept":"${ACCEPT}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
+2 −2
Original line number Original line Diff line number Diff line
*** Variables ***
*** Variables ***


${synchronous_mode}      1  #Set it to 0 if API producer supporting Asynchronous mode, and set it to 1 if API producer supporting Synchronous mode.
${SYNCHRONOUS_MODE_SUPPORT}      1  #Set it to 0 if API producer supporting Asynchronous mode, and set it to 1 if API producer supporting Synchronous mode.


${vnfInstanceId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f    
${vnfInstanceId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f    
${vnfLcmOpOccId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfLcmOpOccId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f
${coordinationActionName}      6fc3539c-e602-4afa-8e13-962fb5a7d81f
${coordinationActionName}      6fc3539c-e602-4afa-8e13-962fb5a7d81f


{coordinationId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f
${coordinationId}      6fc3539c-e602-4afa-8e13-962fb5a7d81f


${Id_of_Finished_Coordination_Action}      6fc3539c-e602-4afa-8e13-962fb5a7d81f #Id of Coordination action which has Finished its processing, to test the conflict test suite.
${Id_of_Finished_Coordination_Action}      6fc3539c-e602-4afa-8e13-962fb5a7d81f #Id of Coordination action which has Finished its processing, to test the conflict test suite.
${Id_of_Ongoing_Coordination_Action}      6fc3539c-e602-4afa-8e13-962fb5a7d81f #Id of Coordination action which is currently ongoing.
${Id_of_Ongoing_Coordination_Action}      6fc3539c-e602-4afa-8e13-962fb5a7d81f #Id of Coordination action which is currently ongoing.