policy/api.git
2 weeks agoDependency management update 77/137677/1 master
adheli.tavares [Wed, 10 Apr 2024 12:45:31 +0000 (13:45 +0100)]
Dependency management update

- including dependencies to pom.xml files only where they are used,
avoiding extra dependencies being added in all packages.

Issue-ID: POLICY-4945
Change-Id: I181d03f45ccedff8658903150b160feaf692ee10
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
7 weeks agoMerge "Update S3Ps to use Kafka"
Ramesh Murugan Iyer [Fri, 1 Mar 2024 08:59:10 +0000 (08:59 +0000)]
Merge "Update S3Ps to use Kafka"

2 months agoFix config files to remove outdated hibernate configuration 29/137329/1
adheli.tavares [Tue, 20 Feb 2024 14:35:10 +0000 (14:35 +0000)]
Fix config files to remove outdated hibernate configuration

Issue-ID: POLICY-4929
Change-Id: I218b6f0bc095d2693f8fa278a255dac0ad145588
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 months agoUpdate snapshot and/or references of policy/api to latest snapshots 67/137267/1
waynedunican [Mon, 19 Feb 2024 09:37:18 +0000 (09:37 +0000)]
Update snapshot and/or references of policy/api to latest snapshots

policy/api updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4932
Change-Id: I26c467f814815f72d9f749f365f28e931be617f9
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 months agoRelease docker images for policy/api: 3.1.1 62/137262/1
waynedunican [Mon, 19 Feb 2024 09:17:46 +0000 (09:17 +0000)]
Release docker images for policy/api: 3.1.1

This commit releases docker images for repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4932
Change-Id: Ib8b1396cea17c10c79e77bff4142d85b47648ea4
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 months agoRelease policy/api: 3.1.1 58/137258/1
waynedunican [Mon, 19 Feb 2024 08:10:25 +0000 (08:10 +0000)]
Release policy/api: 3.1.1

This commit releases repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4932
Change-Id: Iff8ab5e8d8eb0ded29e409c3c28f7988203efc3c
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 months agoupdate references in policy/api pom 47/137247/1
waynedunican [Fri, 16 Feb 2024 16:29:11 +0000 (16:29 +0000)]
update references in policy/api pom

updated references in the policy/api pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4932
Change-Id: I555581ad2729dcf28a250a8a8794874d2fce5535
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 months agoUpdate S3Ps to use Kafka 16/137216/1
waynedunican [Tue, 13 Feb 2024 09:02:37 +0000 (09:02 +0000)]
Update S3Ps to use Kafka

Issue-ID: POLICY-4927
Change-Id: Id48d5b2470f3076914198a934af72ff936861072
Signed-off-by: waynedunican <wayne.dunican@est.tech>
4 months agoUpdate snapshot and/or references of policy/api to latest snapshots 19/136819/1
saul.gill [Mon, 11 Dec 2023 16:19:30 +0000 (16:19 +0000)]
Update snapshot and/or references of policy/api to latest snapshots

policy/api updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4907
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I98dc67f682eae288f5f461f191d8a9ddfdcd1eb1

4 months agoRelease docker images for policy/api: 3.1.0 08/136808/1
saul.gill [Mon, 11 Dec 2023 15:56:17 +0000 (15:56 +0000)]
Release docker images for policy/api: 3.1.0

This commit releases docker images for repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4907
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I2a6a0498aa042a72e6b392b6b75a9e4bc51edfd5

4 months agoRelease policy/api: 3.1.0 02/136802/1
saul.gill [Mon, 11 Dec 2023 15:24:44 +0000 (15:24 +0000)]
Release policy/api: 3.1.0

This commit releases repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4907
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ib60a3b0962f46771d2330d3e6cdda6dd4c192ece

4 months agoupdate references in policy/api pom 90/136790/1
saul.gill [Mon, 11 Dec 2023 14:45:12 +0000 (14:45 +0000)]
update references in policy/api pom

updated references in the policy/api pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4907
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I10f7bd899bfdbd0dd367e65bd6dc25bf2356900f

4 months agoAllow semantic versioning in all templates in api 95/136695/1
FrancescoFioraEst [Fri, 24 Nov 2023 15:06:31 +0000 (15:06 +0000)]
Allow semantic versioning in all templates in api

Issue-ID: POLICY-4888
Change-Id: I824618039f49581cf82ea2ca570960b41cead6bd
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
5 months agoFix metrics validation in API jmx files 41/136641/1
rameshiyer27 [Thu, 23 Nov 2023 11:56:30 +0000 (11:56 +0000)]
Fix metrics validation in API jmx files

Issue-ID: POLICY-4845
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I6933f2e88ab09cd5fedb1772b139c2e895b33f00

5 months agoSet all cross references of policy/api 39/136539/1
liamfallon [Tue, 14 Nov 2023 15:52:38 +0000 (16:52 +0100)]
Set all cross references of policy/api

policy/api updated with correct cross references

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4854
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I78604ed1f80cac155941164e5d3efe3c625501f2

5 months agoSet snapshot and/or references of policy/api for new release 27/136527/1
liamfallon [Tue, 14 Nov 2023 15:12:27 +0000 (16:12 +0100)]
Set snapshot and/or references of policy/api for new release

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: Ib5c0564e591f515bdf0f469102b6ddfd675a2bbe

5 months agoUpdate snapshot and/or references of policy/api to latest snapshots 04/136504/1
liamfallon [Mon, 13 Nov 2023 15:41:26 +0000 (16:41 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

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: Idb818220a15d81ef9fd395e7b697c7a6f86ab72a

5 months agoRelease docker images for policy/api: 3.0.2 95/136495/1
liamfallon [Mon, 13 Nov 2023 14:17:10 +0000 (15:17 +0100)]
Release docker images for policy/api: 3.0.2

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: Ieb8baa32a5874abab73099dc5e22248de6df4dd9

5 months agoRelease policy/api: 3.0.2 68/136468/1
liamfallon [Mon, 13 Nov 2023 13:39:36 +0000 (14:39 +0100)]
Release policy/api: 3.0.2

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

5 months agoupdate references in policy/api pom 67/136467/1
liamfallon [Mon, 13 Nov 2023 12:28:58 +0000 (13:28 +0100)]
update references in policy/api pom

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

5 months agoMerge "Fix synchronization issues in policy-api"
Liam Fallon [Sun, 12 Nov 2023 16:56:26 +0000 (16:56 +0000)]
Merge "Fix synchronization issues in policy-api"

5 months agoFix synchronization issues in policy-api 29/136429/1
FrancescoFioraEst [Tue, 7 Nov 2023 16:44:03 +0000 (16:44 +0000)]
Fix synchronization issues in policy-api

Issue-ID: POLICY-4864
Change-Id: Ieed49019bee3dbd9e5c81dde341d18e6f4bac784
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
5 months agoFix jmx files for API S3P tests 85/136385/1
rameshiyer27 [Tue, 17 Oct 2023 06:38:14 +0000 (07:38 +0100)]
Fix jmx files for API S3P tests

Issue-ID: POLICY-4845
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I3398cead8ed9a2955f6a26fba48e8b5efc99689f

6 months agoUpdate snapshot and/or references of policy/api to latest snapshots 62/136262/1
liamfallon [Wed, 18 Oct 2023 14:48:16 +0000 (15:48 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

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

6 months agoRelease docker images for policy/api: 3.0.1 52/136252/1
liamfallon [Wed, 18 Oct 2023 13:33:38 +0000 (14:33 +0100)]
Release docker images for policy/api: 3.0.1

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

6 months agoRelease policy/api: 3.0.1 42/136242/1
liamfallon [Wed, 18 Oct 2023 12:28:28 +0000 (13:28 +0100)]
Release policy/api: 3.0.1

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

6 months agoupdate references in policy/api pom 34/136234/1
liamfallon [Wed, 18 Oct 2023 11:19:32 +0000 (12:19 +0100)]
update references in policy/api pom

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

6 months agoFix version.properties major version 15/136215/1
liamfallon [Wed, 18 Oct 2023 08:07:52 +0000 (09:07 +0100)]
Fix version.properties major version

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

6 months agoMerge "Fix s3p script for api"
Adheli Tavares [Thu, 12 Oct 2023 08:31:24 +0000 (08:31 +0000)]
Merge "Fix s3p script for api"

6 months agoFix s3p script for api 45/136145/1
rameshiyer27 [Wed, 11 Oct 2023 12:30:38 +0000 (13:30 +0100)]
Fix s3p script for api

Issue-ID: POLICY-4853
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: Ib110640ad0aff8479aa17dd46011501c682baa4d

6 months agoRemoving AAF references from policy-api 35/136135/1
adheli.tavares [Mon, 2 Oct 2023 15:34:16 +0000 (16:34 +0100)]
Removing AAF references from policy-api

Issue-ID: POLICY-4592
Change-Id: Ic8fbcb7ac58539fd91d7b077eedcb32b5c4e4a49
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
7 months agoJava 17 / Spring 6 / Spring Boot 3 Upgrade 07/136007/1
adheli.tavares [Wed, 2 Aug 2023 13:49:33 +0000 (14:49 +0100)]
Java 17 / Spring 6 / Spring Boot 3 Upgrade

Issue-ID: POLICY-4670
Change-Id: Ie25d0501e5b936621e41f0d3c637320784d56627
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
8 months agoRemoved db-based statistics feature 27/133927/4
Suresh Charan [Thu, 30 Mar 2023 00:01:21 +0000 (20:01 -0400)]
Removed db-based statistics feature

Statistics code cleanup

Issue-ID: POLICY-4109
Change-Id: I5ad893deaf365c7e289b57c00260672f127d2630
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
11 months agoSet all cross references of policy/api 62/134662/1
liamfallon [Thu, 25 May 2023 09:46:38 +0000 (10:46 +0100)]
Set all cross references of policy/api

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

11 months agoSet snapshot and/or references of policy/api for new release 49/134649/1
liamfallon [Thu, 25 May 2023 08:41:03 +0000 (09:41 +0100)]
Set snapshot and/or references of policy/api for new release

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

11 months agoAdd Adheli Tavares as a committer 10/134410/2
liamfallon [Tue, 2 May 2023 11:11:35 +0000 (12:11 +0100)]
Add Adheli Tavares as a committer

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

12 months agoUpdate snapshot and/or references of policy/api to latest snapshots 45/134345/1
Suresh Charan [Tue, 25 Apr 2023 16:12:44 +0000 (12:12 -0400)]
Update snapshot and/or references of policy/api to latest snapshots

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

12 months agoRelease docker images for policy/api: 2.8.2 39/134339/1
Suresh Charan [Tue, 25 Apr 2023 15:43:43 +0000 (11:43 -0400)]
Release docker images for policy/api: 2.8.2

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

12 months agoRelease policy/api: 2.8.2 29/134329/1
rameshiyer27 [Tue, 25 Apr 2023 13:41:05 +0000 (14:41 +0100)]
Release policy/api: 2.8.2

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

12 months agoupdate references in policy/api pom 17/134317/1
rameshiyer27 [Tue, 25 Apr 2023 08:47:30 +0000 (09:47 +0100)]
update references in policy/api pom

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

13 months agoUpdate snapshot and/or references of policy/api to latest snapshots 02/133502/1
saul.gill [Wed, 1 Mar 2023 12:37:44 +0000 (12:37 +0000)]
Update snapshot and/or references of policy/api to latest snapshots

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

13 months agoRelease docker images for policy/api: 2.8.1 92/133492/1
saul.gill [Wed, 1 Mar 2023 11:51:30 +0000 (11:51 +0000)]
Release docker images for policy/api: 2.8.1

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

13 months agoRelease policy/api: 2.8.1 73/133473/1
saul.gill [Tue, 28 Feb 2023 16:34:07 +0000 (16:34 +0000)]
Release policy/api: 2.8.1

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

13 months agoupdate references in policy/api pom 66/133466/1
saul.gill [Tue, 28 Feb 2023 15:41:59 +0000 (15:41 +0000)]
update references in policy/api pom

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

14 months agoClean up dependencies for London Release 23/133323/2
liamfallon [Fri, 17 Feb 2023 19:14:22 +0000 (19:14 +0000)]
Clean up dependencies for London Release

Issue-ID: POLICY-4482
Change-Id: Ib61e0f3349d2741d990311fe661957500f8b7343
Signed-off-by: liamfallon <liam.fallon@est.tech>
14 months agoMerge "Update Dockerfile for PF base image"
Pamela Dragosh [Fri, 17 Feb 2023 15:22:39 +0000 (15:22 +0000)]
Merge "Update Dockerfile for PF base image"

14 months agoAutomate S3P tests in Api 46/133246/4
waynedunican [Tue, 10 Jan 2023 11:07:33 +0000 (11:07 +0000)]
Automate S3P tests in Api

- Trigger S3P test execution

Issue-ID: POLICY-4156
Change-Id: If4d6401a6c8e9ee4767f8910956a7026bc971518
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
14 months agoUpdate Dockerfile for PF base image 84/133284/1
liamfallon [Tue, 14 Feb 2023 11:24:53 +0000 (11:24 +0000)]
Update Dockerfile for PF base image

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>
14 months agoFixed sonar issue in policy-api 20/133220/1
Suresh Charan [Thu, 9 Feb 2023 17:17:13 +0000 (12:17 -0500)]
Fixed sonar issue in policy-api

Fixed cognitive complexity reported by sonar.

Issue-ID: POLICY-4536
Change-Id: Ic3b5b7d79165afed15a1593e03b8374fb2122e12
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
14 months agoContract Tests policy-api 74/133074/3
lapentafd [Mon, 30 Jan 2023 17:36:59 +0000 (17:36 +0000)]
Contract Tests policy-api

Adding Contract tests, verifying the stubbed implementation.

Issue-ID: POLICY-4533
Change-Id: I729d0c2316b185967e0d7c292eb3c8c3da23ac23
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
14 months agoUpgrade and clean up dependencies 80/133080/1
liamfallon [Tue, 31 Jan 2023 10:41:41 +0000 (10:41 +0000)]
Upgrade and clean up dependencies

- 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>
15 months agoAdding Server stubs for policy-api 40/132940/1
lapentafd [Wed, 18 Jan 2023 13:34:27 +0000 (13:34 +0000)]
Adding Server stubs for policy-api

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>
16 months agoUse generated API interface for Swagger(2) 14/132814/2
lapentafd [Tue, 20 Dec 2022 12:03:46 +0000 (12:03 +0000)]
Use generated API interface for Swagger(2)

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>
16 months agoUpdate snapshot and/or references of policy/api to latest snapshots 71/132771/1
liamfallon [Thu, 15 Dec 2022 16:19:27 +0000 (16:19 +0000)]
Update snapshot and/or references of policy/api to latest snapshots

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

16 months agoRelease docker images for policy/api: 2.8.0 56/132756/1
liamfallon [Thu, 15 Dec 2022 15:38:12 +0000 (15:38 +0000)]
Release docker images for policy/api: 2.8.0

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

16 months agoRelease policy/api: 2.8.0 53/132753/1
liamfallon [Thu, 15 Dec 2022 14:12:22 +0000 (14:12 +0000)]
Release policy/api: 2.8.0

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

16 months agoupdate references in policy/api pom 42/132742/1
liamfallon [Thu, 15 Dec 2022 12:39:41 +0000 (12:39 +0000)]
update references in policy/api pom

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

16 months agoUse generated API interface for Swagger 79/132679/1
liamfallon [Mon, 12 Dec 2022 16:42:24 +0000 (16:42 +0000)]
Use generated API interface for Swagger

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>
16 months agoReplace SpringFox with SpringDoc in policy-api 43/132643/1
liamfallon [Thu, 8 Dec 2022 18:38:13 +0000 (18:38 +0000)]
Replace SpringFox with SpringDoc in policy-api

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>
16 months agoMove git-commit-id-maven-plugin to parent pom 65/132465/1
danielhanrahan [Fri, 25 Nov 2022 14:07:30 +0000 (14:07 +0000)]
Move git-commit-id-maven-plugin to parent pom

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

17 months agoAdd OpenAPI Swagger 3 spc and API generation 70/132170/1
liamfallon [Fri, 11 Nov 2022 15:57:47 +0000 (15:57 +0000)]
Add OpenAPI Swagger 3 spc and API generation

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>
18 months agoSet snapshot and/or references of policy/api for new release 96/131696/1
liamfallon [Fri, 21 Oct 2022 16:45:23 +0000 (17:45 +0100)]
Set snapshot and/or references of policy/api for new release

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

18 months agoUpdate snapshot and/or references of policy/api to latest snapshots 55/131655/1
liamfallon [Fri, 21 Oct 2022 09:50:10 +0000 (10:50 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

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

18 months agoRelease docker images for policy/api: 2.7.1 44/131644/1
liamfallon [Fri, 21 Oct 2022 09:19:05 +0000 (10:19 +0100)]
Release docker images for policy/api: 2.7.1

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

18 months agoRelease policy/api: 2.7.1 32/131632/1
liamfallon [Fri, 21 Oct 2022 08:38:12 +0000 (09:38 +0100)]
Release policy/api: 2.7.1

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

18 months agoupdate references in policy/api pom 25/131625/1
liamfallon [Fri, 21 Oct 2022 07:06:04 +0000 (08:06 +0100)]
update references in policy/api pom

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

18 months agoUse spring-boot-starter-actuator managed version 31/131431/1
liamfallon [Tue, 11 Oct 2022 19:18:25 +0000 (20:18 +0100)]
Use spring-boot-starter-actuator managed version

Issue-ID: POLICY-4393
Change-Id: Iec8b134a9a23edd13048c58b1054e413be05add8
Signed-off-by: liamfallon <liam.fallon@est.tech>
18 months agoUse current springboot version of actuator 15/131415/1
liamfallon [Mon, 10 Oct 2022 14:50:33 +0000 (15:50 +0100)]
Use current springboot version of actuator

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>
19 months agoUpdate snapshot and/or references of policy/api to latest snapshots 36/131136/1
liamfallon [Fri, 23 Sep 2022 09:58:39 +0000 (10:58 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

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

19 months agoRelease docker images for policy/api: 2.7.0 26/131126/1
liamfallon [Fri, 23 Sep 2022 08:44:17 +0000 (09:44 +0100)]
Release docker images for policy/api: 2.7.0

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

19 months agoRelease policy/api: 2.7.0 18/131118/1
liamfallon [Fri, 23 Sep 2022 06:50:05 +0000 (07:50 +0100)]
Release policy/api: 2.7.0

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

19 months agoupdate references in policy/api pom 15/131115/1
liamfallon [Thu, 22 Sep 2022 22:22:07 +0000 (23:22 +0100)]
update references in policy/api pom

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

19 months agoRemove inactive committers from INFO.yaml 26/130826/1
liamfallon [Fri, 9 Sep 2022 09:22:55 +0000 (10:22 +0100)]
Remove inactive committers from INFO.yaml

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

19 months agoAllow setting external dockerfile for policy-api 17/130517/1
danielhanrahan [Tue, 30 Aug 2022 06:31:13 +0000 (07:31 +0100)]
Allow setting external dockerfile for policy-api

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

20 months agoPreloading onap.policies.monitoring.tcagen2 2.0.0 43/130343/1
jhh [Thu, 18 Aug 2022 00:02:20 +0000 (19:02 -0500)]
Preloading onap.policies.monitoring.tcagen2 2.0.0

Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I8885ddbc942a40081583194e0ff03ff700b77975

20 months agoUpdate docker base image to snapshot 74/130074/1
liamfallon [Fri, 29 Jul 2022 14:27:16 +0000 (15:27 +0100)]
Update docker base image to snapshot

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

21 months agoReduce size of docker images for API 33/129733/3
danielhanrahan [Wed, 29 Jun 2022 12:51:39 +0000 (13:51 +0100)]
Reduce size of docker images for API

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

21 months agoUpgrade OpenSuse version to 15.4 for api 69/129869/1
danielhanrahan [Mon, 11 Jul 2022 14:24:32 +0000 (15:24 +0100)]
Upgrade OpenSuse version to 15.4 for api

Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ibf51c9dcda5a666ffe04df89bbd50bd8b8e1d9f6

21 months agoOCI image spec labels for API 97/129697/2
danielhanrahan [Mon, 27 Jun 2022 15:23:29 +0000 (16:23 +0100)]
OCI image spec labels for API

Issue-ID: POLICY-4253
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I994f16f3c6432a77b1b4c1468e0ca299a0db9624

22 months agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:08:10 +0000 (08:08 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

22 months agoAdd Ramesh Murugan Iyer as a committer 42/129442/2
liamfallon [Wed, 1 Jun 2022 12:03:55 +0000 (13:03 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: I83f18201133693765d56183d280edc0db3f79672
Signed-off-by: liamfallon <liam.fallon@est.tech>
23 months agoFix build issue in policy-api OpenSuse dockerfile 14/129314/1
danielhanrahan [Thu, 19 May 2022 09:33:57 +0000 (10:33 +0100)]
Fix build issue in policy-api OpenSuse dockerfile

Prevent dockerfile from swallowing errors during build

Issue-ID: POLICY-4188
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1db4a6ad71d99cf6ab80c09b75461738c5f01e6c

23 months agoOpenSuse docker file for policy API 00/129300/3
danielhanrahan [Tue, 17 May 2022 14:37:02 +0000 (15:37 +0100)]
OpenSuse docker file for policy API

Create OpenSuse docker file
Add build profile for OpenSuse docker image

Issue-ID: POLICY-4188
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I843cb59b5d6279c01a396998b12fc5c0c0691215

23 months agoSet snapshot and/or references of policy/api for new release 49/129049/1
liamfallon [Tue, 3 May 2022 16:21:48 +0000 (17:21 +0100)]
Set snapshot and/or references of policy/api for new release

policy/api 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: I92164d86463228070bbc96eefb66ebea72617b77
Signed-off-by: liamfallon <liam.fallon@est.tech>
23 months agoUpdate snapshot and/or references of policy/api to latest snapshots 71/128971/1
liamfallon [Thu, 28 Apr 2022 15:00:25 +0000 (16:00 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

policy/api 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: Ia04701c92ff14ba783ae59884192ee35fc2309cd

23 months agoRelease docker images for policy/api: 2.6.3 62/128962/1
liamfallon [Thu, 28 Apr 2022 14:32:46 +0000 (15:32 +0100)]
Release docker images for policy/api: 2.6.3

This commit releases docker images for repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iedd85ef468fdb63eea8ec250d779bb57bf5c89de

23 months agoRelease policy/api: 2.6.3 52/128952/1
liamfallon [Thu, 28 Apr 2022 13:40:44 +0000 (14:40 +0100)]
Release policy/api: 2.6.3

This commit releases repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6d3385bc4b014585050f9848587016cc39856de0

23 months agoupdate references in policy/api pom 15/128915/1
liamfallon [Wed, 27 Apr 2022 19:55:36 +0000 (20:55 +0100)]
update references in policy/api pom

updated references in the policy/api pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I924f7541fade3884a3bed0926ad7a598e278a06d

2 years agoRemove warnings in policy-api code 77/128777/2
liamfallon [Thu, 21 Apr 2022 16:11:43 +0000 (17:11 +0100)]
Remove warnings in policy-api code

Dependency versions are handled from managed dependencies in
policy/parent

Issue-ID: POLICY-4070
Change-Id: If4d86742e769b879d59bc839e44d63a355d20602
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate policy-api stability and performance jmx files 91/128591/3
Prakhar Pandey [Thu, 14 Apr 2022 05:53:11 +0000 (01:53 -0400)]
Update policy-api stability and performance jmx files

Policy-API S3P test files are being updated according to Jakarta release

Issue-ID: POLICY-4007
Change-Id: Ic07020b387d94b85fe7f02ff5401daa5f90a90dc
Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
2 years agoUpdate snapshot and/or references of policy/api to latest snapshots 27/128527/1
liamfallon [Tue, 12 Apr 2022 20:34:47 +0000 (21:34 +0100)]
Update snapshot and/or references of policy/api to latest snapshots

policy/api 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: I4f7a7b041d7f681a0975f673725abfad249d5671

2 years agoRelease docker images for policy/api: 2.6.2 19/128519/1
liamfallon [Tue, 12 Apr 2022 18:47:19 +0000 (19:47 +0100)]
Release docker images for policy/api: 2.6.2

This commit releases docker images for repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I995955355d54769e887bfbc1f368dc1abfc0ffa2

2 years agoRelease policy/api: 2.6.2 14/128514/1
liamfallon [Tue, 12 Apr 2022 18:23:21 +0000 (19:23 +0100)]
Release policy/api: 2.6.2

This commit releases repo policy/api.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I9360ae195bfcf05b0a1555ce9d6fede8a3875d1e

2 years agoupdate references in policy/api pom 06/128506/1
liamfallon [Tue, 12 Apr 2022 17:41:42 +0000 (18:41 +0100)]
update references in policy/api pom

updated references in the policy/api pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8e2d394be2baad3ab4020d9e457e7a3e0298bc72

2 years agoPolicy-API Jakarta postman collection changes 64/128364/5
a.sreekumar [Thu, 7 Apr 2022 11:17:36 +0000 (12:17 +0100)]
Policy-API Jakarta postman collection changes

Change-Id: I51ae38d3c705a1fa503e9ca8788638aca49ff556
Issue-ID: POLICY-3993
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoMerge "Fix spring transaction issue in getNodetemplates"
Liam Fallon [Wed, 23 Mar 2022 09:50:46 +0000 (09:50 +0000)]
Merge "Fix spring transaction issue in getNodetemplates"

2 years agoMerge "API healthcheck must return healthcheck report object"
Ajith Sreekumar [Tue, 22 Mar 2022 16:40:27 +0000 (16:40 +0000)]
Merge "API healthcheck must return healthcheck report object"

2 years agoFix spring transaction issue in getNodetemplates 33/127933/2
rameshiyer27 [Mon, 21 Mar 2022 00:00:03 +0000 (00:00 +0000)]
Fix spring transaction issue in getNodetemplates

changes on the db service template object gets auto updated to the db
by spring transaction. Creating new object copy to avoid the same.

Issue-ID: POLICY-3934
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0dbd5cb9d2c1119b2f263f60ed470bc8fef85d1e

2 years agoAPI healthcheck must return healthcheck report object 43/127943/1
Rashmi Pujar [Tue, 22 Mar 2022 02:17:14 +0000 (22:17 -0400)]
API healthcheck must return healthcheck report object

Retain previous behavior of returning the healthcheck
report object for the healthcheck API upon DB failures.
This is also needed for the enhanced readiness probe on
policy components which uses the healthcheck endpoint.

Issue-ID: POLICY-4030
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Ifdbb23c8302567b4aa0f686bf9e77cdac37d1a62

2 years agoUpdate snapshot and/or references of policy/api to latest snapshots 10/127710/1
liamfallon [Fri, 11 Mar 2022 18:02:43 +0000 (18:02 +0000)]
Update snapshot and/or references of policy/api to latest snapshots

policy/api 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: I849fcec0757eab4425cf92f19c609d50f38986d3