Commit fd44ec14 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #155

parent 02d14ee1
Loading
Loading
Loading
Loading
+1 −1
Changes for SOL002/VNFIndicator-API/Subscriptions.robot: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -254,7 +254,7 @@ Check Postcondition VNF Indicator Subscription Is Set
    
    
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 VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
    @{words} =  Split String    ${POS_FILTER}       ,${SEPERATOR} 
    @{words} =  Split String    ${POS_FILTER}       ${SEPARATOR} 
    Should Be Equal As Strings    ${response['body'][0]['callbackUri']}    @{words}[1]
    Should Be Equal As Strings    ${response['body'][0]['callbackUri']}    @{words}[1]
    
    
Create Sessions
Create Sessions
+3 −3
Changes for SOL002/VNFIndicator-API/VNFIndicators.robot: 3 added lines, 3 removed lines.
Original line number Original line Diff line number Diff line
@@ -296,9 +296,9 @@ Check Postcondition VNF Indicators Exist
    
    
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
    Log    Check Response includes VNF Indicators according to filter
    Log    Check Response includes VNF Indicators according to filter
    @{attr} =  Split String    ${POS_FILTER}       ,${VAR_SEPERATOR} 
    @{attr} =  Split String    ${POS_FILTER}       ${VAR_SEPARATOR} 
    @{var_name} =    Split String    @{attr}[0]       ,${SEPERATOR}
    @{var_name} =    Split String    @{attr}[0]       ${SEPARATOR}
    @{var_id} =    Split String    @{attr}[1]       ,${SEPERATOR}
    @{var_id} =    Split String    @{attr}[1]       ${SEPARATOR}
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"
    Should Be True     "${response['body'][0]['name']}"=="@{var_name}[1]" and "${response['body'][0]['vnfInstanceId']}"=="@{var_id}[1]"


Check LINK in Header
Check LINK in Header
+1 −1
Changes for SOL002/VNFIndicator-API/VnfIndicatorsInVnfInstanceId.robot: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -227,7 +227,7 @@ Check HTTP Response Body Includes Requested VNF Instance ID
    
    
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
    @{words} =  Split String    ${POS_FIELDS}       ,${SEPERATOR} 
    @{words} =  Split String    ${POS_FIELDS}       ${SEPARATOR} 
    Should Be Equal As Strings    ${response['body'][0]['name']}    @{words}[1]
    Should Be Equal As Strings    ${response['body'][0]['name']}    @{words}[1]


Check Postcondition Indicators for VNF instance Exist
Check Postcondition Indicators for VNF instance Exist
+1 −1
Changes for SOL002/VNFIndicator-API/environment/subscriptions.txt: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -7,4 +7,4 @@ ${NEG_FILTER} callback=http://127.0.0.1/subscribe
${response}=    httpresponse
${response}=    httpresponse
${total_polling_time}   2 min
${total_polling_time}   2 min
${polling_interval}     10 sec
${polling_interval}     10 sec
${SEPERATOR}      =
${SEPARATOR}      =
 No newline at end of file
 No newline at end of file
+1 −1
Changes for SOL002/VNFIndicator-API/environment/vnfIndicatorinVnfInstance.txt: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -4,4 +4,4 @@ ${erroneousVnfInstanceId} erroneousVnfInstanceId
${POS_FIELDS}     name=vnfIndicator
${POS_FIELDS}     name=vnfIndicator
${NEG_FIELDS}     wrongName=any_value
${NEG_FIELDS}     wrongName=any_value
${response}=    httpresponse
${response}=    httpresponse
${SEPERATOR}      =
${SEPARATOR}      =
 No newline at end of file
 No newline at end of file
Loading