summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I6abd4506c967e49ce093c521484f6e5a5f0c5bec Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-19OpenSuse docker file for policy PAPdanielhanrahan5-6/+70
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4189 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4aca4c5d3486cecf012989e9227557587f83bbb6
2022-05-03Set snapshot and/or references of policy/pap for new releaseliamfallon9-13/+13
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I71900f971ba646a97d54113351406398ada70a12 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I312fe988c4e2611dead50a7e7b28ab18de6cd75c
2022-04-28Release docker images for policy/pap: 2.6.3liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3b2e5a690b67ac6e818dea33f1096a3db2b21f89
2022-04-28Release policy/pap: 2.6.3liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I568b12a3db25004ebc4039dc229af65c2a95c262
2022-04-27update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic269481eed341f1c3043f53e76e6fa21b9856075
2022-04-19PAP S3P jmx changesa.sreekumar2-22827/+3204
Change-Id: I48c719276d2a53f2e4de9f4c87e54d3f373111ed Issue-ID: POLICY-4008 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-12Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia650fc73cb0af8e8b36b82791918e23e51367308
2022-04-12Release docker images for policy/pap: 2.6.2liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0121998e4e554442bbb9c45489903eddad6ded0a
2022-04-12Release policy/pap: 2.6.2liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1cb5fefb3e166515d26964f9af9b8949e16f61cb
2022-04-12update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf68c7320c8e1b20dde8b0db2cfbd728ba2f77bf
2022-04-12Fix incorrect deployments counter on parallel executiona.sreekumar4-12/+41
Change-Id: I72bde10eae615e2c89ccc1a211c6385404b9b3c7 Issue-ID: POLICY-4088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-04Fix incorrect url in PAP consolidated healthchecka.sreekumar1-1/+1
Change-Id: I0194483f371e1140ad56029c23b6f400df0dcbdc Issue-ID: POLICY-4068 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-21Fix build failure in paprameshiyer271-1/+1
policy-models changes for metadataSet db serialization causes test failure in pap. Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibc24e3a27e1cdd6111719651349888157fc31593
2022-03-11Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I856f412dc6e27011d13aa6ff05dff8f000cc9a2b
2022-03-11Release docker images for policy/pap: 2.6.1liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Change-Id: I9cc8e07c25e0cd7a259fbf20d30f0be7b3c80f68 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Release policy/pap: 2.6.1liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I442a0b6604b91c12683f0cd6960cf3f88458b0b4
2022-03-10Fix PAP healthcheck response during failuresa.sreekumar2-3/+9
The healthcheck response that is returned by PAP is not inline with the actual healthreport. Even when the report has healthy:false, code:503, message:not alive the response code stays 200. This is fixed, this also makes the improved readiness probe in OOM to work properly with the healthcheck calls Change-Id: Ib208e0a84bce74157aacbcad61a11dcf900c7c94 Issue-ID: POLICY-4030 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-10update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia809db011a805e9bec71b5843dbf6a3b5b2ea30b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-01Fix swagger and improve exception handlinga.sreekumar8-9/+88
1) Swagger was getting generated in a different format due to a serialization isue. It is fixed. 2) Improved exception handling by taking care of any exceptions that could occur in and around database operations. 3) AAF enabling/disabling was done using spring profiles. This is changed to using parameters, as it is more easier to configure in an OOM helm chart deployment Change-Id: If1bee01379ba5c4efac29822662896d8aa883fc8 Issue-ID: POLICY-3975 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-25Merge "Add support for populating metadataSet in PAP tosca policy"Liam Fallon6-5/+285
2022-02-23Add support for populating metadataSet in PAP tosca policyrameshiyer276-5/+285
MetadataSet fetched from the db and added to the policy metadata map with the key "metadataSet" before sending to PDPs Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I14064d82ba6877bd7560af7de7572b4813a98385
2022-02-23Adding deployment metrics to PAPa.sreekumar9-3/+88
Change-Id: I4b6a93045c1ddfd7fff037e7568b029e2e45b0b3 Issue-ID: POLICY-3757 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-18Merge "Use classes from policy/common"Liam Fallon7-150/+10
2022-02-17Use classes from policy/commonRam Krishna Verma7-150/+10
Use YamlHttpMessageConverter from policy/common. Use CustomImplicitNamingStrategy from policy/common. Fix few sonar issues. Issue-ID: POLICY-3931 Change-Id: I4720761cbf8da464ec57541f9b19f8d124503e17 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-17Fix PAP issue with group config loadinga.sreekumar1-2/+6
1) PAP fails to start in OOM when no pdp group configuration file is specified with the recent changes. This is fixed. 2) logback.xml file mounted in OOM is not used by PAP. This is also fixed in this review. Change-Id: I84096e1b100e2be20a9a2d95e1eb6ffc79486f29 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-15Fix issue with GeneratedValue in PfGeneratedIdKeya.sreekumar5-61/+39
Change-Id: If244237e4aa39e1f3184cab04ae7d5ad7e85e5fa Issue-ID: POLICY-3897 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-14Merge "Add yaml support to pap api's"Ajith Sreekumar5-11/+221
2022-02-11Improve PAP healthcheck api to verify DB connectivityPrakhar Pandey4-9/+52
This commit improves PAP healthcheck API to enable verification of PAP to DB connectivity. Issue-ID: POLICY-3763 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca> Change-Id: I14353572a00e68a89161bcffd2ec3476b4a4c303
2022-02-10Add yaml support to pap api'sRam Krishna Verma5-11/+221
Adding yaml support to pap rest api's. Along with related unit tests. Issue-ID: POLICY-3864 Change-Id: I43bdbbd4151bcae5dcf4752a9385b115efa947d3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-10Move PAP database provider to spring boot defaulta.sreekumar68-2084/+1496
This review makes PAP talk to DB directly using the spring repositories instead of going to policy-models-provider. The models-provider methods that were just used by PAP (and not used anymore) will be removed in a different review. Also a bug identified with the usage of GeneratedValue in PfGeneratedIdKey (which is just used by PAP in statistics & audit) will also be fixed in a separate review as part of POLICY-3897. CSIT changes: https://gerrit.onap.org/r/c/policy/docker/+/127033 WIP OOM review: https://gerrit.onap.org/r/c/oom/+/127035 Change-Id: Idb13ba7eb2767cc718672b582a6518fcfc95320f Issue-ID: POLICY-3867 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-07Use spring boot actuator version 2.5.4a.sreekumar1-2/+2
The actuator version 2.5.0 which is currently used contains a bug where some jvm metrics are lost. So, upgrading the version to fix this issue. Change-Id: Ib1084f3ab879bc035a11e2e1c5c6a5bd55c0c15d Issue-ID: POLICY-3913 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-01-28Create spring repository layer for PAPa.sreekumar24-27/+2154
This review adds the spring repository and service layers to PAP. Once this is merged, the next work will be to actually use these spring boot based services to talk to the db directly, and not using policy-models-provider in PAP. Change-Id: Ib086b8b405020cb452e51d6359dd1a69d0000f74 Issue-ID: POLICY-3869 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-01-27Remove references to MariaDB from resource fileswaynedunican8-12/+118
Issue-ID: POLICY-2086 Change-Id: I891feb05d2e964ae8d4454d30672ffc77c1da555 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-24Disable statistics for default installationsRam Krishna Verma1-1/+1
As discussed during weekly call, with the move towards prometheus way of monitoring policy framework components. There is no need to keep the statistics flag turned on by default and utilize resources in processing & storing them. Hence, turning off the flag here. Will raise another review for OOM. Won't cause any breakage to CSIT as we are already providing config to enable the statistics there. Issue-ID: POLICY-3156 Change-Id: I89962277a6b9aede713317336f776ea3ed9ffd65 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-01-07Adding totalPolicyDeployCounts updates to PapStasticsManagerisaac4-4/+54
Issue-ID: POLICY-3836 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: Ia4ed2595984f68bf75ca9dacb6aa76f04a306224
2021-12-14Migrate pap startup & controllers to spring boota.sreekumar68-1638/+1376
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-12-02Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-3/+3
*** This commit is generated by a PF release script *** policy/pap updated to its latest own and reference snapshots Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic4a5c01efd0a2682e88242f192d50f5b9e042c8e
2021-11-29Update snapshot of policy/pap to 2.6.1-SNAPSHOTliamfallon9-9/+9
*** This commit is generated by a PF release script *** policy/pap is update from 2.6.0-SNAPSHOT to 2.6.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic2f4f6b0a395298a74a7f354122605c64bfe2566
2021-11-26Release docker images for policy/pap: 2.6.0liamfallon1-0/+8
*** This commit is generated by a PF release script *** This commit releases the docker images for repo policy/pap. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ief35f74ef48b3f153a3771dc41556fdbb943fbea
2021-11-26Release policy/pap: 2.6.0liamfallon1-0/+5
*** Release Phase 8: This commit is generated by a PF release script *** This is the eigth phase in releasing images, it releases policy/pap. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0597b46454feacd06fe96c6ddedafb00b39e9372
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/pap. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If831839719c7ff87a9cc3778cd7c6803676d7469 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-03Rename username for PAP operations.adheli.tavares11-20/+20
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-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I2b8a9edfe7e84bcc2ec312c705875a68953cc9ba Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-18PAP S3P jmx file changeswaynedunican2-70/+302
Issue-ID: POLICY-3653 Change-Id: I4a7b033d6ba0356c46c571640e85c40253ec6ad5 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-10-14Bump policy/pap to jakarta 2.6.0-SNAPSHOTa.sreekumar9-10/+10
Change-Id: I2343607e6cf92488c6f74107ced8c4234d126d26 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/pap to 2.5.2-SNAPSHOTa.sreekumar9-9/+9
Change-Id: Ifadbff28b39582016096865565d4b5c76f8dd027 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Release policy-pap 2.5.1 docker artifactsa.sreekumar1-0/+8
Change-Id: I637992c444a171d8ea1b16ca738f3b0151e1fa7f Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>