diff options
author | 2021-06-29 17:01:21 -0400 | |
---|---|---|
committer | 2021-06-30 13:19:08 -0400 | |
commit | 15d89d8bfee2a56e5db53203983f20173a4165bb (patch) | |
tree | 2775109df4094a9f40f72fd3b3fda4d94b5269a3 /packages/policy-pap-tarball/src | |
parent | 209f0357e93fd45b859f1f854a5331461b08bd2a (diff) |
Add ability to turn on/off pdp statistics
Adding an ability in pap to turn on/off processing of pdp statistics.
By default it will be turned on and can be changed via configuration.
Issue-ID: POLICY-3450
Change-Id: I093fe3f1390769f9acf2cfe85dd0d4edf0539de8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit 57e39b87ac53c128502110b64b06947e9e380d4e)
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'packages/policy-pap-tarball/src')
-rw-r--r-- | packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json | 1 | ||||
-rw-r--r-- | packages/policy-pap-tarball/src/main/resources/etc/s3pConfig.json | 23 |
2 files changed, 1 insertions, 23 deletions
diff --git a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json index f0bee8af..2f37cb66 100644 --- a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json +++ b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json @@ -28,6 +28,7 @@ "databasePassword": "policy_user", "persistenceUnit": "PolicyMariaDb" }, + "savePdpStatisticsInDb": true, "topicParameterGroup": { "topicSources" : [{ "topic" : "POLICY-PDP-PAP", diff --git a/packages/policy-pap-tarball/src/main/resources/etc/s3pConfig.json b/packages/policy-pap-tarball/src/main/resources/etc/s3pConfig.json deleted file mode 100644 index cc067930..00000000 --- a/packages/policy-pap-tarball/src/main/resources/etc/s3pConfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "PapGroup", - "restServerParameters": { - "host": "0.0.0.0", - "port": 6969, - "userName": "healthcheck", - "password": "zb!XztG34", - "https": true, - "aaf": false - }, - "topicParameterGroup": { - "topicSources" : [{ - "topic" : "POLICY-PDP-PAP", - "servers" : [ "message-router" ], - "topicCommInfrastructure" : "dmaap" - }], - "topicSinks" : [{ - "topic" : "POLICY-PDP-PAP", - "servers" : [ "message-router" ], - "topicCommInfrastructure" : "dmaap" - }] - } -}
\ No newline at end of file |