aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-17Use classes from policy/commonRam Krishna Verma1-1/+1
Use CustomImplicitNamingStrategy from policy/common. Issue-ID: POLICY-3931 Change-Id: I69f556e0e5a6bdf60a0cef6b2d49a77289c4bb8d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-17Merge "Add docker configuration for Prometheus and Grafana"Liam Fallon35-196/+931
2022-02-16Fix issue with GeneratedValue in PfGeneratedIdKeya.sreekumar8-0/+168
Until now, 'ID, name and version' was used as the primary key in jpapolicyaudit and pdpstatistics tables. With this change, only ID will be used as the PK. The applications works with or without this change, as ID was the only field which was always unique. "name" and "version" are mostly duplicates (policyName in case of jpapolicyaudit & pdpName in case of pdpstatistics table). Pushing this change anyway to keep the tables consistent with the entity classes. Change-Id: I34a7582ed9c74fa0ead8fce2e86ac2ce1ecacf1e Issue-ID: POLICY-3897 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-15Add docker configuration for Prometheus and Grafanaadheli.tavares35-196/+931
- docker compose file with the policy components - configuration files for components to allow usage of http - basic prometheus configuration to connect to api, pap, drools (apps/pdp), xaclm and apex - examples of metrics to be added to a dashboard in Grafana Issue-ID: POLICY-3886 Change-Id: Ic377b69b1a296017a85cb08ccdbbf9b8b281d8e3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-15Disable helm endpoints by default in csitLathish1-1/+6
Issue-ID: POLICY-3894 Change-Id: I83684c6d75ab4bfd5b6a5dfb1c5caabf6ae70d2a Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-14Fix policy-api CSIT testa.sreekumar3-7/+12
Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9 Issue-ID: POLICY-3753 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-10Move PAP database provider to spring boot defaulta.sreekumar1-9/+1
Change-Id: I5a743a8e666978c0aa0a7fc833e846379780c94b Issue-ID: POLICY-3867 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-07Merge "Fix spring datasource configuration for pap container"Liam Fallon1-1/+15
2022-02-07Merge "Fix failing build in jdk base image"Liam Fallon1-2/+3
2022-02-07Fix spring datasource configuration for pap containeradheli.tavares1-1/+15
Issue-ID: POLICY-3914 Change-Id: Iddb985161ecd51ad3f2b17ae6ac13d2825b67bec Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-07Merge "Modified db-migrator to allow configuration of database"Liam Fallon4-14/+806
2022-02-07Fix failing build in jdk base imagesaul.gill1-2/+3
Fix originally put in drools-pdp Upgraded Python pip package as was causing build failure Issue-ID: POLICY-3905 Change-Id: Ib5320790914a6a1344ae0548aeda3c7cf4585734 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-02-04Add upgrade/downgrade scripts for postgres in db-migratorwaynedunican12-0/+244
- Jakarta upgrade scripts - Jakarta downgrade scripts Issue-ID: POLICY-2715 Change-Id: I1dbe902644ce392ef0823022a256cf37cc499a3e Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-02-02Merge "Add upgrade/downgrade scripts for postgres in db-migrator"Liam Fallon96-0/+1920
2022-02-02Merge "Add upgrade/downgrade scripts for postgres in db-migrator"Liam Fallon96-0/+1920
2022-02-02Merge "Add upgrade/downgrade scripts for postgres in db-migrator"Liam Fallon26-0/+528
2022-02-02Modified db-migrator to allow configuration of databasewaynedunican4-14/+806
- Updated the Dockerfile to include postgres sql and to copy postgres scripts - Added db-migrator-pg script for postgres installation - Updated prepare upgrade/downgrade scripts Issue-ID: POLICY-2715 Change-Id: Ib8d3523e8445ad1528fe225c96acdac5ca61535d Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-24Add testcase for app metrics exposed by distributionRam Krishna Verma1-1/+17
Adding testcases to verify the application level metrics exposed by policy-distribution component. Issue-ID: POLICY-3759 Change-Id: I3cbc36011c358dc9f52aa01c663eb8ff02a6323a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-01-20Add upgrade/downgrade scripts for postgres in db-migratorwaynedunican96-0/+1920
- Honolulu upgrade scripts Issue-ID: POLICY-2715 Change-Id: I1cec6f16c4797bd1ce34d506173d28ae48e36801 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-20Add upgrade/downgrade scripts for postgres in db-migratorwaynedunican96-0/+1920
- Honolulu downgrade scripts Issue-ID: POLICY-2715 Change-Id: Id3c242311868898d32c3d2e92427cf687a1d7cc1 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-20Add upgrade/downgrade scripts for postgres in db-migratorwaynedunican26-0/+528
- Istanbul upgrade scripts - Istanbul downgrade scripts Issue-ID: POLICY-2715 Change-Id: I0dcfd11acaf5971581db081f2ff18b7657d0c7af Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-10Fix issues in existing entity classesa.sreekumar12-0/+244
Change-Id: I862a5c413f5cf4d0e472a527cd6dc5a32c28459c Issue-ID: POLICY-3871 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-12-14PAP CSIT changes for spring boot migrationa.sreekumar4-73/+83
Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-12-02Update snapshot and/or references of policy/docker to latest snapshotsliamfallon1-1/+1
*** This commit is generated by a PF release script *** policy/docker updated to its latest own and reference snapshots Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ida135b26a2480447b083582e5def0b5ef7bb71ec
2021-11-24Update snapshot of policy/docker to 2.4.1-SNAPSHOTliamfallon7-7/+7
*** This commit is generated by a PF release script *** This commit updates the snapshot of the repo to the next patch version. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I838765b413507978fff7dffce324df3f9f7e9dcf
2021-11-23Release policy/docker: 2.4.0liamfallon1-0/+12
*** Release Phase 4: This commit is generated by a PF release script *** This is the fourth phase in releasing images, it releases policy/docker. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifde13f3194bba4290c7635ca23180086d5d12684
2021-11-23Update policy/parent to 3.5.0 on policy/docker2.4.0liamfallon1-1/+1
*** This commit is generated by a PF release script *** This commit updates the version of policy/parent to the latest released version. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3a036abb092ec6bf6ae6f61d82c1da7cf5c15df1
2021-11-10Fixed policy participant config to use httpssaul.gill2-4/+5
Changed to use "useHttps" instead of "https" Changed username for api and pap from "healthcheck" to "policyadmin" Added config to bind mount for policy participant Issue-ID: POLICY-3817 Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-05Rename username for API and PAP operations.adheli.tavares10-190/+244
Use an account other than healthcheck in API and PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: Id2cbba8e5e5095996622572fbf42383bb854fb43 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-1/+1
Issue-ID: POLICY-3788 Change-Id: Ic9e9da13fc7cfdedebf81d8a6cc2a7190d8790b2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-21Improving APEX-PDP CSIT testsa.sreekumar9-16/+3366
Change-Id: I06023f9b7555b23b007aadd20e87fb4e59c9980c Issue-ID: POLICY-3709 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-19Fixing the version fetch problem in Policy CSITsa.sreekumar1-21/+13
The script that fetches the latest version in policy-docker/csit currently support only the image versions in format: <1 digit major version>.<1 digit minor version>-SNAPSHOT-latest But this started failing now as drool jakarta version is "1.10.0". This is fixed. Change-Id: I1cba3beaa00628ec435f2aaef527a7f6318193bf Issue-ID: POLICY-3749 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/docker to Jakarta 2.4.0-SNAPSHOTliamfallon7-8/+8
Issue-ID: POLICY-3696 Change-Id: I48777921ed97ec578fb797521c6dd1240a116d4b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/docker to 2.3.2-SNAPSHOTliamfallon7-7/+7
Issue-ID: POLICY-3696 Change-Id: Id00233078bb6add59e5c90311cc78d7a4f29490d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Release policy/docker images version 2.3.1liamfallon1-0/+12
Issue-ID: POLICY-3696 Change-Id: I90cf8e4064b77e530b88d4a88c19caadc574ba23 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-12Update parent version, jdk version in db-migrator2.3.1liamfallon2-2/+2
Issue-ID: POLICY-3696 Change-Id: I827bdd238ab51a1798dab3d83f088377be7949ff Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-08Fixing policy-models-simulators helm charta.sreekumar1-5/+4
Change-Id: I137be6241f934729d3452e308e24c454500ec86a Issue-ID: POLICY-3655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-30Add http and k8s participant to CSITSirisha_Manchikanti12-360/+841
Add HTTP and Kubernetes participant to policy/docker/csit Issue-ID: POLICY-3413 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23
2021-09-28Retain datetime precision on downgradektimoney2-2/+2
Retain datetime precision during downgrade operation to prevent duplicate keys in pdpstatistics Issue-ID: POLICY-3679 Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-27Modify pdpstatistics to prevent duplicate keysktimoney1-1/+1
Update timeStamp column in pdpstatistics to include microseconds. Issue-ID: POLICY-3679 Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-21Update db-migrator version checksktimoney1-42/+35
DB-Migrator job completes even during failed upgrade Issue-ID: POLICY-3660 Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-09-09Remove blank line from INFO.yamlliamfallon1-1/+0
Issue-ID: POLICY-3587 Change-Id: Ie5f862a6030b2db250b0bdf39ec89d58213093c5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I36ba5d9d3ccedd5ce256fdfa3b23a52b3b150f55 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Merge "Update INFO.yaml"Pamela Dragosh1-11/+15
2021-09-08Update INFO.yamlliamfallon1-11/+15
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: Ie57f51e435b0e8caaf56524fc092e43c7ed79653 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-01Merge "Update default value of LASTUPDATE in pdp table"Jim Hahn1-1/+1
2021-08-31Add CSIT test for consolidated healthcheckRam Krishna Verma3-0/+143
Adding CSIT test for consolidated healthcheck. Also, verifying the an external groups file can be mounted to replace PapDb.json present inside the docker image for database initialization. Issue-ID: POLICY-3609 Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-31Update default value of LASTUPDATE in pdp tablektimoney1-1/+1
Update LASTUPDATE column in pdp table to use CURRENT_TIMESTAMP as default value Issue-ID: POLICY-3608 Change-Id: I28d267729ab3959a0d4602a4129737d6d8029f86 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-30Use env variables in drools/drools-apps CSITsjhh4-97/+6
Issue-ID: POLICY-3199 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iefd75ae810c7b91b8cc37469b1169031346b2c4e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-08-26Merge "Bump docker to 2.3.1"Ajith Sreekumar8-8/+8