aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-08-23Bump snapshoths for Java 17java-17liamfallon10-14/+14
Bump snapshots for Java 17 *** This commit is generated by a PF release script *** Issue-ID: POLICY-4665 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5f6b07fd08702c8ef2f00eb704c308d62819a458 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-08-17Java 17 / Spring 6 / Spring Boot 3 Upgradeadheli.tavares39-488/+476
Issue-ID: POLICY-4670 Change-Id: Id28a45fa0bcb17903065904bd9544012d5fefbb7 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-09Removed db-based statistics featureSuresh Charan16-888/+12
Statistics code cleanup Issue-ID: POLICY-4109 Change-Id: I5ad893deaf365c7e289b57c00260672f127d2630 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> (cherry picked from commit 535f62b4b4870505d2351ed098415d8d643b2ace)
2023-05-25Set all cross references of policy/apiliamfallon2-4/+4
policy/api updated with correct cross references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0533839641f7a1d5f5f69800c55a6dc19011b2c9
2023-05-25Set snapshot and/or references of policy/api for new releaseliamfallon9-11/+11
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-05-02Add Adheli Tavares as a committerliamfallon1-0/+8
Add Adheli Tavares as a committer *** This commit is generated by a PF release script *** Issue-ID: POLICY-4653 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I4af9fabfc68ed712068924e4a9defb18a271d336
2023-04-25Update snapshot and/or references of policy/api to latest snapshotsSuresh Charan10-13/+13
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-04-25Release docker images for policy/api: 2.8.2Suresh Charan1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: Suresh Charan <suresh.charan@bell.ca> Change-Id: Iaae49af86193ed99b595ce53f7d7a6f518cac933
2023-04-25Release policy/api: 2.8.2rameshiyer271-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Iaaca672a37c8b661c02f9b91477d69ca162ed118
2023-04-25update references in policy/api pomrameshiyer272-4/+4
updated references in the policy/api 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: I62762f90748fb7378e7c5fdbaa494187570fde6b
2023-03-01Update snapshot and/or references of policy/api to latest snapshotssaul.gill10-13/+13
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-03-01Release docker images for policy/api: 2.8.1saul.gill1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Icc5bcf89a7cb69e727275ef4b85de2d1182d9c93
2023-02-28Release policy/api: 2.8.1saul.gill1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ic16ac9e1adbef56b308479b52983d609b1e6117b
2023-02-28update references in policy/api pomsaul.gill2-4/+4
updated references in the policy/api 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: Icadaa830ac0e013029bee6d1f65dc05bb2997e29
2023-02-17Clean up dependencies for London Releaseliamfallon2-13/+7
Issue-ID: POLICY-4482 Change-Id: Ib61e0f3349d2741d990311fe661957500f8b7343 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 Apiwaynedunican3-4/+53
- Trigger S3P test execution Issue-ID: POLICY-4156 Change-Id: If4d6401a6c8e9ee4767f8910956a7026bc971518 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: Idde5d41c667644610d1cdb070a6ddf9dbaa44b75 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 snapshotsliamfallon10-13/+13
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-15Release docker images for policy/api: 2.8.0liamfallon1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I10204c945dbeca860f5d7ee294d116d838aa012c
2022-12-15Release policy/api: 2.8.0liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1aed07cbc7eaf48ce445509e5c30df58ff423690
2022-12-15update references in policy/api pomliamfallon2-4/+4
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf8ccc5d5874eab7a9fbb3b784a5d110a5d2f322
2022-12-12Use generated API interface for Swaggerliamfallon4-228/+40
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-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: I8b2c69440032056641f5ba1bf1f9863678dc1dad
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 releaseliamfallon10-14/+14
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 snapshotsliamfallon10-13/+13
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-21Release docker images for policy/api: 2.7.1liamfallon1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If84375933ecc583380fd60df38984dca7590cbc4
2022-10-21Release policy/api: 2.7.1liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ife46f4daf3b2860565d91ba4124ea3f5ec7d7874
2022-10-21update references in policy/api pomliamfallon2-4/+4
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ica25ba4472653ab47c604ee20cfe99692eadd8fd
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 snapshotsliamfallon10-13/+13
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
2022-09-23Release docker images for policy/api: 2.7.0liamfallon1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7dc7387b176c5e85c44e9fd83c6906a3f3915292
2022-09-23Release policy/api: 2.7.0liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia1bfd3943805e02846071eb554731bb735031d74
2022-09-22update references in policy/api pomliamfallon2-4/+4
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icb28267afb10efd92eb5cd63627cb68c3aec64d9
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: Ia4b352eef8f5eece99f6cdc1bbec9226e5b701ff
2022-08-30Allow setting external dockerfile for policy-apidanielhanrahan1-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: Iebfa6f3bcfeccf70675231acd4b6d7f629f56223
2022-08-17Preloading onap.policies.monitoring.tcagen2 2.0.0jhh2-5/+50
Issue-ID: POLICY-4317 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8885ddbc942a40081583194e0ff03ff700b77975
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: Ie1831cad682864c35cf0f7c08308a1f8e78ec656
2022-07-13Reduce size of docker images for APIdanielhanrahan3-31/+29
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% (956MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4265 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I321cd42ade294a8af40c64612037d3ca1cf58341
2022-07-11Upgrade OpenSuse version to 15.4 for apidanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibf51c9dcda5a666ffe04df89bbd50bd8b8e1d9f6
2022-06-28OCI image spec labels for APIdanielhanrahan3-4/+43
Issue-ID: POLICY-4253 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I994f16f3c6432a77b1b4c1468e0ca299a0db9624
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8