Commit 14928950 authored by AHMADABB's avatar AHMADABB
Browse files

NS creation workflow

parent 47dfeb56
Loading
Loading
Loading
Loading
+18 −0
Original line number 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
+1 −4
Original line number Diff line number Diff line
@@ -253,7 +253,6 @@ Do GET Instantiate NSInstance
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
	
	
Do DELETE Scale NSInstance
    log    Trying to delete an Scale NS instance. This method should not be implemented
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -298,7 +297,6 @@ Do POST scale nsInstance
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse} 
	
	
Do DELETE Update NSInstance
    log    Trying to delete an Update NS instance. This method should not be implemented
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
@@ -787,7 +785,6 @@ Do GET Subscriptions with filter
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}


Do POST Individual Subscription
    log    Trying to perform a POST. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}  
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ ${VnfIdentifierDeletionNotification} {}
${callback_uri}    http://localhost
${callback_port}    9091
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /notification/check
${callback_endpoint_error}    /endpoint_404
${sleep_interval}    20s