summaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
AgeCommit message (Collapse)AuthorFilesLines
2021-12-14Migrate pap startup & controllers to spring boota.sreekumar1-84/+0
This commit migrates pap config, startup and controllers to spring boot. Change-Id: Icf91d728160a23db614dfba6b40ddccd2f6163a5 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-11-03Rename username for PAP operations.adheli.tavares1-2/+2
Use an account other than healthcheck in PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: I897f7a4fffbac2d4bbd9cceb059bae1794753aa7 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-08-25Add dmaap connectivity check in papRam Krishna Verma1-0/+7
Add dmaap connectivity check in pap consolidated health check. Make a rest call to fetch all the topics. Verify POLICY-PDP-PAP topic is present. Issue-ID: POLICY-2896 Change-Id: Ide39c70999eaca61205225c95b904e3009d41408 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-23Enable prometheus by default in policy-papa.sreekumar1-1/+2
Change-Id: Id75de7a8c02531acb9c461e917be971feca94ffd Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-06Use separate subscription for heartbeatsJim Hahn1-0/+8
Separated the heartbeat processing onto its own POLICY-HEARTBEAT topic, still on the "real" (i.e., "effective") POLICY-PDP-PAP topic, like we had originally been doing with the statistics. With this change, statistics processing continues to be part of the heartbeat class/processing, thus a separate class is not required to listen for, and handle, statistics. This new subscription uses a shared consumer group so that only one PAP will process any given heartbeat message, which should reduce the likelihood of DB contention and duplicate keys. This also means that the "saveStatisticsInDb" flag will still be used, which is a more obvious mechanism for controlling the storing of statistics than the presence/absence of a topic in the config file. Issue-ID: POLICY-3460 Change-Id: Ia07132b1c7aef006af86fddbe677fb1243a4e2c3 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-30Add ability to turn on/off pdp statisticsRam Krishna Verma1-0/+1
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>
2020-09-16Remove base64 encoding of password from papRam Krishna Verma1-1/+1
Remove base64 encoding of db password from pap configuration. Issue-ID: POLICY-2550 Change-Id: I08f25adbe75b9573ed58424d142895eb8353b3f0 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-07Add fetch timeout to PAP propertiesJim Hahn1-1/+2
When an error occurs fetching from DMaaP, PAP should not try again immediately, but should wait a little bit before retrying. Added the the fetch timeout property to prevent it from defaulting to -1 when retrying. Issue-ID: POLICY-2702 Change-Id: Ifeb9ca9dc51a5d2080c84ae877781b02c3041001 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-12-11consolidate Policy Health Check into PAPHengye1-1/+19
Issue-ID: POLICY-1689 Change-Id: I3b84094e217c8cda115efdbf3444e92f08013a7c Signed-off-by: Hengye <yehui.wang@est.tech>
2019-11-04Fix CSITsJim Hahn1-0/+5
Added dmaap notification topic to PAP config file. Fixed server IP per review comment. Change-Id: I982123f2a49ca8f28b7ada275db000826e7baef5 Issue-ID: POLICY-1841 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-01Remove topic.properties and incorporate into overall config filea.sreekumar1-0/+12
1) The properties in the topic.properties file is moved into overall config json file and the topic.properties file is removed. 2) Common parameters such as RestServer and Topic related parameters from policy-common is used. Change-Id: I390bbe3cda101a69e7ce614404ecdfbf98598dd2 Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-11Add PDP heart beat expiration timerjrh31-0/+1
Added heart beat interval to the PDP-UPDATE message sent in response to a heart beat message received from a PDP. Added timers to detect missing heart beats and remove the PDP from the DB - PdpTracker. Modified current heart beat listener to update PdpTracker when a heart beat is received. Allow 3 missed heart beats instead of 2. Change-Id: I81621fefbe494e0c4d6f0b9767b00b2a9dd398d8 Issue-ID: POLICY-1795 Signed-off-by: jrh3 <jrh3@att.com>
2019-04-11Adding code for db config & initial group creationramverma1-1/+2
1) Adding code for initial PdpGroup/Subgroup creation. 2) Adding db configuration 3) Updated code as per change in policy/models Change-Id: If37870925001b333e0537e364eecb266c351cf5a Issue-ID: POLICY-1635 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-10Adding final dmaap & db configurationsramverma1-6/+6
Change-Id: I547f8a520d84d3593f90256fa91fc964c1d1e83c Issue-ID: POLICY-1443 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-05Fix csit of policy/papramverma1-0/+8
Change-Id: I1158a6a7f0582dabafb22961d073db6d14cf2793 Issue-ID: POLICY-1443 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-03-25Changes to PAP infrastructure to support PDPJim Hahn1-0/+10
Modified PapActivator to implement the Startable interface and used that to manage it instead of the original method names. Replaced pdp-common enums with models-pdp enums. Added the use of the Registry. Added parameters to be used for PDP interaction. Added DAO interface classes. Modified HTTP client, in junit tests, to use GSON instead of Jackson. Removed DAO code, as the interfaces are not merged into policy/common yet. Added pdpParameters to default json config file. Changed tabs to spaces in json files. Removed "internal" classes that were moved to models-pdp. Change-Id: I969a7747e926680ad403557b44a0a52d289fb6d9 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-02-11Creating package & docker image of policy/papramverma1-0/+11
1) Creating zip package of entire policy pap. 2) Creating docker image of policy pap. Change-Id: I41bd705966e75e9cf501154da71f90d11ff2b3e1 Issue-ID: POLICY-1478 Signed-off-by: ramverma <ram.krishna.verma@est.tech>