aboutsummaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2021-07-20Use docker registry properties in papJim Hahn1-2/+1
Issue-ID: POLICY-3374 Change-Id: Ibc4fe79ec588d5b7342d8d667d51d8b5662fd031 Signed-off-by: Jim Hahn <jrh3@att.com>
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 Verma2-23/+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>
2021-06-03remove quoting the groups var in policy-pap.shjhh1-1/+1
Issue-ID: POLICY-3331 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idccfa3761b9a7d9d8907f105a261c9c7c85e70c5 (cherry picked from commit 689ec7f2a61c0f5347d807f70244588590cd9b8a)
2021-05-27support external configuration of pdp groupsjhh1-1/+17
- modify policy-pap.sh to optionally provision a custom group if such a file is present. Issue-ID: POLICY-3331 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib53bc14ee6b9471ab48f5a792b4283db3ed53b93 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-04-07Use sh instead of ash in PAPJim Hahn1-2/+2
Issue-ID: POLICY-3160 Change-Id: I79c41aa584efd3f4c617fd7c6de9ccf3862eb34d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-19Delete keystores from papJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: I2b0c4868613e0923aad87844dd16f3ac236d4291 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I728118f2eb691dddb93b36c832eb4c8a72e0d5af
2021-03-12Bump PAP to 2.5.0-SNAPSHOTliamfallon3-3/+3
Issue-ID: POLICY-3105 Change-Id: I558a09dcc5a28df1a978f760b5fe0eeee72aeb30 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-10Bump pap to 2.4.2-SNAPSHOTwaynedunican3-3/+3
Issue-ID: POLICY-3127 Change-Id: I0949f9e03a538e3f9ba463697885b799fd0b2acb Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-02-23Bump pap to 2.4.1-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-3088 Change-Id: I74f23c31db609ca61592ec62b0594445bb8bf68c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Point to released version of jreRam Krishna Verma1-1/+1
Issue-ID: POLICY-3088 Change-Id: I467866accd2d573478282560ebe81a7923f62dc9 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-01-05use jre base 2.2.0 - papTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Ic96af393c7c8689438c2072113ab53a647477d48 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-30move all bash to ash shell scripts - papTaka Cho2-7/+6
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: Icbe4afd9abe7d3634cce9cd7fb5b72dad38ecfcf Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Bump pap master to 2.4.0-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2875 Change-Id: Ibad95f08cb39adc285f9326dd1d590163ede5803 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump pap 2.3.4 SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-2869 Change-Id: I3696c9c6cae59124f0269f1d2619b22b134b882c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump pap to 2.3.3 snapshotPamela Dragosh3-3/+3
Issue-ID: POLICY-2839 Change-Id: I37704935946a8c249e814bf4e515178528705cd6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-24update default keystoresjhh1-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I95db673538947cccc39bb5a389ab3f544fa91af8
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-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I6d5b1d1356ec332cd0bdbe446ce7e8d48533ef71 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-08Bump pap to 2.3.2Jim Hahn3-3/+3
Issue-ID: POLICY-2789 Change-Id: Ie4d4df890c1faac0e09d78d3b0d0157d8ef95410 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - papTaka Cho1-1/+22
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: Ib5d85477a0ffe844bf22a3d61d162c71a4319f5a Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-03environment variables to support cert. store pathsjhh1-7/+8
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I077bd1b8ff30b0d0ac620dab37a24cbe7776ca15 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-10Bump pap to 2.3.1-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2695 Change-Id: I7f30fa9c89d7ad9ddc00644c170d8659f7ee3230 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>
2020-06-15get cert store passwords from envjhh1-4/+2
Issue-ID: POLICY-2575 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If1bc0bb344e0e07bba0988c9a6caa143eb54b9d1
2020-05-20Bump pap master to 2.3.0-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2514 Change-Id: Id780f9bc672cde633cf3d7d42b7c9f98fad0396f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-20Bump pap to 2.2.4-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2514 Change-Id: Iea5b6375975b0225d5b803cc2500adc46fc83804 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-24Point pap to new parentJim Hahn3-3/+3
Issue-ID: POLICY-2510 Change-Id: I7dae085491e10082f222404179554436beb81bf1 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15Bump pap to 2.2.2-SNAPSHOTRam Krishna Verma3-3/+3
Issue-ID: POLICY-2378 Change-Id: I91483bc2ab270a6cce251a1b8e80b9767d956d89 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-24Bump pap to 2.2.1-SNAPSHOTPamela Dragosh3-3/+3
Issue-ID: POLICY-2378 Change-Id: I516da9f0ab9b704eaa0956ee735a7048d9167cc7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-20Revert "Add docker manifest file to build onap/policy-pap"Pamela Dragosh1-26/+19
This reverts commit fcec4180525b4b97d4739c7fa7915f7be0a9709b. Reason for revert: This work is not mature enough for release. Issue-ID: POLICY-1997 Change-Id: I6afd45958c45d657c30f2c0467c55f7f10b5024e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-17renew policy certs till 03/17/2021jhh1-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6386a6185089bfcc4358db2a0bdfe7a977b23992
2020-03-06pom.xml changesSrinivasan Selvam1-14/+14
Issue-ID: POLICY-1997 Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com> Change-Id: I28a1a7378e6ed083376179d81bf7825df7feecf6
2020-03-05Add println for OS archPamela Dragosh1-0/+1
The arm64 merge thinks its creating amd64, adding this for debugging. Perhaps the switch to ubuntu 18.04 has a different value. Issue-ID: POLICY-1997 Change-Id: I75ef01d676d9413659c126e25c9474e22bb79cd4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-06Merge "Add docker manifest file to build onap/policy-pap pom.xml modified ↵Pamela Dragosh1-6/+12
with repository from nexus to docker.io"
2020-03-05Add docker manifest file to build onap/policy-papSrinivasan Selvam1-6/+12
pom.xml modified with repository from nexus to docker.io Issue-ID: POLICY-1997 Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com> Change-Id: I616269d9278b92f8275128c39a8f51ebe955354b
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
Policy/docker is released. Issue-ID: POLICY-2378 Change-Id: I6f9d63feb1c01126b6e79549207e87e418919975 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma3-4/+7
Issue-ID: POLICY-2355 Change-Id: I91453c577dd07b4bc79b11b1a181da4319e99edf Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-21Remove assembly warningPamela Dragosh1-3/+3
Use ${file.separator} Issue-ID: POLICY-2329 Change-Id: Ide6276abe1fb7b5eb5b6553ac1d114d0d8a9eb34 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-16Use alpine image for papJim Hahn1-4/+3
Issue-ID: POLICY-1586 Change-Id: Ibd7254a88965ba9c029feaff919a4a396ad7f686 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-01-15Update policy-pap for java11 dockerJim Hahn2-2/+2
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ib45beaaee2db6e290d6219db9006042885ed3525
2020-01-14Update sonar configurationPamela Dragosh1-0/+6
Use policy/parent configuration No need to do packages and testsuites Issue-ID: POLICY-2321 Change-Id: I192ae314a1c2f607f9dfc48e13ff793920185a28 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-09Enabling logback file to be loaded using oom configmapa.sreekumar1-2/+7
Change-Id: Iabde1c4b63844f46d5c9a4db23c070b744bf67e5 Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
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-19Build tar.gz without requiring docker image buildjhh1-1/+4
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I601afea6c3c5c0df76685e91c0604b7a972ac552
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this plugin defined Issue-ID: POLICY-2222 Change-Id: I8458ecc830308e6d1b627ea47518d0a58b3ceca1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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-10-17override cert storesjhh1-0/+10
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I9a6077b51c1684b7c34a1cec827288cfb7dc58bc
2019-09-10Bump versions for pap masterjrh33-3/+3
Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I31bb75b39a3232ef7448fadcd79941d5191f61c2