summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 Releaseliamfallon2-6/+1
Issue-ID: POLICY-4482 Change-Id: Iab954284a842d6065b05138efa501dd9dc7dff63 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-17Merge "Update Dockerfile for PF base image"Pamela Dragosh1-1/+2
2023-02-15Automate S3P tests in Papwaynedunican3-8/+57
- Trigger Pap S3P Tests Issue-ID: POLICY-4156 Change-Id: I7fe5883c5e9f74599422b541345c4fde4b50b551 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2023-02-14Update Dockerfile for PF base imageliamfallon1-1/+2
The Policy Framework base image run under the "onap" user rather than under the "root" user. This means that root access has to be enabled in child Dockerfiles for configuraiton that requires root access. Root access is turned off again later in the Dockerfile so that the image will run under another user. Issue-ID: POLICY-4558 Change-Id: I4da232b60353ce175465bb020db21f22a246f643 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 snapshotsliamfallon10-13/+13
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-15Release docker images for policy/pap: 2.8.0liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie7244ab6c230df8c3545f780d331ba0c9f9651f3
2022-12-15Release policy/pap: 2.8.0liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2a4d8f8843243dd88cfc6952494d23aa62a6ee23
2022-12-15update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2ee988f48734963c693712dc60024c4dfb930d8d
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-25Move git-commit-id-maven-plugin to parent pomdanielhanrahan1-19/+0
The POM config for git-commit-id-maven-plugin is duplicated in each repo, so the config is moved to policy/parent Issue-ID: POLICY-4466 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2e46e014cbc277785a236b60603d395490e58220
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 releaseliamfallon10-14/+14
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 snapshotsliamfallon10-13/+13
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-21Release docker images for policy/pap: 2.7.1liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8fdbe2a706b85ab97cc142fe242bcaa68db2e461
2022-10-21Release policy/pap: 2.7.1liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic6517fa17551d36465aa1b005b48a448705fd842
2022-10-21update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id4f5ddedad25e513aaee953d17e5c323fa7487f1
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 snapshotsliamfallon10-13/+13
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-23Release docker images for policy/pap: 2.7.0liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8fb14976f09872e640800600ca9a5053840dbe1d
2022-09-23Release policy/pap: 2.7.0liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I78c6e4ddca9882ecf67cc361cfa5616047b1baa1
2022-09-22update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie9178a197f5789b66bf0945839bdab302bdebccb
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-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
Remove inactive committers from INFO.yaml *** This commit is generated by a PF release script *** Issue-ID: POLICY-4354 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I357869ac50932de3ea857194b4ed761dcc16c2a8
2022-09-01Allow setting external dockerfile for policy-papdanielhanrahan1-0/+2
If building with an external dockerfile, e.g. using mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile docker will look for project files in the same directory as the new dockerfile. A new property is added for setting the context path, to allow using existing project files in src/main/docker. Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ica6984b0460e5814df56ab6679003e98b983d397
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idc09b2371c376dc32d4827cca8d28afe2184cae1
2022-07-13Reduce size of docker images for PAPdanielhanrahan3-31/+24
Remove unused jar files from image (not needed since spring boot) Avoid creating extra layers when extracting tarball Reduce size of Alpine image by 73% (959MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4266 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5a0a3efc81b0cb8da899c12f65479fd2af935451
2022-07-11Upgrade OpenSuse version to 15.4 for papdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafe1e311a22693eb30758949cdb1414d4c8d080a
2022-06-29OCI image spec labels for PAPdanielhanrahan3-3/+42
Issue-ID: POLICY-4254 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ide30dc437f25846b569b5f4ac9a581880705a7c4
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I6abd4506c967e49ce093c521484f6e5a5f0c5bec Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-19OpenSuse docker file for policy PAPdanielhanrahan5-6/+70
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4189 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4aca4c5d3486cecf012989e9227557587f83bbb6
2022-05-03Set snapshot and/or references of policy/pap for new releaseliamfallon9-13/+13
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 snapshotsliamfallon9-12/+12
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-28Release docker images for policy/pap: 2.6.3liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3b2e5a690b67ac6e818dea33f1096a3db2b21f89
2022-04-28Release policy/pap: 2.6.3liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I568b12a3db25004ebc4039dc229af65c2a95c262
2022-04-27update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic269481eed341f1c3043f53e76e6fa21b9856075
2022-04-19PAP S3P jmx changesa.sreekumar2-22827/+3204
Change-Id: I48c719276d2a53f2e4de9f4c87e54d3f373111ed Issue-ID: POLICY-4008 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-12Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
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-12Release docker images for policy/pap: 2.6.2liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0121998e4e554442bbb9c45489903eddad6ded0a