aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2021-07-15 14:58:44 +0100
committeradheli.tavares <adheli.tavares@est.tech>2021-07-16 14:03:22 +0100
commit5762c5765d4921b4f26de3da3eba0500095d731f (patch)
tree6691e5e451111067f37a1486ae3ce5b7f10b2899
parent50bf5ca9fc7fe96c4751a5444b60e3ede51f72a0 (diff)
Document Disable collection of PdpStatistics
Issue-ID: POLICY-3459 Change-Id: I108fff4a293ccccff35afbc636c7f04880f0dc3c Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
-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