diff --git a/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityTask.robot b/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityTask.robot index 6e7e49605d2042a8243f5bd362399edbf21fddf8..9e22d5baa092156966ff316e317bc593e11bf865 100644 --- a/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityTask.robot +++ b/SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityTask.robot @@ -19,8 +19,8 @@ POST Change external VNF connectivity ... Post-Conditions: in response header Location shall not be null POST Change External VNF Connectivity Check HTTP Response Status Code Is 202 - Check Operation Occurrence Id - + Check Operation Occurrence Id existence + GET Change external VNF connectivity - Method not implemented [Documentation] Test ID: 7.3.1.10.2 ... Test title: GET Change external VNF connectivity - Method not implemented diff --git a/SOL003/VNFLifecycleManagement-API/HealVNFTask.robot b/SOL003/VNFLifecycleManagement-API/HealVNFTask.robot index d92525cb71575c3f1cdfcbfe52eb3133317c5643..03f6e12a30a621aad0cf57603b21c83f96449a17 100644 --- a/SOL003/VNFLifecycleManagement-API/HealVNFTask.robot +++ b/SOL003/VNFLifecycleManagement-API/HealVNFTask.robot @@ -38,7 +38,6 @@ Heal a vnfInstance Conflict (Not-Instantiated) Heal a vnfInstance Not Found - # TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent [Documentation] Test ID: 7.3.1.8.3 ... Test title: POST Heal a vnfInstance (Not-Instantiated) ... Test objective: The objective is to test that the operation cannot be executed because the VNF instance resource is not found. diff --git a/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot b/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot index a2c7bb6b2a8550511681350bfeb400582f850fad..75fd1287e8c2d03149460351166f9c5200a61db6 100644 --- a/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot +++ b/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot @@ -68,7 +68,7 @@ PATCH Individual VNFInstance Precondition failed [Documentation] Test ID: 7.3.1.2.5 ... Test title: PATCH Individual VNFInstance Precondition failed ... Test objective: The objective is to create a new VNF instance resource - ... Pre-conditions: A precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity + ... Pre-conditions: ETag mismatch ... Reference: section 5.4.3.3.4 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM ... Applicability: @@ -80,7 +80,7 @@ PATCH Individual VNFInstance Precondition failed PATCH Individual VNFInstance Conflict [Documentation] Test ID: 7.3.1.2.6 ... Test title: PATCH Individual VNFInstance Precondition failed - ... Test objective: The objective is to create a new VNF instance resource + ... Test objective: The objective is to test the conflict while modifying a VNF instance resource ... Pre-conditions: none ... Reference: section 5.4.3.3.4 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM @@ -89,7 +89,6 @@ PATCH Individual VNFInstance Conflict PATCH individual vnfInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails - #[Teardown] #We cannot know if the "scale" operation is finished easily because the 202 indicates only whether the operation has been accepted, not whether the operation has been finished DELETE Individual VNFInstance [Documentation] Test ID: 7.3.1.2.7 @@ -105,8 +104,8 @@ DELETE Individual VNFInstance DELETE Individual VNFInstance Conflict [Documentation] Test ID: 7.3.1.2.8 - ... Test title: DELETE Individual VNFInstance - ... Test objective: The objective is to verify that The operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. + ... Test title: DELETE Individual VNFInstance Conflict + ... Test objective: The objective is to verify that the deletion cannot be executed currently, due to a conflict with the state of the VNF instance resource. ... Pre-conditions: VNF instance resource is in INSTANTIATED state ... Reference: section 5.4.3.3.5 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM diff --git a/SOL003/VNFLifecycleManagement-API/RetryOperationTask.robot b/SOL003/VNFLifecycleManagement-API/RetryOperationTask.robot index 377382324225daf9708e452f24d2d1c4f7b096d9..85bfa4937428454a3bcbaa9aff2d9abbc6659252 100644 --- a/SOL003/VNFLifecycleManagement-API/RetryOperationTask.robot +++ b/SOL003/VNFLifecycleManagement-API/RetryOperationTask.robot @@ -14,7 +14,7 @@ Suite Setup Check resource existance Post Retry operation task [Documentation] Test ID: 7.3.1.13.1 ... Test title: Post Retry operation task - ... Test objective: The objective is to test that POST method The POST method initiates retrying a VNF lifecycle operation if the operation has experienced a temporary failure + ... Test objective: The objective is to test that POST method The POST method initiates retrying a VNF lifecycle operation if the operation is in FAILED_TEMP state ... Pre-conditions: the "VNF LCM operation occurrence" resource is in "FAILED_TEMP" state. ... Reference: section 5.4.14.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM @@ -25,9 +25,8 @@ Post Retry operation task Check Operation Occurrence Id Post Retry operation task Conflict (Not-FAILED_TEMP) - # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state [Documentation] Test ID: 7.3.1.13.2 - ... Test title: Post Retry operation task + ... Test title: Post Retry operation task Conflict (Not-FAILED_TEMP) ... Test objective: The objective is to test that the retry operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. (i.e. the VNF instance resource is not in FAILED_TEMP state) ... Pre-conditions: the "VNF LCM operation occurrence" resource is not in "FAILED_TEMP" state. ... Reference: section 5.4.14.3.1 - SOL003 v2.4.1 @@ -40,9 +39,8 @@ Post Retry operation task Conflict (Not-FAILED_TEMP) Post Retry operation task Not Found - # TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent [Documentation] Test ID: 7.3.1.13.3 - ... Test title: Post Retry operation task + ... Test title: Post Retry operation task Not Found ... Test objective: The objective is to test that the retry operation cannot be executed because the operation is not supported ... Pre-conditions: ... Reference: section 5.4.14.3.1 - SOL003 v2.4.1 diff --git a/SOL003/VNFLifecycleManagement-API/RollbackOperationTask.robot b/SOL003/VNFLifecycleManagement-API/RollbackOperationTask.robot index 8c97852789bcf6c9707341d903e13fa56a45ba3a..918b749ff7538921efcd88af2442ced2f6c4e374 100644 --- a/SOL003/VNFLifecycleManagement-API/RollbackOperationTask.robot +++ b/SOL003/VNFLifecycleManagement-API/RollbackOperationTask.robot @@ -13,7 +13,7 @@ Suite Setup Check resource existance Post Rollback operation task [Documentation] Test ID: 7.3.1.14.1 ... Test title: Post Rollback operation task - ... Test objective: The objective is to test that POST method The POST method initiates rollback a VNF lifecycle operation if that operation has experienced a temporary failure + ... Test objective: The objective is to test that POST method initiates rollback on a VNF lifecycle operation ... Pre-conditions: the "VNF LCM operation occurrence" resource is in "FAILED_TEMP" state. ... Reference: section 5.4.15.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM @@ -26,8 +26,8 @@ Post Rollback operation task Post Rollback operation task Conflict (Not-FAILED_TEMP) # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state [Documentation] Test ID: 7.3.1.14.2 - ... Test title: Post Rollback operation task - ... Test objective: The objective is to test that POST method The POST method initiates rollback a VNF lifecycle operation if that operation has experienced a temporary failure + ... Test title: Post Rollback operation task Conflict (Not-FAILED_TEMP) + ... Test objective: The objective is to test that POST method initiates a rollback on a VNF lifecycle operation ... Pre-conditions: the "VNF LCM operation occurrence" resource is not in "FAILED_TEMP" state. ... Reference: section 5.4.15.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM @@ -39,9 +39,8 @@ Post Rollback operation task Conflict (Not-FAILED_TEMP) Post Rollback operation task Not Found - # TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent [Documentation] Test ID: 7.3.1.14.3 - ... Test title: Post Rollback operation task + ... Test title: Post Rollback operation task Not Found ... Test objective: The objective is to test that the retry operation cannot be executed because the operation is not supported ... Pre-conditions: ... Reference: section 5.4.15.3.1 - SOL003 v2.4.1 diff --git a/SOL003/VNFLifecycleManagement-API/ScaleVNFTask.robot b/SOL003/VNFLifecycleManagement-API/ScaleVNFTask.robot index d16d84e20122c6df6ae68021c6fd7d51033e80b1..23f5a7be6c0ab1332793891cf811a942f634b8c8 100644 --- a/SOL003/VNFLifecycleManagement-API/ScaleVNFTask.robot +++ b/SOL003/VNFLifecycleManagement-API/ScaleVNFTask.robot @@ -26,7 +26,7 @@ POST Scale a vnfInstance Conflict (Not-Instantiated) # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state [Documentation] Test ID: 7.3.1.4.2 ... Test title: POST Scale a vnfInstance Conflict (Not-Instantiated) - ... Test objective: The objective is to verify that the operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. (VNF instance resource is in NOT-INSTANTIATED state.) + ... Test objective: The objective is to verify that the scale operation cannot be executed ... Pre-conditions: VNF instance resource is in NOT-INSTANTIATED state ... Reference: section 5.4.5.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM diff --git a/SOL003/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot b/SOL003/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot index 85547b88d21f1e3c17c66469b2a7ec456e44f5a9..b473a6524979ad8bb1466a4f7258fb5dcd6b2d04 100644 --- a/SOL003/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot +++ b/SOL003/VNFLifecycleManagement-API/ScaleVNFToLevelTask.robot @@ -24,8 +24,8 @@ POST Scale a vnfInstance to level POST Scale a vnfInstance to level Conflict (Not-Instantiated) # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state [Documentation] Test ID: 7.3.1.5.2 - ... Test title: POST Scale a vnfInstance to level - ... Test objective: The objective is to verify that the operation cannot be executed currently, due to a conflict with the state of the VNF instance resource. + ... Test title: POST Scale a vnfInstance to level Conflict (Not-Instantiated) + ... Test objective: The objective is to verify that the scale operation cannot be executed ... Pre-conditions: VNF instance resource is in NOT-INSTANTIATED state ... Reference: section 5.4.6.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM @@ -65,7 +65,7 @@ GET Scale to level VNFInstance - Method not implemented PUT Scale to level VNFInstance - Method not implemented [Documentation] Test ID: 7.3.1.5.5 - ... Test title: GET Scale to level VNFInstance - Method not implemented + ... Test title: PUT Scale to level VNFInstance - Method not implemented ... Test objective: The objective is to verify that the method is not implemented ... Pre-conditions: ... Reference: section 5.4.6.3.3 - SOL003 v2.4.1 @@ -77,7 +77,7 @@ PUT Scale to level VNFInstance - Method not implemented PATCH Scale to level VNFInstance - Method not implemented [Documentation] Test ID: 7.3.1.5.6 - ... Test title: GET Scale to level VNFInstance - Method not implemented + ... Test title: PATCH Scale to level VNFInstance - Method not implemented ... Test objective: The objective is to verify that the method is not implemented ... Pre-conditions: ... Reference: section 5.4.6.3.4 - SOL003 v2.4.1 diff --git a/SOL003/VNFLifecycleManagement-API/Subscriptions.robot b/SOL003/VNFLifecycleManagement-API/Subscriptions.robot index eaa394467726ce6ce50ded32579a96796cf674b5..74e25b3a966887db33512ff867cff2468a85c286 100644 --- a/SOL003/VNFLifecycleManagement-API/Subscriptions.robot +++ b/SOL003/VNFLifecycleManagement-API/Subscriptions.robot @@ -75,7 +75,7 @@ GET Subscription - Filter GET subscriptions - Bad Request Invalid attribute-based filtering parameters [Documentation] Test ID: 7.3.1.17.6 - ... Test title: GET Subscriptions - Filter + ... Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters ... Test objective: The objective is Get the list of active subscriptions using an invalid filter ... Pre-conditions: none ... Reference: section 5.4.18.3.2 - SOL003 v2.4.1 @@ -94,7 +94,7 @@ PUT subscriptions - Method not implemented ... Reference: section 5.4.18.3.3 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM ... Applicability: none - ... Post-Conditions: subscription not modified + ... Post-Conditions: none PUT subscriptions Check HTTP Response Status Code Is 405 diff --git a/SOL003/VNFLifecycleManagement-API/VNFInstances.robot b/SOL003/VNFLifecycleManagement-API/VNFInstances.robot index dc444937e455e10596b71133eacaf2c05ba2e1b7..7bd0ce2374535a4ed8ccddb4244842edc391428a 100644 --- a/SOL003/VNFLifecycleManagement-API/VNFInstances.robot +++ b/SOL003/VNFLifecycleManagement-API/VNFInstances.robot @@ -13,7 +13,7 @@ POST Create a new vnfInstance [Documentation] Test ID: 7.3.1.1.1 ... Test title: Create a VNF instance ... Test objective: The objective is to create a new VNF instance resource - ... Pre-conditions: an onboarded VNFD + ... Pre-conditions: none ... Reference: section 5.4.2.3.1 - SOL003 v2.4.1 ... Config ID: Config_prod_VNFM ... Applicability: diff --git a/SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot b/SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot index 1e122404b96d095ea8a0ba685f9ef642325cf3a7..9060cb931f5e15c7aeb40a2c9a0a2e2959942ea1 100644 --- a/SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot +++ b/SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot @@ -30,6 +30,10 @@ Check Operation Occurrence Id ${vnfLcmOpOccId}= Get Value From Json ${response.headers} $..Location Should Not Be Empty ${vnfLcmOpOccId} +Check Operation Occurrence Id existence + ${vnfLcmOpOccId}= Get Value From Json ${response.headers} $..Location + Should Not Be Empty ${vnfLcmOpOccId} + Check HTTP Response Body Json Schema Is [Arguments] ${input} ${schema} = Catenate ${input} .schema.json diff --git a/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot b/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot index c4bccbd0178ee60f78fbdec34d0c0cb6fdd4cf01..f47800cf93399565ca3fd940ef068a6fb907342e 100644 --- a/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot @@ -19,7 +19,7 @@ Post Continue operation task ... Post-Conditions: NS instance status not equal to FAILED_TEMP POST Continue operation task Check HTTP Response Status Code Is 202 - Check resource has not a temporary failure + Check operation resource state is not FAILED_TEMP Post Continue operation task Not Found [Documentation] Test ID: 5.3.2.12.2 diff --git a/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot b/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot index aed6319f7e700495caeba4ada18373a818a9c87d..c426505fa6fbbe0bfea33cbf213ceda21cb093bd 100644 --- a/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot +++ b/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot @@ -23,7 +23,7 @@ Post Individual NSInstance - Method not implemented Get Information about an individual NS Instance [Documentation] Test ID: 5.3.2.2.2 ... Test title: Get Information about an individual NS Instance - ... Test objective: The objective is to test that GET method return an individual NS instance + ... Test objective: The objective is to test that GET method returns an individual NS instance ... Pre-conditions: none ... Reference: section 6.4.3.3.2 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO @@ -61,7 +61,7 @@ DELETE Individual NSInstance [Documentation] Test ID: 5.3.2.2.5 ... Test title: DELETE Individual NSInstance ... Test objective: The objective is to test that DELETE method delete a not INSTANTIATED NS instance - ... Pre-conditions: a not INSTANTIATED NS instance. + ... Pre-conditions: NS instance is not INSTANTIATED . ... Reference: section 6.4.3.3.5 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none diff --git a/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot b/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot index 03654fea79122ff1ddce1f802b6d4ca82901bee1..4b76ce06d21a3f18c5a246d9610da896a6becb99 100644 --- a/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot +++ b/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot @@ -22,7 +22,7 @@ Post Individual NS LCM occurences - Method not implemented Get status information about Individual NS LCM OCC [Documentation] Test ID: 5.3.2.9.2 ... Test title: Get status information about Individual NS LCM OCC - ... Test objective: The objective is to test that GET method return the LCM occurrence of the NS + ... Test objective: The objective is to test that GET method returns the LCM occurrence of the NS ... Pre-conditions: none ... Reference: section 6.4.10.3.2 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO diff --git a/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot b/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot index eae0c6e87b71a56443b64f38979656e0b31daa13..72a4804af2ed4633a9c8239ff54453172246a6a9 100644 --- a/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot @@ -34,6 +34,7 @@ Post Instantiate a nsInstance Conflict POST Instatiate nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + Check resource not_instantiated GET Instantiate NSInstance - Method not implemented [Documentation] Test ID: 5.3.2.3.3 @@ -55,7 +56,7 @@ PUT Instantiate NSInstance - Method not implemented ... Reference: section 6.4.4.3.3 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS instance is not modified on the NFVO + ... Post-Conditions: none. PUT Instantiate NSInstance Check HTTP Response Status Code Is 405 @@ -67,7 +68,7 @@ PATCH Instantiate NSInstance - Method not implemented ... Reference: section 6.4.4.3.4 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS instance is not modified on the NFVO + ... Post-Conditions: none. PATCH Instantiate NSInstance Check HTTP Response Status Code Is 405 @@ -79,6 +80,6 @@ DELETE Instantiate NSInstance - Method not implemented ... Reference: section 6.4.4.3.5 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS instance is not deleted from the NFVO + ... Post-Conditions: none. DELETE Instantiate NSInstance Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot b/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot index db0dd77b71d3269d703a18f56b6cf82c5b32e66e..91303e1537517c8965a46b0f74c787e570b11ac5 100644 --- a/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot +++ b/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot @@ -16,16 +16,13 @@ Post NS LCM occurences - Method not implemented ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none - POST Terminate NSInstance - Check HTTP Response Status Code Is 202 - Check HTTP Response Header Contains Location POST NS LCM OP Occurences Check HTTP Response Status Code Is 405 Get status information about multiple NS LCM OCC [Documentation] Test ID: 5.3.2.8.2 ... Test title: Get status information about multiple NS LCM OCC - ... Test objective: The objective is to test that GET method return a list of LCM occurrences of the NS + ... Test objective: The objective is to test that GET method returns a list of LCM occurrences of the NS ... Pre-conditions: At least one LCM OCC available in the NFVO ... Reference: section 6.4.9.3.2 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot index ab9e277171ee4ea7a32cf081b93354ccb103f66b..336673eb73fed5ec24a0c95cd6a15542b1264ae3 100644 --- a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot +++ b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot @@ -120,13 +120,13 @@ Check operation resource state is FAILED_TEMP Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Get ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId} String response body instantiationState FAILED_TEMP - -Check resource has not a temporary failure +Check operation resource state is not FAILED_TEMP + Check operation resource state is FAILED_TEMP Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Get ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId} - String response body instantiationState != FAILED_TEMP + String response body instantiationState != FAILED_TEMP Check resource is finally failed Set Headers {"Accept":"${ACCEPT}"} diff --git a/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot b/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot index 9d0996ee45c658c94cb6c47fb813d6a0fe7a9a01..6d9fce6cafe45df4609be6db5e2a4a0a789ab073 100644 --- a/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot @@ -20,7 +20,7 @@ Post Retry operation task POST Retry operation task Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location - Check resource has not a temporary failure + Check operation resource state is not FAILED_TEMP Post Retry operation task Not Found [Documentation] Test ID: 5.3.2.10.2 diff --git a/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot b/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot index 905fc65c843826010b638a9e65f3db93e76469bd..2368c94607c79cbc5209a511575d6996e472f1e9 100644 --- a/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot @@ -11,7 +11,7 @@ Library JSONSchemaLibrary schemas/ Post Rollback operation task [Documentation] Test ID: 5.3.2.11.1 ... Test title: Post Rollback operation task - ... Test objective: The objective is to test that POST method trigger a rollback on the NS LCM operation + ... Test objective: The objective is to test that POST method triggers a rollback on the NS LCM operation ... Pre-conditions: NS instance status equal to FAILED_TEMP ... Reference: section 6.4.12.3.1 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO @@ -19,12 +19,12 @@ Post Rollback operation task ... Post-Conditions: NS instance status not equal to FAILED_TEMP POST Rollback operation task Check HTTP Response Status Code Is 202 - Check resource has not a temporary failure + Check operation resource state is not FAILED_TEMP Post Rollback operation task Not Found [Documentation] Test ID: 5.3.2.11.2 ... Test title: Post Rollback operation task Not Found - ... Test objective: The objective is to test that POST method fail if NS LCM operation is not found + ... Test objective: The objective is to test that POST method fails if NS LCM operation is not found ... Pre-conditions: none ... Reference: section 6.4.12.3.1 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO diff --git a/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot b/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot index 6572d920b20ab80569f7205d77313684aee98e95..9142b15adcecdb134cd62c231498431a04a9aa15 100644 --- a/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot @@ -11,12 +11,12 @@ Suite Setup Check resource existance POST Scale a nsInstance [Documentation] Test ID: 5.3.2.4.1 ... Test title: POST Scale a nsInstance - ... Test objective: The objective is to test that POST method create a Scale NS instance + ... Test objective: The objective is to test that POST method scales NS instance ... Pre-conditions: the resource is in NOT_INSTANTIATED state ... Reference: section 6.4.5.3.1 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The Scale NS is not triggered on the NFVO + ... Post-Conditions: none POST scale nsInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location @@ -25,12 +25,12 @@ POST Scale a nsInstance POST Instantiate a nsInstance Conflict [Documentation] Test ID: 5.3.2.4.2 ... Test title: POST Instantiate a nsInstance Conflict - ... Test objective: The objective is to test that POST method can't Scale NS instance because of conflict in resource status (i.e. because the resource is in not in NOT_INSTANTIATED state) + ... Test objective: The objective is to test that POST method can't scale NS instance because of conflict in resource status (i.e. because the resource is in not in NOT_INSTANTIATED state) ... Pre-conditions: the resource is in not in NOT_INSTANTIATED state ... Reference: section 6.4.5.3.1 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The Scale NS is not triggered on the NFVO + ... Post-Conditions: The Scale NS operation is not triggered on the NFVO POST scale nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails diff --git a/SOL005/NSLifecycleManagement-API/Subscriptions.robot b/SOL005/NSLifecycleManagement-API/Subscriptions.robot index f6d0d86c6702f3be4b3d63bc36c3f347d718a927..bf3594cd3f997e88603f08fa484fd7d39c78d915 100644 --- a/SOL005/NSLifecycleManagement-API/Subscriptions.robot +++ b/SOL005/NSLifecycleManagement-API/Subscriptions.robot @@ -65,7 +65,7 @@ GET Subscriptions GET Subscription - Filter [Documentation] Test ID: 5.3.2.15.5 ... Test title: GET Subscription - Filter - ... Test objective: The objective is to test that GET method retrive the list of existing subscriptions + ... Test objective: The objective is to test that GET method retrive the list of existing subscriptions filtered ... Pre-conditions: none ... Reference: section 6.4.16.3.2 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO @@ -83,7 +83,7 @@ PUT subscriptions - Method not implemented ... Reference: section 6.4.16.3.3 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation + ... Post-Conditions: none PUT subscriptions Check HTTP Response Status Code Is 405 @@ -95,18 +95,18 @@ PATCH subscriptions - Method not implemented ... Reference: section 6.4.16.3.4 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation + ... Post-Conditions: none PATCH subscriptions Check HTTP Response Status Code Is 405 DELETE subscriptions - Method not implemented - [Documentation] Test ID: 5.3.2.15.6 + [Documentation] Test ID: 5.3.2.15.8 ... Test title: DELETE subscriptions - Method not implemented ... Test objective: The objective is to test that DELETE method can't modify a NS lifecycle management subscription ... Pre-conditions: none ... Reference: section 6.4.16.3.5 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NS lifecycle management subscription is not deleted by the operation + ... Post-Conditions: none DELETE subscriptions Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot b/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot index 9c972f66afdaffba50ac1873c55db28af5e1ec4e..4a1407b527de79009794648e5b015ed5c7829f9c 100644 --- a/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot @@ -25,7 +25,7 @@ POST Terminate a NSInstance Conflict [Documentation] Test ID: 5.3.2.7.2 ... Test title: POST Terminate a NSInstance Conflict ... Test objective: The objective is to test that POST method can't terminate the NS because of conflict in resource status (i.e. the resource is not in INSTANTIATED state) - ... Pre-conditions: the resource is not in INSTANTIATED state + ... Pre-conditions: NS instance is in NOT_INSTANTIATED state ... Reference: section 6.4.8.3.1 - SOL005 v2.4.1 ... Config ID: Config_prod_NFVO ... Applicability: none @@ -33,6 +33,7 @@ POST Terminate a NSInstance Conflict POST Terminate NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + Check resource not_instantiated GET Terminate NSInstance- Method not implemented [Documentation] Test ID: 5.3.2.7.3