From 340acfeb66320018a909b3da39c778b3587641b6 Mon Sep 17 00:00:00 2001 From: Abbas Ahmad <abbas.ahmad@eglobalmark.com> Date: Fri, 22 Mar 2019 15:04:48 +0100 Subject: [PATCH] Bug Fixes SOL005 --- SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot | 1 - .../InstanciateNSTaskWorkflow.robot | 2 +- .../NSLifecycleManagement-API/NSLCMOperationKeywords.robot | 6 +++--- SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot | 2 +- .../NSLifecycleManagement-API/TerminateNSTaskWorkflow.robot | 2 +- SOL005/NSLifecycleManagement-API/UpdateNSTaskWorkflow.robot | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot b/SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot index 15cf7065..189810f7 100644 --- a/SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot +++ b/SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot @@ -5,7 +5,6 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ -Suite Setup Check resource existance Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true diff --git a/SOL005/NSLifecycleManagement-API/InstanciateNSTaskWorkflow.robot b/SOL005/NSLifecycleManagement-API/InstanciateNSTaskWorkflow.robot index 2cbcf60e..0e77dbbd 100644 --- a/SOL005/NSLifecycleManagement-API/InstanciateNSTaskWorkflow.robot +++ b/SOL005/NSLifecycleManagement-API/InstanciateNSTaskWorkflow.robot @@ -5,12 +5,12 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ -Suite Setup Check resource existance Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true *** Test Cases *** Instantiate Flow of NS lifecycle management operations + Check resource existance Check resource not_instantiated Do POST Instatiate nsInstance Check HTTP Response Status Code Is 202 diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot index d512df61..ff0ebadc 100644 --- a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot +++ b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot @@ -9,12 +9,12 @@ Library MockServerLibrary *** Keywords *** Initialize System - Start Process java -jar ${MOCK_SERVER_JAR} -serverPort ${callback_port} alias=mockInstance + Start Process java -jar ../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar -serverPort ${callback_port} alias=mockInstance Wait For Process handle=mockInstance timeout=5s on_timeout=continue - Create Mock Session ${callback_uri}:${callback_port} + Create Mock Session ${callback_uri}:${callback_port} Check Operation Occurrence Id - ${occid}= Get Value From Json ${response[0]['headers']['Location']} + ${occid}= Get Value From Json ${response[0]['headers']['Location']} ${response} Set Global Variable @{nsLcmOpOccId} ${occid} Should Not Be Empty ${nsLcmOpOccId} diff --git a/SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot b/SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot index d427d6ca..15b5f107 100644 --- a/SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot +++ b/SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot @@ -5,12 +5,12 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ -Suite Setup Check resource existance Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true *** Test Cases *** Scale Flow of NS lifecycle management operations + Check resource existance Check resource instantiated Do POST scale nsInstance Check HTTP Response Status Code Is 202 diff --git a/SOL005/NSLifecycleManagement-API/TerminateNSTaskWorkflow.robot b/SOL005/NSLifecycleManagement-API/TerminateNSTaskWorkflow.robot index 1324aa75..2fa0a1d0 100644 --- a/SOL005/NSLifecycleManagement-API/TerminateNSTaskWorkflow.robot +++ b/SOL005/NSLifecycleManagement-API/TerminateNSTaskWorkflow.robot @@ -5,12 +5,12 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ -Suite Setup Check resource existance Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true *** Test Cases *** Terminate Flow of NS lifecycle management operations + Check resource existance Check resource instantiated Do POST Terminate NSInstance Check HTTP Response Status Code Is 202 diff --git a/SOL005/NSLifecycleManagement-API/UpdateNSTaskWorkflow.robot b/SOL005/NSLifecycleManagement-API/UpdateNSTaskWorkflow.robot index ed420629..6392024d 100644 --- a/SOL005/NSLifecycleManagement-API/UpdateNSTaskWorkflow.robot +++ b/SOL005/NSLifecycleManagement-API/UpdateNSTaskWorkflow.robot @@ -5,12 +5,12 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ -Suite Setup Check resource existance Suite Setup Initialize System Suite Teardown Terminate All Processes kill=true *** Test Cases *** Update Flow of NS lifecycle management operations + Check resource existance Check resource instantiated Do POST Update NSInstance Check HTTP Response Status Code Is 202 -- GitLab