Document Disable collection of PdpStatistics 60/122660/4
authoradheli.tavares <adheli.tavares@est.tech>
Thu, 15 Jul 2021 13:58:44 +0000 (14:58 +0100)
committeradheli.tavares <adheli.tavares@est.tech>
Fri, 16 Jul 2021 13:03:22 +0000 (14:03 +0100)
Issue-ID: POLICY-3459
Change-Id: I108fff4a293ccccff35afbc636c7f04880f0dc3c
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
docs/pap/pap.rst

index fe2288b..0f7c0c6 100644 (file)
@@ -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