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

bug-fixes

parent 5ccf1c2a
...@@ -266,7 +266,7 @@ POST Subscription ...@@ -266,7 +266,7 @@ POST Subscription
${outputResponse}= Output response ${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse}
Send POST Request for duplicated subscription POST Subscription Duplication permitted
Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions
Pass Execution If ${VNFM_DUPLICATION} == 0 NVFO is not permitting duplication. Skipping the test Pass Execution If ${VNFM_DUPLICATION} == 0 NVFO is not permitting duplication. Skipping the test
Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Accept":"${ACCEPT}"}
...@@ -277,7 +277,7 @@ Send POST Request for duplicated subscription ...@@ -277,7 +277,7 @@ Send POST Request for duplicated subscription
${outputResponse}= Output response ${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse}
Send POST Request for duplicated subscription not permitted POST Subscription Duplication not permitted
Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions
Pass Execution If ${VNFM_DUPLICATION} == 1 NVFO is not permitting duplication. Skipping the test Pass Execution If ${VNFM_DUPLICATION} == 1 NVFO is not permitting duplication. Skipping the test
Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Accept":"${ACCEPT}"}
...@@ -401,4 +401,4 @@ DELETE Individual Subscription ...@@ -401,4 +401,4 @@ DELETE Individual Subscription
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} Delete ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
${outputResponse}= Output response ${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse}
\ No newline at end of file
...@@ -33,7 +33,7 @@ Create a new alarm subscription - DUPLICATION ...@@ -33,7 +33,7 @@ Create a new alarm subscription - DUPLICATION
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: the NFVO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists ... Applicability: the NFVO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
... Post-Conditions: duplicated subscription is created ... Post-Conditions: duplicated subscription is created
Send POST Request for duplicated subscription POST Subscription Duplication permitted
Check HTTP Response Status Code Is 201 Check HTTP Response Status Code Is 201
Check Operation Occurrence Id Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Body Json Schema Is FmSubscription
...@@ -48,7 +48,7 @@ Create a new alarm subscription - NO DUPLICATION ...@@ -48,7 +48,7 @@ Create a new alarm subscription - NO DUPLICATION
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: the NFVO decides to not create a duplicate subscription resource ... Applicability: the NFVO decides to not create a duplicate subscription resource
... Post-Conditions: duplicated subscription is not created ... Post-Conditions: duplicated subscription is not created
Send POST Request for duplicated subscription not permitted POST Subscription Duplication not permitted
Check HTTP Response Status Code Is 303 Check HTTP Response Status Code Is 303
Check Operation Occurrence Id Check Operation Occurrence Id
Check Postcondition Subscription Resource Returned in Location Header Is Available Check Postcondition Subscription Resource Returned in Location Header Is Available
...@@ -178,4 +178,4 @@ DELETE subscriptions - Method not implemented ...@@ -178,4 +178,4 @@ DELETE subscriptions - Method not implemented
... Applicability: none ... Applicability: none
... Post-Conditions: subscription is not deleted ... Post-Conditions: subscription is not deleted
DELETE Subscriptions DELETE Subscriptions
Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405
\ No newline at end of file
...@@ -1148,7 +1148,11 @@ GET test endpoint ...@@ -1148,7 +1148,11 @@ GET test endpoint
Sleep ${sleep_interval} Sleep ${sleep_interval}
Verify Mock Expectation ${req} Verify Mock Expectation ${req}
Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint}
Verify Resources not Deleted Verify Resources not Deleted
GET multiple vnfInstances log Trying to get information about an individual VNF instance
Check HTTP Response Status Code Is 200 Set Headers {"Accept":"${ACCEPT}"}
Check HTTP Response Body Json Schema Is vnfInstances 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}
...@@ -158,7 +158,7 @@ Check resource existence ...@@ -158,7 +158,7 @@ Check resource existence
Get ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId} Get ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}
Integer response status 200 Integer response status 200
Check Postcondition NS Instance is not crerated Check Postcondition NS Instance is not created
Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
...@@ -1101,4 +1101,4 @@ PUT notification ...@@ -1101,4 +1101,4 @@ PUT notification
Verify Mock Expectation ${req} Verify Mock Expectation ${req}
Log Cleaning the endpoint Log Cleaning the endpoint
Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment