summaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml
AgeCommit message (Collapse)AuthorFilesLines
2022-03-01Fix swagger and improve exception handlinga.sreekumar1-0/+1
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-17Use classes from policy/commonRam Krishna Verma1-1/+1
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-10Move PAP database provider to spring boot defaulta.sreekumar1-8/+14
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-01-27Remove references to MariaDB from resource fileswaynedunican1-1/+1
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>
2021-12-14Migrate pap startup & controllers to spring boota.sreekumar1-0/+84
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>