aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
3 daysSet snapshot and/or references of policy/pap for new releasesaul.gill1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4999 Change-Id: I84c03d1b11b07784b8d5b9e1a48d5839e9420af8 Signed-off-by: saul.gill <saul.gill@est.tech>
6 daysUpdate snapshot and/or references of policy/pap to latest snapshotswaynedunican1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: I8466ec70a9d9616a1bb4d84a60d50130af19d6ae Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-04-26Update snapshot and/or references of policy/pap to latest snapshotssaul.gill1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: I2dee2d96546880469d6dadc3956f7a6476201c5e Signed-off-by: saul.gill <saul.gill@est.tech>
2024-04-11Dependency management updateadheli.tavares1-3/+10
- including dependencies to pom.xml files only where they are used, avoiding extra dependencies being added in all packages. Issue-ID: POLICY-4945 Change-Id: Ibcd3310e938b6bdc973db4074ea0d611b9f8d157 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-20Fix config files to remove outdated hibernate configurationsadheli.tavares3-9/+2
Issue-ID: POLICY-4929 Change-Id: I1a8640f3141e1ec16584b2750a04dfcb9b25be45 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-19Update snapshot and/or references of policy/pap to latest snapshotswaynedunican1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: I0ba84ce1e4b9445eb4418fd938e989be904d3ac9 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-02-09Remove Dmaap from PAPrameshiyer2710-48/+49
Issue-ID: POLICY-4402 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Ib1715bde8b4d0ca78b3c74c62784d5579900c2d4
2023-12-18Allow topics to be registered with lower case for kafka compabilityadheli.tavares3-8/+9
Issue-ID: POLICY-4402 Change-Id: Ia2fabc3eed64bc8ecbdf1ab048a2101ee31daf04 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-12-11Update snapshot and/or references of policy/pap to latest snapshotssaul.gill1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4907 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I48a9b06e0dd022e9a1e04e3a06115c6f4f8402cd
2023-11-27Allow semantic versioning in all templates in papFrancescoFioraEst4-8/+24
Issue-ID: POLICY-4887 Change-Id: Iccb46a19c1cb54d8a6b5b7df7294a2d715b2879e Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-14Set snapshot and/or references of policy/pap for new releaseliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I89e3201edc55ed80613fe6a63f0c220d51870dab
2023-11-13Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic93e0686b97b5ab3342ce53e9a96b21bdcdc39a8
2023-10-18Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I87d6084eb082067ffcf0801e3ca874e5f34c5909
2023-10-11Remove AAF references from papadheli.tavares4-87/+3
Issue-ID: POLICY-4592 Change-Id: Id0d954f81e48d1464d71b37d853e74fc90b6fbeb Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-29Fix sonar code smellsadheli.tavares4-36/+35
Issue-ID: POLICY-4832 Change-Id: Icb8013fe566e9cb265f5b75340d4bb51211a890a Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-22Java 17 / Spring 6 / Spring Boot 3 Upgradeadheli.tavares95-1995/+1933
Issue-ID: POLICY-4671 Change-Id: I664e5f62b1ad23619888af98589c04875b07f4d3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-08Removed db-based statistics featureSuresh Charan32-2483/+17
Statistics code cleanup Issue-ID: POLICY-4109 Change-Id: I543080e1ed3ce9c4f16d01df8f13219cba0a9c8c Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2023-05-25Set snapshot and/or references of policy/pap for new releaseliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6058bf3649bab89721c610ff354a988d33f6305c
2023-04-25Update snapshot and/or references of policy/pap to latest snapshotsSuresh Charan1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: Ie7d6aa78bec8eca6c8365e565eaa212350d90f47
2023-03-01Update snapshot and/or references of policy/pap to latest snapshotssaul.gill1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ib333a5cf96693209f0a01cb3ac55616e4d244b04
2023-02-27Fixed sonar issues in policy-papSuresh Charan4-16/+18
Reduced technical debt by fixing sonar issues Issue-ID: POLICY-4536 Change-Id: I3f4ff8cae7d22c5d2d062e98475592425e3c98c4 Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2023-02-17Clean up dependencies for London Releaseliamfallon1-1/+0
Issue-ID: POLICY-4482 Change-Id: Iab954284a842d6065b05138efa501dd9dc7dff63 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-02Replace Eclipselink with Hibernateliamfallon3-26/+38
Issue-ID: POLICY-4533 Change-Id: I8ba51dce05f537778a92547bceff6eb6d6099144 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon9-58/+74
- Upgrade Hibernate - Upgrade Mockito - Upgrade Mockserver - Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils - Upgrade Spring Framework - Add spring-security to allow authentication on unit tests using MockMVC Minor clean-up - Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean - Change @LocalPort include on tests to use test include rather than runtime include - Remove unused imports - Remove unused constants and variables - Add deprecation annotations where required Issue-ID: POLICY-4482 Change-Id: Ifcabd73e4130810ba2a99b842ffa4203836c0682 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-30Adding PAP contract testslapentafd2-1/+105
Adding Contract tests, verifying the stubbed implementation. Fixing name in application-stub.yaml Issue-ID: POLICY-4534 Change-Id: I03d8b37ba2f57aa03ee814924b4e52dd0c643772 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-01-25Server Stubs PAPlapentafd36-12/+792
Added "stub" profile with simple endpoint implementation Issue-ID: POLICY-4143 Change-Id: I8ad911f314e1d1428d05aa419f1322616d8ef835 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-01-17Use generated PAP interface for Swaggerlapentafd18-1280/+358
This commit removes the Swagger V2 annotations on the Rest Controllers in policy-pap. The OpeApi annotations (Swagger v3 annotations) are on a generated Java Interface. The code is changed so that the controller implements that interface. There are minimal code changes to the controller and the order of the parameters is switched in some cases. Issue-ID: POLICY-4404 Change-Id: I060709806a8e5bc04d9873c8d212a5c9fe13c4d4 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-18Upgrade the H2 database to the latest versionliamfallon3-4/+4
The latest verison of H2 does not allow colums called "user" or indexes using an underscore in their name. Issue-ID: POLICY-4488 Change-Id: I9ce7435b5dfa81daaf04e7f7a50f9db6582cdc0b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I14d931b8d2f7a8f63a0a5ffbb2fd2cfafaddc33a
2022-12-12SLAs for async methodsadheli.tavares9-62/+216
- undeploy policy timing - deploy policy timing - unit tests for actuator endpoints Issue-ID: POLICY-4469 Change-Id: I3298888e59824347b8d2a57fb531c10f2f4ca125 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-12-08Replace SpringFox with SpringDoc in policy-papliamfallon8-21/+58
This commit: - Remove SpringFox - Adds SpringDoc - Enables the .../v3/api-docs endpoint Note that the Swagger annotations from the OpenAPI specification generated code need to be enabled so that the API specification is available over the ..../v3/api-docs endpoint. THis will be done in subsequent commits. Issue-ID: POLICY-4404 Change-Id: I42c1575a3ce76d9b3e753ad51f85df027d12b980 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-22Merge "Add OpenAPI Swagger 3 spec and API generation"Liam Fallon2-0/+3756
2022-11-17Add OpenAPI Swagger 3 spec and API generationliamfallon2-0/+3756
This commit adds the Policy/API OpenAPI (Swagger) document as a source document under source control. This OpenAPI document was generated from the existing SpringFox annotations in the source code, was uploaded to the online Swagger editor and was converted into OpenAPI 3.0 format. It was then manually edited to correct the return types and to match the input and putput types to our Java classes. The pom.xml is also amended to generate the API interface source doe in the target/generated-sources directory. The generated code does NOT replace the existing API code as yet. Issue-ID: POLICY-4431 Change-Id: Iee1cc6a122deffcd05728e8f34172f8d423ebcef Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-17Topic names in PAP should be configurable from application.yamladheli.tavares35-261/+398
- for using Kafka instead of dmaap, topics names need to be lowercase - fix for unit/integration tests using default names and changed names for topics and group - fix for sonar lints found along the way Issue-ID: POLICY-4455 Change-Id: I89e9e6f7dbb07462f1ae497755965cb5a3f223a3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-10-21Set snapshot and/or references of policy/pap for new releaseliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I09bf91495a8ae93e7e3c4aaadf3ad14971c6bbfb
2022-10-21Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I61b9bc417feeccbda2cf55d2f79327d01f362fae
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon1-2/+0
Issue-ID: POLICY-4393 Change-Id: Ic091b5efa999461121e870d04d6524e44bc07e03 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-28Add Kafka dependencySirisha_Manchikanti1-0/+5
Issue-ID: POLICY-4134 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id9b4609c9bf0656eb0c3a83e20f4161a07fbc6d7
2022-09-23Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iacf22dfa0876db72b906b1b4e5b95611379be9b3
2022-09-21Fix minor warnings in codeliamfallon3-8/+3
Issue-ID: POLICY-4045 Change-Id: I08c3cb1af3dbe2051dcbb0e2726906faff4a37b3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-03Set snapshot and/or references of policy/pap for new releaseliamfallon1-1/+1
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 snapshotsliamfallon1-1/+1
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-12Update snapshot and/or references of policy/pap to latest snapshotsliamfallon1-1/+1
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-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 snapshotsliamfallon1-1/+1
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-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-01Fix swagger and improve exception handlinga.sreekumar7-9/+87
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