aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2025-03-13Update snapshot and/or references of policy/api to latest snapshotsHEADmasterwaynedunican1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5314 Change-Id: I5e5bf40bddae76fec7b0dced70e711e622ead721 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2025-02-27Fix preloading more than one policyadheli.tavares3-8/+27
- from a list of policies to predeploy, only the last one was being saved to db - hibernate validator was missing and throwing a warning Issue-ID: POLICY-5297 Change-Id: Ia9df1d7dad305e5f42444bf18c9a936b5f2bb381 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2025-02-25Uplift jetty to version 12.x.yadheli.tavares1-2/+2
Issue-ID: POLICY-5254 Change-Id: I7467d3549119bd7c659318dcb05b56e3c5ea83ed Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2025-02-21predeploy policiesgururajarao791-0/+1
Issue-ID: POLICY-5289 Change-Id: I157361c479fd7bbcab97bf0e715df3862275af6c Signed-off-by: gururajarao79 <gb00566633@techmahindra.com>
2025-01-28Update snapshot and/or references of policy/api to latest snapshotswaynedunican1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5255 Change-Id: I7ecbe2d0b87d7fc50427125924d72f97b1ea1f6e Signed-off-by: waynedunican <wayne.dunican@est.tech>
2025-01-16Remove MariaDB supportadheli.tavares1-2/+2
- change configurations to use PostgreSQL as default - remove unused configurations Issue-ID: POLICY-5196 Change-Id: I29711e33f0f137e19f35f2ca929aa8e0f00e6c88 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2025-01-15Small fixes after dependency uplift for spring and logbackadheli.tavares2-8/+3
Issue-ID: POLICY-5235 Change-Id: I01f85ebc53948ffdd78e26c0c5e1bb6e55157142 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-11-21added native tosca xacml policy type in application.yamlA2001694901-0/+1
Issue-ID: POLICY-5128 Change-Id: I6535ffc88d86afe674b7eae8d4e9fdfa0f497ce7 Signed-off-by: A200169490 <ajinkya-patil@t-systems.com>
2024-11-19Set snapshot and/or references of policy/api for new releaserameshiyer271-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5166 Change-Id: Icd5cea55894b57aea9337d6e59e1001c3598a557 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-11-19Update snapshot and/or references of policy/api to latest snapshotsrameshiyer271-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5166 Change-Id: I0834dbd397d0321aaa1d8e94e8097a425a97b784 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-11-14added policytype for opa pdpgururajarao791-0/+1
Issue-ID: POLICY-5159 Change-Id: Ieedc18f36c0c0649999a8fa93ccf0d4e7d90685e Signed-off-by: gururajarao79 <gb00566633@techmahindra.com>
2024-11-07Fix references and organize dependencies in policy-api afteradheli.tavares6-44/+191
splitting policy-endpoints and message-bus from common Issue-ID: POLICY-5131 Change-Id: I3f2662fa86236ea68eb6d2bc1297388e274a018d Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-09-03Fix small sonar issueadheli.tavares1-1/+0
Issue-ID: POLICY-5068 Change-Id: I6735f63350fa93a1255b2c2713f92bf002382294 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-08-01Fix on persistence.xml after updating hibernate dependenciesadheli.tavares2-12/+10
- fix on side effects from drools-apps fix. Issue-ID: POLICY-4955 Change-Id: I6129924b891539ca67ac16627ca9d8e4f0775202 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-07-12Update snapshot and/or references of policy/api to latest snapshotsrameshiyer271-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5072 Change-Id: If7d3480f78b3ca0c8b4fd1af83f5141bb53fb697 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-07-04Fix code smellsadheli.tavares2-11/+2
Issue-ID: POLICY-5067 Change-Id: I4172b9907fadb7fdc6099ce0c56d069b641f187e Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-07-03Code coverage and sonar fixesadheli.tavares29-1386/+1587
- added web mvc tests to cover controller exception cases - added webclient tests with full spring support to replace old style of Invoker - fixed some sonar issues - refactored a test still using @RunWith from junit4 Issue-ID: POLICY-5067 Change-Id: I4d3e77c32a603bdfeca4db76f00acf38830ef250 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-05-20Set snapshot and/or references of policy/api for new releasesaul.gill1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4999 Change-Id: Ica7317c77fda12bcf9a83dfc201db0f1b1853e47 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-05-17Update snapshot and/or references of policy/api to latest snapshotswaynedunican1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: I9ddb6b6a33c6cc1894548e6b2e6dee5d8748e7fb Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-04-26Update snapshot and/or references of policy/api to latest snapshotssaul.gill1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: I992030e6990aa9f73bfd413c0402833bf5560c4c Signed-off-by: saul.gill <saul.gill@est.tech>
2024-04-10Dependency management updateadheli.tavares1-1/+25
- 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: I181d03f45ccedff8658903150b160feaf692ee10 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-20Fix config files to remove outdated hibernate configurationadheli.tavares4-8/+2
Issue-ID: POLICY-4929 Change-Id: I218b6f0bc095d2693f8fa278a255dac0ad145588 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-19Update snapshot and/or references of policy/api to latest snapshotswaynedunican1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: I26c467f814815f72d9f749f365f28e931be617f9 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-12-11Update snapshot and/or references of policy/api to latest snapshotssaul.gill1-1/+1
policy/api 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: I98dc67f682eae288f5f461f191d8a9ddfdcd1eb1
2023-11-27Allow semantic versioning in all templates in apiFrancescoFioraEst3-0/+278
Issue-ID: POLICY-4888 Change-Id: I824618039f49581cf82ea2ca570960b41cead6bd Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-14Set snapshot and/or references of policy/api for new releaseliamfallon1-1/+1
policy/api 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: Ib5c0564e591f515bdf0f469102b6ddfd675a2bbe
2023-11-13Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: Idb818220a15d81ef9fd395e7b697c7a6f86ab72a
2023-11-10Fix synchronization issues in policy-apiFrancescoFioraEst3-0/+57
Issue-ID: POLICY-4864 Change-Id: Ieed49019bee3dbd9e5c81dde341d18e6f4bac784 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-10-18Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I97f9ae3d9c1116661899229e2c520f062fbe48ef
2023-10-11Removing AAF references from policy-apiadheli.tavares5-116/+2
Issue-ID: POLICY-4592 Change-Id: Ic8fbcb7ac58539fd91d7b077eedcb32b5c4e4a49 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-22Java 17 / Spring 6 / Spring Boot 3 Upgradeadheli.tavares38-515/+494
Issue-ID: POLICY-4670 Change-Id: Ie25d0501e5b936621e41f0d3c637320784d56627 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-08Removed db-based statistics featureSuresh Charan15-856/+12
Statistics code cleanup Issue-ID: POLICY-4109 Change-Id: I5ad893deaf365c7e289b57c00260672f127d2630 Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2023-05-25Set snapshot and/or references of policy/api for new releaseliamfallon1-1/+1
policy/api 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: I62ae7a024f3b3b5ab52b78b797d1571c4761d5ec
2023-04-25Update snapshot and/or references of policy/api to latest snapshotsSuresh Charan1-1/+1
policy/api 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: Ifa1f54e6636729966538e61979a6f5008bb7926f
2023-03-01Update snapshot and/or references of policy/api to latest snapshotssaul.gill1-1/+1
policy/api 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: Id95ea702a90ae07dfd256d9b1aa37da0431efd47
2023-02-17Clean up dependencies for London Releaseliamfallon1-8/+6
Issue-ID: POLICY-4482 Change-Id: Ib61e0f3349d2741d990311fe661957500f8b7343 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-09Fixed sonar issue in policy-apiSuresh Charan1-9/+14
Fixed cognitive complexity reported by sonar. Issue-ID: POLICY-4536 Change-Id: Ic3b5b7d79165afed15a1593e03b8374fb2122e12 Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
2023-02-01Contract Tests policy-apilapentafd2-92/+143
Adding Contract tests, verifying the stubbed implementation. Issue-ID: POLICY-4533 Change-Id: I729d0c2316b185967e0d7c292eb3c8c3da23ac23 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon4-14/+28
- 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: Id003bd0fecbdc7fe96a529cd6178a9a373d33963 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-18Adding Server stubs for policy-apilapentafd13-21/+460
Added server stubs for policy-api with profile "stub", with very simple implementation, and unit tests Added context-path in the application.yaml Issue-ID: POLICY-4143 Change-Id: Ibcf4cf2f6d3e6a87ac7eea365b387d75e19e96c0 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-21Use generated API interface for Swagger(2)lapentafd5-665/+145
This commit removes the Swagger V2 annotations on the ApiRestController in policy-api. 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 no code changes tot he controller except that the order of the parameters is switched in some cases. Adds unit test for SpingDoc swagger document generator endpoint. Issue-ID: POLICY-4404 Change-Id: Ic8976362481a0b49ad05cebb2f4f9ce4147f3965 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-12-15Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I6e0e8be495ba56a259245c8452813a0a5d1d1a6a
2022-12-12Use generated API interface for Swaggerliamfallon3-227/+39
This commit removes the Swagger V2 annotations on the NodeTemplateController in policy-api. 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 no code changes tot he controller except that the order of the parameters is switched in some cases. Issue-ID: POLICY-4404 Change-Id: Iab49c7f3f197a85d3314a879d39fe2c95be041b8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-08Replace SpringFox with SpringDoc in policy-apiliamfallon3-49/+23
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: I5fb62e104c3a77e167a722a83f62dbddf2abedf1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-11Add OpenAPI Swagger 3 spc and API generationliamfallon2-0/+3413
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: Idf3763fe99fc9dfa5739d9074213fa7d293fbba6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-21Set snapshot and/or references of policy/api for new releaseliamfallon1-1/+1
policy/api 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: I02910c3a06fb00167ba366281f5e06663395683f
2022-10-21Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I3156e55b0bc6557e3ff157b3f07339c1d165d29e
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon1-2/+1
Issue-ID: POLICY-4393 Change-Id: Iec8b134a9a23edd13048c58b1054e413be05add8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-10Use current springboot version of actuatorliamfallon1-1/+1
THe springboot actuator was on a different version of springboot than the rest of springboot due to an upadted dependency. Now that springboot itself is updated, we should not use a different version for actuator. Issue-ID: POLICY-4393 Change-Id: I58151e85859ef4f4ba1ad13ca4eee71114e66d3f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I5309004eb6e4bda552ed9896d61a9a0b92a18ea0