aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pap/pap.rst
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2020-01-27 10:50:02 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2020-01-28 12:02:02 +0000
commit8e45504ed9cb6cfbaec2727b20a5ab1480234cd9 (patch)
tree571625d82353b7c9d9de065e59b9280c0700e6f5 /docs/pap/pap.rst
parentccf6657a069558970e28e2a3012cfca38cc017cc (diff)
Updating documentation for supported policy type changes during PdpGroup update
Change-Id: I9efe9dd118fb0ec1a81fe37deb94fda9a86a9e65 Issue-ID: POLICY-2023 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'docs/pap/pap.rst')
-rw-r--r--docs/pap/pap.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/pap/pap.rst b/docs/pap/pap.rst
index 41b9c5e5..bca9334f 100644
--- a/docs/pap/pap.rst
+++ b/docs/pap/pap.rst
@@ -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