aboutsummaryrefslogtreecommitdiffstats
path: root/docs/pap
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pap')
-rw-r--r--docs/pap/pap.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/pap/pap.rst b/docs/pap/pap.rst
index fe2288bd..0f7c0c61 100644
--- a/docs/pap/pap.rst
+++ b/docs/pap/pap.rst
@@ -369,11 +369,27 @@ Here is a sample response:
.. literalinclude:: response/pdp-statistics-pap-resp.json
:language: json
+3 Configuration
+=================
+
+3.1 Disable collection of PDP Statistics
+========================================
+
+This configuration is to inform PAP to not save the PDP statistics in the database.
+
+In `config.json
+<https://github.com/onap/policy-pap/blob/master/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json>`_,
+add or change the property savePdpStatisticsInDb to false.
+
+.. note::
+ By default, if the property is not present, it will be considered as false and
+ PDP statistics will not be saved in the database.
+
-3 Future Features
+4 Future Features
=================
-3.1 Disable policies in PDP
+4.1 Disable policies in PDP
===========================
This operation will allow disabling individual policies running in PDP engine. It is mainly beneficial