Updating documentation for supported policy type changes during PdpGroup update 11/100811/2
authora.sreekumar <ajith.sreekumar@est.tech>
Mon, 27 Jan 2020 10:50:02 +0000 (10:50 +0000)
committera.sreekumar <ajith.sreekumar@est.tech>
Tue, 28 Jan 2020 12:02:02 +0000 (12:02 +0000)
Change-Id: I9efe9dd118fb0ec1a81fe37deb94fda9a86a9e65
Issue-ID: POLICY-2023
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
docs/pap/pap.rst

index 41b9c5e..bca9334 100644 (file)
@@ -146,15 +146,22 @@ description of PDP group states, see the :ref:`ONAP Policy Framework Architectur
 
 This operation allows the PDP groups and subgroups to be created and updated. Many PDP groups can be created or updated
 in a single POST operation by specifying more than one PDP group in the POST operation body.
-This can be used to update the policy types supported by various subgroups.
+This can be used to create the PDP group by providing all the details including the supported policy types for each subgroup.
 However, it cannot be used to update policies; that is done using one of
-the deployment requests.  Consequently, the "policy" property of this
+the deployment requests.  Consequently, the "policies" property of this
 request will be ignored.
+This can also be used to update a PDP Group, but supported policy types cannot be updated during the update operation.
+So, "policies" and "supportedPolicyTypes" properties in the request will be ignored if provided during the PDP Group update operation.
 
 .. note::
   If a subgroup is to be deleted from a PDP Group, then the policies must be removed from
   the subgroup first.
 
+.. note::
+  Policies cannot be added/updated during PDP Group create/update operations. So, if provided, they are ignored.
+  Supported policy types are defined during PDP Group creation. They cannot be updated once they are created.
+  So, supportedPolicyTypes are expected during PDP Group create, but ignored if provided during PDP Group update.
+
 Here is a sample request:
 
 .. literalinclude:: request/groups-batch-pap-req.json