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

bug-fixes

parent 02145d84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -292,6 +292,6 @@ Check HTTP Response Body Json Schema Is
Check resource existance
    Set Headers    {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} 
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions//${response['body']['id']}
    Integer    response status    200
+6 −0
Original line number Diff line number Diff line
@@ -12,6 +12,12 @@ Library Process
${original_etag}    1234

*** Keywords ***
Check created Subscription existance
    ${subscriptionId} = ${response['body']['id']}
    Set Headers    {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} 
    Integer    response status    200
Check Operation Occurrence Id
    ${opOccId}=    Get Value From Json    ${response.headers}    $..Location
    Should Not Be Empty    ${opOccId}
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ Create a new Fault Management alarm subscription
    Check HTTP Response Status Code Is    201
    Check Operation Occurrence Id
    Check HTTP Response Body Json Schema Is  FmSubscription
    Check created Subscription existance 
  

Create a new alarm subscription - DUPLICATION
@@ -50,6 +51,7 @@ Create a new alarm subscription - NO DUPLICATION
    Check HTTP Response Status Code Is    303
    Check Operation Occurrence Id
    Check HTTP Response Body Json Schema Is  FmSubscription
    Check created Subscription existance 

Retrieve a list of alarm subscriptions
    [Documentation]    Test ID: 7.3.5.3.4
+8 −4
Original line number Diff line number Diff line
@@ -1149,6 +1149,10 @@ GET test endpoint
    Verify Mock Expectation  ${req}
    Clear Requests  ${callback_endpoint}    	 
Verify Resources not Deleted  	
    GET multiple vnfInstances
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    vnfInstances 	
 No newline at end of file
    log    Trying to get information about an individual VNF instance
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${response['body']['id']} 		
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -20,3 +20,4 @@ NS Instance Deletion
    DELETE IndividualNSInstance
    Check HTTP Response Status Code Is    204
    Check HTTP Response Body Json Schema Is    NsIdentifierDeletionNotification
    Check Instance Deleted
 No newline at end of file
Loading