Commit 1adc7f91 authored by root's avatar root Committed by Michele Carignani
Browse files

bug-fixes

parent 93af9149
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -196,7 +196,7 @@ Check HTTP Response Body Json Schema Is


Check HTTP Response Body Includes Requested VNF Instance ID
Check HTTP Response Body Includes Requested VNF Instance ID
    Log    Check Response includes Indicators according to resource identifier
    Log    Check Response includes Indicators according to resource identifier
    Should Be Equal As Strings   ${response['body'][0]['vnfInstanceId']}    ${vnfInstanceId}
    Should Be Equal As Strings   ${response['body']['vnfInstanceId']}    ${vnfInstanceId}
    
    
Check HTTP Response Body Matches Attribute-Based Filter
Check HTTP Response Body Matches Attribute-Based Filter
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
+1 −1
Original line number Original line Diff line number Diff line
@@ -397,7 +397,7 @@ Send DELETE Request for indicators in VNF instance


Check HTTP Response Body Includes Requested VNF Instances ID
Check HTTP Response Body Includes Requested VNF Instances ID
    Log    Check Response includes Indicators according to resource identifier
    Log    Check Response includes Indicators according to resource identifier
    Should Be Equal As Strings   ${response['body'][0]['vnfInstanceId']}    ${vnfInstanceId}
    Should Be Equal As Strings   ${response['body']['vnfInstanceId']}    ${vnfInstanceId}


Check Postcondition Indicators for VNF instance Exist
Check Postcondition Indicators for VNF instance Exist
    Log    Check Postcondition Indicators for VNF instance Exist
    Log    Check Postcondition Indicators for VNF instance Exist
+9 −13
Original line number Original line Diff line number Diff line
@@ -421,17 +421,8 @@ Send PUT Request to upload NSD Content as plain text file in asynchronous mode
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output} 
    Set Suite Variable    ${response}    ${output} 


Check Post Condition NSD Content has been Uploaded
==== BASE ====
    Log    Checking NsdOnboardingNotification Recieved
==== BASE ====
    Wait Untill Keyword Succeeds    ${retry}    ${interval}  Check Response is NsdOnboardingNotification
    
Check Response is NsdOnboardingNotification
    ${response}=    Output    response body
    Should Contain    ${response['headers']['Content-Type']}    application/json
    ${schema} =    NsdOnboardingNotification.schema.json
    Validate Json    ${schema}    ${response['body']}
    Log    Json Schema Validation OK

Send PUT Request to upload NSD Content as zip file in synchronous mode
Send PUT Request to upload NSD Content as zip file in synchronous mode
    Log    Trying to perform a PUT. This method upload the content of a NSD
    Log    Trying to perform a PUT. This method upload the content of a NSD
    Set Headers    {"Accept": "${ACCEPT_ZIP}"}
    Set Headers    {"Accept": "${ACCEPT_ZIP}"}
@@ -512,7 +503,9 @@ GET PNF Descriptors Information with attribute-based filter
    
    
Check HTTP Response Body PnfdInfos Matches the requested attribute-based filter
Check HTTP Response Body PnfdInfos Matches the requested attribute-based filter
    Log    Checking that attribute-based filter is matched
    Log    Checking that attribute-based filter is matched
    Should Be Equal As Strings    ${response['body'][0]['pnfdName']}    ${PNFD_NAME['pnfdName']}
==== BASE ====
    #todo
==== BASE ====


GET PNF Descriptors Information with invalid attribute-based filter
GET PNF Descriptors Information with invalid attribute-based filter
    Log    The GET method queries multiple PNF descriptors using Attribute-based filtering parameters. Negative case, with erroneous attribute name
    Log    The GET method queries multiple PNF descriptors using Attribute-based filtering parameters. Negative case, with erroneous attribute name
@@ -902,7 +895,10 @@ Check HTTP Response Body Is Empty
    
    
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
    Log    Check Response includes NSD Management Management according to filter
    Log    Check Response includes NSD Management Management according to filter
    Should Be Equal As Strings    ${response['body'][0]['callbackUri']}    ${filter_ok['callbackUri']}
==== BASE ====
    #TODO

==== BASE ====


Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
    Log    Check Response matches subscription
    Log    Check Response matches subscription