summaryrefslogtreecommitdiffstats
path: root/main/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2023-02-28Release policy/pap2.8.1jenkins-releng1-1/+1
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-01-31Upgrade and clean up dependenciesliamfallon1-5/+14
- 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-17Use generated PAP interface for Swaggerlapentafd1-0/+3
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-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-08Replace SpringFox with SpringDoc in policy-papliamfallon1-10/+4
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-17Add OpenAPI Swagger 3 spec and API generationliamfallon1-0/+44
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-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 codeliamfallon1-1/+0
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-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-02-17Use classes from policy/commonRam Krishna Verma1-0/+5
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-5/+0
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.sreekumar1-1/+6
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>
2021-12-14Migrate pap startup & controllers to spring boota.sreekumar1-22/+56
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-11-29Update snapshot of policy/pap to 2.6.1-SNAPSHOTliamfallon1-1/+1
*** 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-10-14Bump policy/pap to jakarta 2.6.0-SNAPSHOTa.sreekumar1-1/+1
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.sreekumar1-1/+1
Change-Id: Ifadbff28b39582016096865565d4b5c76f8dd027 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-14Bump pap to 2.5.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-3587 Change-Id: I525db19433347938645d31670729a9429ed0eb91 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-12Bump PAP to 2.5.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3105 Change-Id: I558a09dcc5a28df1a978f760b5fe0eeee72aeb30 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-10Bump pap to 2.4.2-SNAPSHOTwaynedunican1-1/+1
Issue-ID: POLICY-3127 Change-Id: I0949f9e03a538e3f9ba463697885b799fd0b2acb Signed-off-by: waynedunican <wayne.dunican@est.tech>
2021-02-23Bump pap to 2.4.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-3088 Change-Id: I74f23c31db609ca61592ec62b0594445bb8bf68c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-27Bump pap master to 2.4.0-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2875 Change-Id: Ibad95f08cb39adc285f9326dd1d590163ede5803 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump pap 2.3.4 SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: I3696c9c6cae59124f0269f1d2619b22b134b882c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump pap to 2.3.3 snapshotPamela Dragosh1-1/+1
Issue-ID: POLICY-2839 Change-Id: I37704935946a8c249e814bf4e515178528705cd6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-08Bump pap to 2.3.2Jim Hahn1-1/+1
Issue-ID: POLICY-2789 Change-Id: Ie4d4df890c1faac0e09d78d3b0d0157d8ef95410 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-10Bump pap to 2.3.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2695 Change-Id: I7f30fa9c89d7ad9ddc00644c170d8659f7ee3230 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-20Bump pap master to 2.3.0-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2514 Change-Id: Id780f9bc672cde633cf3d7d42b7c9f98fad0396f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-20Bump pap to 2.2.4-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2514 Change-Id: Iea5b6375975b0225d5b803cc2500adc46fc83804 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-24Point pap to new parentJim Hahn1-1/+1
Issue-ID: POLICY-2510 Change-Id: I7dae085491e10082f222404179554436beb81bf1 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15Bump pap to 2.2.2-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2378 Change-Id: I91483bc2ab270a6cce251a1b8e80b9767d956d89 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-24Bump pap to 2.2.1-SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I516da9f0ab9b704eaa0956ee735a7048d9167cc7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma1-1/+2
Issue-ID: POLICY-2355 Change-Id: I91453c577dd07b4bc79b11b1a181da4319e99edf Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-14policy/pap jdk11 upgradesHOCKLA1-2/+2
Issue-ID: POLICY-1593 Change-Id: I61be9364d09b520e30aeac6d825b6c84574790ac Signed-off-by: HOCKLA <ah999m@att.com>
2019-09-10Bump versions for pap masterjrh31-1/+1
Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I31bb75b39a3232ef7448fadcd79941d5191f61c2
2019-08-07Bump version of policy/papjrh31-1/+1
Issue-ID: POLICY-1965 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I23b13145a769055bdfef97d6a7deca1ccf710337
2019-06-26Bump pap patch to 2.1.1Pamela Dragosh1-1/+1
Released 2.1.0 Issue-ID: POLICY-1737 Change-Id: Id5cd42e6685f5745152526fab9f2d8947b27eade Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-30Bump pap to version 2.1.0Jim Hahn1-1/+1
Change-Id: I964d26a2812ae3e638f87587540b6881e1e6fa58 Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-23Bump to 2.0.2-SNAPSHOTPamela Dragosh1-1/+1
Released 2.0.1 Issue-ID: POLICY-1700 Change-Id: I6c1e328ff0ccbdfd59856ee14a56990ae36df56c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Step snapshot version of policy-papliamfallon1-1/+1
Issue-ID: POLICY-1630 Change-Id: Ie38ed0cc191dcd657b7558102b77b0912170568d Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-09Adding PdpGroup query & statechange providersramverma1-0/+5
1) Adding implementation of PdpGroup Query & State change providers for PAP REST API. 2) Adding support for unregistering Pdp after recieving TERMINATED state in PdpStatus message. 3) Updating PdpStatusMessageHandler with new filter changes in models. 4) Removing updatePdpStatistics method as we will implement db provider and REST provider in next release. 5) Fixing few bugs found during Pdp registration testing. 6) Updating the existing test cases to work. 7) Will be adding more exhaustive test cases in another review. Change-Id: I7aa20bf422671fdc1e06dab5e90aef4ee19a6a02 Issue-ID: POLICY-1541 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-07Wrong models-pdp in papJim Hahn1-1/+1
Policy/pap was still referring to models-pdp instead of policy-models-pdp. Change-Id: Ia39647a7fe3d29fe5d67ee6f8f57a296f4cc4347 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-03-25Changes to PAP infrastructure to support PDPJim Hahn1-6/+11
Modified PapActivator to implement the Startable interface and used that to manage it instead of the original method names. Replaced pdp-common enums with models-pdp enums. Added the use of the Registry. Added parameters to be used for PDP interaction. Added DAO interface classes. Modified HTTP client, in junit tests, to use GSON instead of Jackson. Removed DAO code, as the interfaces are not merged into policy/common yet. Added pdpParameters to default json config file. Changed tabs to spaces in json files. Removed "internal" classes that were moved to models-pdp. Change-Id: I969a7747e926680ad403557b44a0a52d289fb6d9 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>