Commit 1bb69311 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch 'SOL012-PolicyManagement' into '4.5.1-dev'

SOL012 Policy Managament - Implementation of deltas between v4.5.1 and v4.4.1

See merge request !320
parents c0172340 049d79de
Loading
Loading
Loading
Loading
+34 −9
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ POST Individual Policy - Method not implemented
    ...    Test title: POST Individual Policy - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.4.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.4.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -20,7 +20,7 @@ GET Information about an individual policy - Successful
    ...    Test title: GET Information about an individual policy - Successful
    ...    Test objective: The objective is to test the retrieval of Individual Policy and perform a JSON schema validation of the returned Policy data structure.
    ...    Pre-conditions: At least one policy is available in the NFV-MANO.
    ...    Reference: Clause 5.5.4.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.4.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -33,7 +33,7 @@ GET Information about an individual policy - NOT FOUND
    ...    Test title: GET Information about an individual policy - NOT FOUND
    ...    Test objective: The objective is to test that the retrieval of individual policy fails when using an invalid resource identifier.
    ...    Pre-conditions: At least one individual policy is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -46,7 +46,7 @@ PUT an individual policy - Method not implemented
    ...    Test title: PUT an individual policy - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.4.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.4.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -58,7 +58,7 @@ PATCH an individual policy - Successful
    ...    Test title: PATCH an individual policy - Successful
    ...    Test objective: The objective is to test that an individual policy is modified successfully when there is no conflict using PATCH method.
    ...    Pre-conditions: There should not exist a conflict as described in Reference.
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -71,7 +71,7 @@ PATCH an individual policy - Conflict
    ...    Test title: PATCH an individual policy - Conflict
    ...    Test objective: The objective is to test that an individual policy is not modified when there is a conflict using PATCH method.
    ...    Pre-conditions: There exists a conflict as described in Reference.
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -85,7 +85,7 @@ DELETE an individual policy - Successful
    ...    Test title: DELETE an individual policy - Successful
    ...    Test objective: The objective is to test that DELETE method deletes a deactivated individual policy.
    ...    Pre-conditions: The activation status of individual policy to be deleted is not set to ACTIVATED.
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The individual policy is not available anymore in the NFV-MANO.
@@ -98,7 +98,7 @@ DELETE an individual policy - CONFLICT
    ...    Test title: DELETE an individual policy - CONFLICT
    ...    Test objective: The objective is to test that DELETE method does not delete an activated individual policy.
    ...    Pre-conditions: The activation status of individual policy to be deleted is set to ACTIVATED.
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The individual policy is not deleted.
@@ -106,3 +106,28 @@ DELETE an individual policy - CONFLICT
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is   ProblemDetails    
    Check Postcondition Individual Policy is Not Deleted

PATCH an individual policy with permitted authorization scope 
     [Documentation]    Test ID: 10.3.1.3.9
    ...    Test title: PATCH an individual policy with permitted authorization scope 
    ...    Test objective: The objective is to test that an individual policy is modified successfully when a permitted authorization scope is used.
    ...    Pre-conditions: There should not exist a conflict as described in Reference.
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    PATCH Individual Policy with permitted authorization scope
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   PolicyModifications

PATCH an individual policy with permitted authorization scope 
     [Documentation]    Test ID: 10.3.1.3.10
    ...    Test title: PATCH an individual policy with not permitted authorization scope 
    ...    Test objective: The objective is to test that an individual policy is not modified when a not permitted authorization scope is used.
    ...    Pre-conditions: There should not exist a conflict as described in Reference.
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    PATCH Individual Policy with not permitted authorization scope
    Check HTTP Response Status Code Is    401
 No newline at end of file
+32 −7
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ POST Individual Subscription - Method not implemented
    ...    Test title: POST Individual Subscription - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -20,7 +20,7 @@ GET Information about an individual subscription - Successful
    ...    Test title: GET Information about an individual subscription - Successful
    ...    Test objective: The objective is to test the retrieval of Policy Management subscription and perform a JSON schema validation of the returned PolicySubscription data structure
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -33,7 +33,7 @@ GET Information about an individual subscription - NOT FOUND
    ...    Test title: GET Information about an individual subscription - NOT FOUND
    ...    Test objective: The objective is to test that the retrieval of individual Policy Management subscription fails when using an invalid resource identifier.
    ...    Pre-conditions: At least one Policy Management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -46,7 +46,7 @@ PUT an individual subscription - Method not implemented
    ...    Test title: PUT an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -58,7 +58,7 @@ PATCH an individual subscription - Method not implemented
    ...    Test title: PATCH an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.8.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -70,10 +70,35 @@ DELETE an individual subscription
    ...    Test title: DELETE an individual subscription
    ...    Test objective: The objective is to test that DELETE method deletes an individual subscription
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The Policy Management subscription is no longer available in the NFV-MANO.
    DELETE Individual Subscription
    Check HTTP Response Status Code Is    204
    Check Postcondition Individual Subscription is Deleted

GET Information about an individual subscription with permitted authorization scope
     [Documentation]    Test ID: 10.3.1.7.7
    ...    Test title: GET Information about an individual subscription with permitted authorization scope
    ...    Test objective: The objective is to test the retrieval of Policy Management subscription when a permitted authorization scope is used.
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Individual subscription with permitted authorization scope
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   PolicySubscription

GET Information about an individual subscription with not permitted authorization scope
     [Documentation]    Test ID: 10.3.1.7.8
    ...    Test title: GET Information about an individual subscription with not permitted authorization scope
    ...    Test objective: The objective is to test that retrieval of Policy Management subscription fails when a not permitted authorization scope is used.
    ...    Pre-conditions: At least one policy management subscription is available in the NFV-MANO.
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Individual subscription with not permitted authorization scope
    Check HTTP Response Status Code Is    401
 No newline at end of file
+7 −7
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Policy Change Notification
    ...    Test title: Policy Change Notification
    ...    Test objective: The objective is to test that Policy Change Notification is delivered with success to the notification consumer.
    ...    Pre-conditions: A subscription for policy change notification is available in the NFV-MANO.
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -21,7 +21,7 @@ Policy Conflict Notification
    ...    Test title: Policy Conflict Notification
    ...    Test objective: The objective is to test that Policy Conflict Notification is delivered with success to the notification consumer.
    ...    Pre-conditions: A subscription for policy conflict notification is available in the NFV-MANO.
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -33,7 +33,7 @@ Test the Notification Endpoint - Successful
    ...    Test title: Test the Notification Endpoint - Successful
    ...    Test objective: The objective is to test the Notification Endpoint provided by the notification consumer.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 5.5.9.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -45,7 +45,7 @@ Test the Notification Endpoint - UNREACHABLE
    ...    Test title: Test the Notification Endpoint - UNREACHABLE
    ...    Test objective: The objective is to test the Notification Endpoint provided by the notification consumer.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 5.5.7.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.7.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: The notification endpoint is unreachable by the API producer.
    ...    Post-Conditions: none 
@@ -58,7 +58,7 @@ PUT Notification endpoint - Method Not Implemented
    ...    Test title: PUT Notification endpoint - Method Not Implemented
    ...    Test objective: The objective is to test the PUT method for Notification Endpoint provided by the consumer is not implemented.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 5.5.9.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -70,7 +70,7 @@ PATCH Notification endpoint - Method Not Implemented
    ...    Test title: PATCH Notification endpoint - Method Not Implemented
    ...    Test objective: The objective is to test the PATCH method for Notification Endpoint provided by the consumer is not implemented.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 5.5.9.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -82,7 +82,7 @@ DELETE Notification endpoint - Method Not Implemented
    ...    Test title: DELETE Notification endpoint - Method Not Implemented
    ...    Test objective: The objective is to test the DELETE method for Notification Endpoint provided by the consumer is not implemented.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 5.5.9.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ Policy Change Notification
    ...    Test title: Policy Change Notification
    ...    Test objective: The objective is to test the dispatch of Policy Change Notification when the policy is changed, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
    ...    Pre-conditions: A subscription for policy change notification is available in the NFV-MANO.
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -26,7 +26,7 @@ Policy Conflict Notification
    ...    Test title: Policy Conflict Notification
    ...    Test objective: The objective is to test the dispatch of Policy Conflict Notification when a conflict in policy is detected, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
    ...    Pre-conditions: A subscription for policy conflict notification is available in the NFV-MANO.
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.9.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
+32 −8
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ POST Particular Version of an Individual Policy - Method not implemented
    ...    Test title: POST Particular Version of an Individual Policy - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.1 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -20,7 +20,7 @@ GET Information about a Particular Version of an Individual Policy - Successful
    ...    Test title: GET Information about a Particular Version of an Individual Policy - Successful
    ...    Test objective: The objective is to test that GET method fetches the content of a particular version of an individual policy.
    ...    Pre-conditions: Individual policy is available in the NFV-MANO. Policy contents are provided in the json/PolicyContent folder.
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
@@ -33,7 +33,7 @@ GET Information about a Particular Version of an Individual Policy - NOT FOUND
    ...    Test title: GET Information about a Particular Version of an Individual Policy - NOT FOUND
    ...    Test objective: The objective is to test that the information about a particular version of an individual policy fails when using an invalid resource identifier.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.2 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -46,7 +46,7 @@ PUT Particular Version of an individual policy - Successful
    ...    Test title: PUT Particular Version of an individual policy - Successful
    ...    Test objective: The objective is to test that the PUT method transfers the content of a particular version of an individual policy.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
@@ -58,7 +58,7 @@ PUT Particular Version of an individual policy - CONFLICT
    ...    Test title: PUT Particular Version of an individual policy - CONFLICT
    ...    Test objective: The objective is to test that the PUT method does not transfer the content of a particular version in case of a conflict.
    ...    Pre-conditions: The particular version has already been transferred to the API producer.
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
@@ -71,7 +71,7 @@ PATCH Particular Version of an individual policy - Method not implemented
    ...    Test title: PATCH Particular Version of an individual policy - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.4 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -83,7 +83,7 @@ DELETE Particular Version of an individual policy - Successful
    ...    Test title: DELETE Particular Version of an individual policy - Successful
    ...    Test objective: The objective is to test that the DELETE method deletes a particular version of an individual policy.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -95,10 +95,34 @@ DELETE Particular Version of an individual policy - CONFLICT
    ...    Test title: DELETE Particular Version of an individual policy - CONFLICT
    ...    Test objective: The objective is to test that the DELETE method does not delete a particular version of an individual policy in case of a conflict.
    ...    Pre-conditions:  The requested version of the individual policy is the selected version.
    ...    Reference: Clause 5.5.6.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Reference: Clause 5.5.6.3.5 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE Particular Version of an Individual Policy
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is   ProblemDetails

PUT Particular Version of an individual policy with permitted authorization scope
     [Documentation]    Test ID: 10.3.1.5.9
    ...    Test title: PUT Particular Version of an individual policy with permitted authorization scope
    ...    Test objective: The objective is to test that the PUT method transfers the content of a particular version of an individual policy when a permitted authorization scope is used.
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
    PUT Particular Version of an Individual Policy with permitted authorization scope
    Check HTTP Response Status Code Is    201

PUT Particular Version of an individual policy with not permitted authorization scope
     [Documentation]    Test ID: 10.3.1.5.10
    ...    Test title: PUT Particular Version of an individual policy with not permitted authorization scope
    ...    Test objective: The objective is to test that the PUT method fails to transfer the content of a particular version of an individual policy when a not permitted authorization scope is used..
    ...    Pre-conditions: none
    ...    Reference: Clause 5.5.6.3.3 - ETSI GS NFV-SOL 012 [9] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: The policy content type is either JSON, YAML or ZIP.
    ...    Post-Conditions: none
    PUT Particular Version of an Individual Policy with not permitted authorization scope
    Check HTTP Response Status Code Is    401
Loading