aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-11-13Release policy/api: 3.0.2liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iff195cddab6ad1fd50bc4c13737637c7320e7c34
2023-11-13update 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-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I773b58a25f5a863e8f6cec4399e6a0d1404e307c
2023-11-12Merge "Fix synchronization issues in policy-api"Liam Fallon3-0/+57
2023-11-10Fix synchronization issues in policy-apiFrancescoFioraEst3-0/+57
Issue-ID: POLICY-4864 Change-Id: Ieed49019bee3dbd9e5c81dde341d18e6f4bac784 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2023-11-06Fix jmx files for API S3P testsrameshiyer272-225/+126
Issue-ID: POLICY-4845 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I3398cead8ed9a2955f6a26fba48e8b5efc99689f
2023-10-18Update 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-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I97f9ae3d9c1116661899229e2c520f062fbe48ef
2023-10-18Release docker images for policy/api: 3.0.1liamfallon1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia80517acbac4bb32029d27bb46cf28f173d6dcab
2023-10-18Release policy/api: 3.0.1liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idb8021152aa9c5afb29e3ee4cee86481c9f64c52
2023-10-18update 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-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic47ae18e69aa12e6db57bf20532f6f24f4c4b168
2023-10-18Fix version.properties major versionliamfallon2-2/+2
Fix version.properties major version *** This commit is generated by a PF release script *** Issue-ID: POLICY-4854 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I41f2d27fb438cd923f5f3bf01add54bba9c68d0c
2023-10-12Merge "Fix s3p script for api"Adheli Tavares1-2/+2
2023-10-11Fix s3p script for apirameshiyer271-2/+2
Issue-ID: POLICY-4853 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Ib110640ad0aff8479aa17dd46011501c682baa4d
2023-10-11Removing AAF references from policy-apiadheli.tavares5-116/+2
Issue-ID: POLICY-4592 Change-Id: Ic8fbcb7ac58539fd91d7b077eedcb32b5c4e4a49 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-09-22Java 17 / Spring 6 / Spring Boot 3 Upgradeadheli.tavares47-550/+528
Issue-ID: POLICY-4670 Change-Id: Ie25d0501e5b936621e41f0d3c637320784d56627 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-08-08Removed 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>
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>