Loading SOL005/NSLifecycleManagement-API/CreateNSInstanceWorkflow.robot 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** NS Instance Creation Do POST New nsInstance Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is NsIdentifierCreationNotification.shema.json Check resource not_instantiated No newline at end of file SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot +1 −4 Original line number Original line Diff line number Diff line Loading @@ -253,7 +253,6 @@ Do GET Instantiate NSInstance ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do DELETE Scale NSInstance Do DELETE Scale NSInstance log Trying to delete an Scale NS instance. This method should not be implemented log Trying to delete an Scale NS instance. This method should not be implemented Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading Loading @@ -298,7 +297,6 @@ Do POST scale nsInstance ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do DELETE Update NSInstance Do DELETE Update NSInstance log Trying to delete an Update NS instance. This method should not be implemented log Trying to delete an Update NS instance. This method should not be implemented Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading Loading @@ -787,7 +785,6 @@ Do GET Subscriptions with filter ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do POST Individual Subscription Do POST Individual Subscription log Trying to perform a POST. This method should not be implemented log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Accept":"${ACCEPT}"} Loading SOL005/NSLifecycleManagement-API/environment/variables.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -39,6 +39,7 @@ ${VnfIdentifierDeletionNotification} {} ${callback_uri} http://localhost ${callback_uri} http://localhost ${callback_port} 9091 ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /notification/check ${callback_endpoint_error} /endpoint_404 ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${sleep_interval} 20s Loading Loading
SOL005/NSLifecycleManagement-API/CreateNSInstanceWorkflow.robot 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** NS Instance Creation Do POST New nsInstance Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is NsIdentifierCreationNotification.shema.json Check resource not_instantiated No newline at end of file
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot +1 −4 Original line number Original line Diff line number Diff line Loading @@ -253,7 +253,6 @@ Do GET Instantiate NSInstance ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do DELETE Scale NSInstance Do DELETE Scale NSInstance log Trying to delete an Scale NS instance. This method should not be implemented log Trying to delete an Scale NS instance. This method should not be implemented Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading Loading @@ -298,7 +297,6 @@ Do POST scale nsInstance ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do DELETE Update NSInstance Do DELETE Update NSInstance log Trying to delete an Update NS instance. This method should not be implemented log Trying to delete an Update NS instance. This method should not be implemented Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Loading Loading @@ -787,7 +785,6 @@ Do GET Subscriptions with filter ${outputResponse}= Output response ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse} Do POST Individual Subscription Do POST Individual Subscription log Trying to perform a POST. This method should not be implemented log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Accept":"${ACCEPT}"} Loading
SOL005/NSLifecycleManagement-API/environment/variables.txt +1 −0 Original line number Original line Diff line number Diff line Loading @@ -39,6 +39,7 @@ ${VnfIdentifierDeletionNotification} {} ${callback_uri} http://localhost ${callback_uri} http://localhost ${callback_port} 9091 ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /notification/check ${callback_endpoint_error} /endpoint_404 ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${sleep_interval} 20s Loading