aboutsummaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2024-11-01Moving message bus configurations to its own moduleadheli.tavares7-27/+407
Issue-ID: POLICY-5131 Change-Id: Ibbcdc487300767e7b10d69e9b388c50f09e1adbc Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-09-03Increase coverage in commonwaynedunican6-1/+296
Issue-ID: POLICY-5106 Change-Id: I54dfcc2ab1100e959ee786ce7a9791ef3465686f Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-08-13Fix sonar issues in commonwaynedunican5-11/+11
- SONAR Fix instanceOf issues - SONAR Remove public modifiers - SONAR Remove unused imports - SONAR Remove exceptions that can't be thrown from method body Issue-ID: POLICY-5106 Change-Id: I745d0101036d3421f02db22481514be0b79f5103 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-07-24Isolating the usage of json-schema validator to drools-pdpadheli.tavares8-447/+0
- only drools-pdp have this validation, so moving the class and its dependencies to there to avoid loading dependencies where it's not used. Issue-ID: POLICY-5084 Change-Id: I9ec6b06f4a8b56c844725b7da8993eb3da078574 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-07-19Uplift json schema validator libraryadheli.tavares11-152/+217
Issue-ID: POLICY-5084 Change-Id: Ic0413a07d052b62cf81fb9f128ecca892d76aa73 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-07-12Update snapshot and/or references of policy/common to latest snapshotsrameshiyer271-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5072 Change-Id: I378c59b11f7f65fdecbb6bf917416ccd844d9b96 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
2024-07-01Remove Junit dependencies commonwaynedunican1-5/+0
Issue-ID: POLICY-5043 Change-Id: I89a8cfc05cc8ed06f594ef9209d9eb7b4df0e676 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-07-01Convert common to JUnit 5waynedunican39-539/+597
Review for utils Issue-ID: POLICY-5043 Change-Id: Ic5f1d30ef6bfb02fd09270127b19180b1f989084 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-05-20Set snapshot and/or references of policy/common for new releasesaul.gill1-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4999 Change-Id: I0f2a14bd5f9265af6b31d5e2379e57c46bd1090d Signed-off-by: saul.gill <saul.gill@est.tech>
2024-05-16Update snapshot and/or references of policy/common to latest snapshotswaynedunican1-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-5001 Change-Id: If597eabba9da9599fd4c751ce54f58335fd82003 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2024-04-25Update snapshot and/or references of policy/common to latest snapshotssaul.gill1-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4970 Change-Id: I5c61dd14f9d0e20e6a91e9dfaac053cf4486fc95 Signed-off-by: saul.gill <saul.gill@est.tech>
2024-04-10Dependency management updateadheli.tavares2-7/+53
- including dependencies to pom.xml files only where they are used, avoiding extra dependencies being added in all packages. - removal of unused UEB topic. Issue-ID: POLICY-4945 Change-Id: Ifc0212af2bc938e357e1addebcec591f9d6cfc14 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2024-02-16Update snapshot and/or references of policy/common to latest snapshotswaynedunican1-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4932 Change-Id: I98e65d549da3189e4c582c14f422711b072bf970 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-12-11Update snapshot and/or references of policy/common to latest snapshotssaul.gill1-1/+1
policy/common 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: Ia0a77900be780b98d3a789ca1047d57d43a34d7c
2023-11-14Set snapshot and/or references of policy/common for new releaseliamfallon1-1/+1
policy/common 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: I3c28df30ad7d015d80af9a09cd28685ed1515fdf
2023-11-10Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: If80027b27afcf8f12d5c29913f8a2134cb9d720e
2023-10-18Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: I6962dbef753696c7424fb4f077b2671ff851383e
2023-09-29Fix security vulnerabilitiesadheli.tavares2-15/+15
- iq nexus vulnerabilities - sonar security hotspots and code smell Issue-ID: POLICY-4761 Issue-ID: POLICY-4833 Change-Id: Iab2e07d2ee7b90031bc5a30210ce7d3f5a47b3fd Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-21Java 17 Upgradeadheli.tavares13-76/+35
Issue-ID: POLICY-4668 Change-Id: If4e79224de61d66d7514f3abbd7b8bee1c3d5681 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-25Set snapshot and/or references of policy/common for new releaseliamfallon1-1/+1
policy/common 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: Ic64422e4c495ba2ffe8cb602c497bdb2d8c4237c
2023-04-24Update snapshot and/or references of policy/common to latest snapshotsrameshiyer271-1/+1
policy/common updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Iec549bcd7fc7c0d56b33503f922972669e19bb3d
2023-02-28Update snapshot and/or references of policy/common to latest snapshotssaul.gill1-1/+1
policy/common 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: Id610c0a0da003aae451c63d782b2e6c09a381a83 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-20Clean up dependencies for London Releaseliamfallon1-1/+6
Issue-ID: POLICY-4482 Change-Id: Ibc0833313bf8eb5330c414ff00a31313500959e6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-06Replace Eclipselink with Hibernateliamfallon1-2/+2
Issue-ID: POLICY-4533 Change-Id: I9d2e4d90bf997935efad16e8ae4473d635ae9d65 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon1-8/+3
- 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: Iec5ba1283acd506c9f3c7fe7b5d7858db6abbaa7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: Ic0cb7dd49b28508835067a81976fa2e07bb30c84
2022-12-13Use managed versions of dependenciesliamfallon1-1/+0
Issue-ID: POLICY-4482 Change-Id: I6d25d41c32de8f5c1dfb36e3883bb144a070978e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-21Set snapshot and/or references of policy/common for new releaseliamfallon1-1/+1
policy/common 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: I235db15a4de1b683406457bad33e45599a5c49f5
2022-10-20Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: I9805920f11b3a527fca02a591e7cb06273e75543
2022-09-22Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: I4a15ca61a97a3d65728f4dfbed73fd3a653ec771
2022-08-01Use the dependency version from policy/parentRam Krishna Verma1-1/+0
Removing the version attribute from this pom, so that the same gets derived from policy/parent and managed at one location. Issue-ID: POLICY-4291 Change-Id: Idfa3ab68f1e80ad951460842dfaeaabdc5779b22 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-05-03Set snapshot and/or references of policy/common for new releaseliamfallon1-1/+1
policy/common 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: I79c806af98b2fc157852d0da98ed5dd0b47bfdfc Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-27Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: I6fab0ebe25ec33ad171a1f2ce37736b550a00954
2022-04-22Fix unit test failing due to GSON upgradeliamfallon1-2/+3
The result returned by the new GSON version has a forward slash at the end. Issue-ID: POLICY-4070 Change-Id: I218be9a3d21a78071323ae2127efa74353022800 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-12Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: I337927f55a7b846ab311db23bb5db05ce70c0cec
2022-03-09Update snapshot and/or references of policy/common to latest snapshotsliamfallon1-1/+1
policy/common 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: Ie568311ebab28837dd70fad6f603fd14d356318e
2022-02-08add constants for policy execution latency metricjhh1-0/+12
Issue-ID: POLICY-3761 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib4885e8f412c540796de37d18fc553da0a04f46c
2022-02-07add global constant for policy execution metricRashmi Pujar1-1/+28
Issue-ID: POLICY-3845 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Ib72691a80aa56249532058dac9c9e59936254fff
2022-02-02add global constants for prometheus usagejhh1-0/+68
Issue-ID: POLICY-3761 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3f11d2fdb49d5b38d51add86ab6989e5d93584e9
2022-01-17Fix test case broken by new GSON versionliamfallon1-1/+1
The "com/google" resource bundle now contains more than 189 files, so this test is changed to insetead check for the existence of "com/google/gson", otherwise this test could break every time we update gson. Issue-ID: POLICY-3849 Change-Id: Id979bb7a3d2453956701f64057accb08228a774d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-24Update snapshot of policy/common to 1.10.1-SNAPSHOTliamfallon1-1/+1
*** 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: I4ce7c53f5df1e0e1ad954146240899230a45d945
2021-10-13Bump policy/common master to 1.10.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I3710faca8799cfdbf0d6c75ae286b1765ddf6b97 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Bump policy/common to 1.9.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I599ac2e36c45ba6882c95681a531da8b57efbb58 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-13Bump snapshot versionliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I11043890dfd4dfbc19ec24eb15a546745393d105 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-02Create methods for creating temp filesJim Hahn6-67/+224
Created utility methods to create temp files and set default permissions. These can be used in other repos to satisfy sonar. Also added code to close streams and clean up temp files created by some junit tests. Modified to use IOUtils to read a stream. Issue-ID: POLICY-3289 Change-Id: Ic83e4f4d7745be7b37ebb42bf1d81e303d8dadc9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Merge "Prevent deadlock in ServiceManager"Ram Krishna Verma1-9/+10
2021-08-23Prevent deadlock in ServiceManagerJim Hahn1-9/+10
Modified the ServiceManager code so that isAlive() can be invoked without requiring synchronization, thus eliminating one potential area of deadlock. Issue-ID: POLICY-3531 Change-Id: I27d060c3a7cfad8dab20a197d1e42c4ee607a1e2 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-20Fix sonars and java warnings in commonJim Hahn2-36/+5
Issue-ID: POLICY-3284 Change-Id: I13fc28c6ae681871be8bb9cf3d222d7c65459a44 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-04refactor slf4j logger to common utilTaka Cho4-1/+286
avoid EELF lib dependency, was suggested to move to common util instead Issue-ID: POLICY-3087 Change-Id: I79a2f5ba32fd3fc496ef3f72a02f4696b766f9c7 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-06-25Add name generator for PAP and PDPsJim Hahn2-1/+23
Added a method that PAPs and PDPs can use to generate a unique name or identifier to be used in PAP-PDP messages. Issue-ID: POLICY-3410 Change-Id: I22b075b123f79ba05e0884f743296c4bc64842b9 Signed-off-by: Jim Hahn <jrh3@att.com>