summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-25Update snapshot and/or references of policy/pap to latest snapshotsSuresh Charan10-13/+13
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-04-25Release docker images for policy/pap: 2.8.2Suresh Charan1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: Ie97635e340dae1d4f776b927e630b658a5f0e9ed
2023-04-25Release policy/pap: 2.8.2rameshiyer271-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Icc534e3f202226bc43091bf968f9f0f321e50706
2023-04-25update references in policy/pap pomrameshiyer272-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I465d7a75a67a5b604c4990e926bb7400234596d9
2023-03-01Update snapshot and/or references of policy/pap to latest snapshotssaul.gill10-13/+13
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-03-01Release docker images for policy/pap: 2.8.1saul.gill1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ifa2a6f5168af6ef333b5c284a690f327812204ba
2023-02-28Merge "Fixed sonar issues in policy-pap"Ram Krishna Verma4-16/+18
2023-02-28Release policy/pap: 2.8.1saul.gill1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I5d1bf0894009c50fa6c56f1e846538a08fea4f55
2023-02-28update references in policy/pap pomsaul.gill2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I25ec3274c2b98ca742ff8aab96fc6504bf8de8e0
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>