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

This merge request refers to the implementation of deltas between v4.4.1 and v3.7.1 of SOL012 NS Policy Managament Interface.

Deadline for review: Thursday 09th May 2024 @6pm CEST

Merge request reports

Loading
+4 −4
Changes for SOL012/PolicyManagement-API/schemas/Policies.schema.json: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
{  "type": "array",
   "items":
{
    "type": "array",
    "items": {
        "description": "This type represents an individual policy. It shall comply with the provisions defined in table 5.6.2.3-1.",
        "type": "object",
        "properties": {
@@ -21,7 +21,7 @@
                "type": "string"
            },
            "versions": {
			"description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred.\n",
                "description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred. Its value shall be the same as the version present in the actual policy content as defined by the \"policyVersion\" attribute in the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048].\n",
                "type": "array",
                "items": {
                    "description": "A version.\n",
@@ -49,7 +49,7 @@
                ]
            },
            "associations": {
			"description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF. The associations refer to identifiers of entities that the PF manages. E.g., if the PF is a VNFM, the policy can associate to VNF instances; if the PF is NFVO, the policy can associate to an NS instances. How the PF determines the scope of applicability of the policy when this attribute is absent is outside the scope of the present document.\n",
                "description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF, i.e., the target information in the policy content defined by the \"targetType\" attribute of the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048] is equal to \"COMMON\". An initial set of associations applicable to a policy to be set by the API producer may either be provided by the \"associations\" attribute in the \"CreatePolicyRequest\" or by the actual policy content via the \"targetObjectId\" attribute of the \"Policy” information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048]. Values of the \"associations\" attribute can be further modified with the PATCH method. See note 2 and note 3.\n",
                "type": "array",
                "items": {
                    "description": "An identifier with the intention of being globally unique.\n",
+2 −2
Changes for SOL012/PolicyManagement-API/schemas/Policy.schema.json: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
            "type": "string"
        },
        "versions": {
			"description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred.\n",
            "description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred. Its value shall be the same as the version present in the actual policy content as defined by the \"policyVersion\" attribute in the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048].\n",
            "type": "array",
            "items": {
                "description": "A version.\n",
@@ -47,7 +47,7 @@
            ]
        },
        "associations": {
			"description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF. The associations refer to identifiers of entities that the PF manages. E.g., if the PF is a VNFM, the policy can associate to VNF instances; if the PF is NFVO, the policy can associate to an NS instances. How the PF determines the scope of applicability of the policy when this attribute is absent is outside the scope of the present document.\n",
            "description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF, i.e., the target information in the policy content defined by the \"targetType\" attribute of the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048] is equal to \"COMMON\". An initial set of associations applicable to a policy to be set by the API producer may either be provided by the \"associations\" attribute in the \"CreatePolicyRequest\" or by the actual policy content via the \"targetObjectId\" attribute of the \"Policy” information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048]. Values of the \"associations\" attribute can be further modified with the PATCH method. See note 2 and note 3.\n",
            "type": "array",
            "items": {
                "description": "An identifier with the intention of being globally unique.\n",
+10 −10
Changes for SOL012/PolicyManagement-API/ApiVersion.robot: 10 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ POST API Version - Method not implemented
    ...    Test title: POST API version - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none    
@@ -21,7 +21,7 @@ GET API Version
    ...    Test title: GET API Version
    ...    Test objective: The objective is to test that GET method successfully returns ApiVersionInformation.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -34,7 +34,7 @@ PUT API Version - Method not implemented
    ...    Test title: PUT API Version - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -46,7 +46,7 @@ PATCH API Version - Method not implemented
    ...    Test title: PATCH API Version - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -58,7 +58,7 @@ DELETE API Version - Method not implemented
    ...    Test title: DELETE API Version - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented for this resource.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -70,7 +70,7 @@ POST API Version with apiMajorVersion - Method not implemented
    ...    Test title: POST API version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none    
@@ -82,7 +82,7 @@ GET API Version with apiMajorVersion
    ...    Test title: GET API Version with apiMajorVersion
    ...    Test objective: The objective is to test that GET method successfully returns ApiVersionInformation.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -95,7 +95,7 @@ PUT API Version with apiMajorVersion - Method not implemented
    ...    Test title: PUT API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -107,7 +107,7 @@ PATCH API Version with apiMajorVersion - Method not implemented
    ...    Test title: PATCH API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
@@ -119,7 +119,7 @@ DELETE API Version with apiMajorVersion - Method not implemented
    ...    Test title: DELETE API Version with apiMajorVersion - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented.
    ...    Pre-conditions: none
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v3.3.1
    ...    Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none 
+8 −8
Changes for SOL012/PolicyManagement-API/IndividualPolicy.robot: 8 added lines, 8 removed lines.
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] v3.4.1
    ...    Reference: Clause 5.5.4.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.4.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.4.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.4.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The individual policy is not deleted.
+6 −6
Changes for SOL012/PolicyManagement-API/IndividualSubscription.robot: 6 added lines, 6 removed lines.
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] v3.4.1
    ...    Reference: Clause 5.5.8.3.1 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.2 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.3 - ETSI GS NFV-SOL 012 [7] v4.4.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] v3.4.1
    ...    Reference: Clause 5.5.8.3.4 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -70,7 +70,7 @@ 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] v3.4.1
    ...    Reference: Clause 5.5.8.3.5 - ETSI GS NFV-SOL 012 [7] v4.4.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: The Policy Management subscription is no longer available in the NFV-MANO.
Loading
Loading