liamfallon [Tue, 22 Nov 2022 20:20:59 +0000 (20:20 +0000)]
Release docker images for policy/api: 2.7.2
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4461
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ibe3a0044235688d4dc619f716485528d987932ac
liamfallon [Tue, 22 Nov 2022 18:34:43 +0000 (18:34 +0000)]
Release policy/api: 2.7.2
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4461
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8a2a8c24a87b375f0538df1f84c999d7adeb3a4e
liamfallon [Tue, 22 Nov 2022 05:54:31 +0000 (05:54 +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-4461
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I510650df070436acdb9ca0d8c189d187b7e1c3e5
liamfallon [Wed, 2 Nov 2022 12:15:34 +0000 (12:15 +0000)]
Update default branch to Kohn
Update default branch to Kohn
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4377
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic6fb959a596ee8d06944fb85537b63952b659e0d
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
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
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
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
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>
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>
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
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
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
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
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
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
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
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
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
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
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
Liam Fallon [Thu, 2 Jun 2022 08:08:10 +0000 (08:08 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"
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>
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
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
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>
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
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
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
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
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>
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>
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
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
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
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
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>
Liam Fallon [Wed, 23 Mar 2022 09:50:46 +0000 (09:50 +0000)]
Merge "Fix spring transaction issue in getNodetemplates"
Ajith Sreekumar [Tue, 22 Mar 2022 16:40:27 +0000 (16:40 +0000)]
Merge "API healthcheck must return healthcheck report object"
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
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
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
liamfallon [Fri, 11 Mar 2022 14:07:30 +0000 (14:07 +0000)]
Release docker images for policy/api: 2.6.1
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id74966c8bbbe85fc931dc0c700d551e7a5e89715
liamfallon [Fri, 11 Mar 2022 12:07:48 +0000 (12:07 +0000)]
Release policy/api: 2.6.1
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I360c30f1f6dec11572957706b65e30ba6147a48c
liamfallon [Thu, 10 Mar 2022 09:12:41 +0000 (09:12 +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-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Idc17a71a7ab98cd035a93efb76d7963bbc2e5aa9
Signed-off-by: liamfallon <liam.fallon@est.tech>
a.sreekumar [Fri, 4 Mar 2022 11:24:33 +0000 (11:24 +0000)]
Fix logback file not used by policy-api
Change-Id: I9d67b5527694d121bf35cf0d0092fe112dd08d80
Issue-ID: POLICY-3983
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Rashmi Pujar [Thu, 3 Mar 2022 03:12:02 +0000 (22:12 -0500)]
Handle exceptions around DB transcations, data integrity
Issue-ID: POLICY-3976
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I9cdfff788d901824904bc74fdb7e2d482d28d562
rameshiyer27 [Mon, 28 Feb 2022 16:55:31 +0000 (16:55 +0000)]
Add spring repository and service layer for tosca node templates
Removed policy, policyType providers along with models provider
configurations.
Issue-ID: POLICY-3923
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I696be6380758dbcc5b53cef635f3065eb0ce9a70
Rashmi Pujar [Mon, 28 Feb 2022 16:45:57 +0000 (11:45 -0500)]
cleaner way to handle swagger serialization issue
Instaed of altering the springboot default http
message converters, simply inject a GSON bean with
a custom type adapter with springfox Json serializer.
Issue-ID: POLICY-3753
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I0eb3b7cba538e7fd569f1cba9d540a7108db93e9
Rashmi Pujar [Wed, 23 Feb 2022 16:27:07 +0000 (11:27 -0500)]
Migrate API DB provider to springboot data jpa
PolicyProviders and PolicyTypeProvider will be removed
once the NodeTemplateController migration is complete.
Issue-ID: POLICY-3924
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I01a7491c9a09d78a79a4c887f5a49024af648b8b
a.sreekumar [Thu, 24 Feb 2022 11:02:38 +0000 (11:02 +0000)]
Adding spring data properties to apiParameters
Change-Id: Iaada7de714210354f377d32549a1566d3b8cf615
Issue-ID: POLICY-3923
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Rashmi Pujar [Tue, 22 Feb 2022 06:39:00 +0000 (01:39 -0500)]
Spring repository and service layer for policy-api
- Add the spring repository and service layers to policy-api.
- Unit tests are modified to use the spring service layers
Next-up: Migrate the usage of policy-models-provider in policy-api
to spring boot based services to talk to database (POLICY-3924)
Issue-ID: POLICY-3923
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Ib6840040b32f24f019da802d3b246dab1bfccbe3
Liam Fallon [Tue, 22 Feb 2022 17:35:16 +0000 (17:35 +0000)]
Merge "Add REST Apis for Tosca Node template operations"
rameshiyer27 [Thu, 17 Feb 2022 17:14:15 +0000 (17:14 +0000)]
Add REST Apis for Tosca Node template operations
Statistics handling for the new Apis are not added
as it is going to be handled via spring actuators as part of spring
migration.Please suggest if manual stats handling is required.
Issue-ID: POLICY-3832
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1eeaec9e617fd586238e7ff9e96d40a75c517885
Ram Krishna Verma [Wed, 16 Feb 2022 17:04:23 +0000 (12:04 -0500)]
Use classes from policy/common
Use YamlHttpMessageConverter provided by policy/common.
Fix few sonar issues.
Issue-ID: POLICY-3931
Change-Id: I3c093df059f4ff70e3f99669c2bdea7d84cefcc6
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Rashmi Pujar [Sat, 5 Feb 2022 02:49:30 +0000 (21:49 -0500)]
Migrate policy api startup & config, controller to springboot
Issue-ID: POLICY-3753
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I4537ed49b7fc57683bfc487f0d212642b7e69f17
waynedunican [Tue, 4 Jan 2022 21:49:42 +0000 (21:49 +0000)]
Remove references to MariaDB from resource files
Issue-ID: POLICY-2086
Change-Id: I3c7d95863e1f46f5d0217bad6bd486de95e16b3a
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
liamfallon [Thu, 2 Dec 2021 15:53:54 +0000 (15:53 +0000)]
Update snapshot and/or references of policy/api to latest snapshots
*** This commit is generated by a PF release script ***
policy/api updated to its latest own and reference snapshots
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7761695087771af11c5d68be17e65c127f669518
liamfallon [Mon, 29 Nov 2021 11:30:48 +0000 (11:30 +0000)]
Update snapshot of policy/api to 2.6.1-SNAPSHOT
*** This commit is generated by a PF release script ***
policy/api is update from 2.6.0-SNAPSHOT to 2.6.1-SNAPSHOT
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I97fed624445ab4469af4fb700ec256639f529e62
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Fri, 26 Nov 2021 12:07:28 +0000 (12:07 +0000)]
Release docker images for policy/api: 2.6.0
*** This commit is generated by a PF release script ***
This commit releases the docker images for repo policy/api.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I35eb40b91957e162494ae2aa9e17f3093bbfb391
liamfallon [Fri, 26 Nov 2021 10:41:30 +0000 (10:41 +0000)]
Release policy/api: 2.6.0
*** Release Phase 8: This commit is generated by a PF release script ***
This is the eigth phase in releasing images, it releases policy/api.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I9e35b2bef55a2e616899ec0817ef65b4d650bc62
liamfallon [Thu, 25 Nov 2021 11:41:00 +0000 (11:41 +0000)]
Update parent and common references
*** Release Phase 7: This commit is generated by a PF release script ***
This is the seventh release phase, it updates parent, common and models
references in policy/api.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I91ed4f245909d7d98b38b918a9835b4d3711df10
Signed-off-by: liamfallon <liam.fallon@est.tech>
adheli.tavares [Mon, 1 Nov 2021 10:33:40 +0000 (10:33 +0000)]
Rename username for API operations.
Use an account other than healthcheck in API for provisioning of policies.
Issue-ID: POLICY-2744
Change-Id: If41467531152a73ecda2756886914ba0a4c6d9b4
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Ram Krishna Verma [Mon, 25 Oct 2021 22:06:57 +0000 (18:06 -0400)]
Point to snapshot dependency
Issue-ID: POLICY-3788
Change-Id: Id2761acedb386b64f3014d9b98f2f7b20fedd649
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 19 Oct 2021 20:40:11 +0000 (16:40 -0400)]
Update api performance test jmx file
Issue-ID: POLICY-3652
Change-Id: If16c23460cc94738597d54de94e699fcffbc65e2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
a.sreekumar [Mon, 18 Oct 2021 09:08:03 +0000 (10:08 +0100)]
Policy-API S3P jmx changes for Istanbul
Pushing this review on behalf of prakhar.pandey@bell.ca
Change-Id: Iede1ecbbcec4d0d16636d69e770fed094257315a
Issue-ID: POLICY-3652
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Thu, 14 Oct 2021 11:02:12 +0000 (12:02 +0100)]
Bump policy/api to jakarta 2.6.0-SNAPSHOT
Change-Id: I94e617c835a2413350ca6c77f4ee19a35001946b
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Thu, 14 Oct 2021 10:26:20 +0000 (11:26 +0100)]
Bump policy/api to 2.5.2-SNAPSHOT
Change-Id: Ib1a2acd59f444b618ff20d293962aa1d5a6d5118
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Thu, 14 Oct 2021 09:53:59 +0000 (10:53 +0100)]
Release policy-api 2.5.1 docker artifacts
Change-Id: Iee91c793628a1c7fa419a10bdb561ed28a67b5cd
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
a.sreekumar [Thu, 14 Oct 2021 09:34:28 +0000 (10:34 +0100)]
Release policy-api 2.5.1 maven artifacts
Change-Id: Ieb880f3840ccbf44b0a4c99a8c1f8d2db5329e9b
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
liamfallon [Wed, 13 Oct 2021 14:26:44 +0000 (15:26 +0100)]
Update parent/common/models/docker references
Issue-ID: POLICY-3696
Change-Id: If496413f8ab038c81ba18731d2341860f564d592
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Tue, 14 Sep 2021 21:35:42 +0000 (17:35 -0400)]
Bump api to 2.5.1-SNAPSHOT
Issue-ID: POLICY-3587
Change-Id: Id1a7936fe6ac1769fb5c005a7a3c1a858dcf7104
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 14 Sep 2021 20:32:48 +0000 (16:32 -0400)]
Release api 2.5.0 docker image
Issue-ID: POLICY-3587
Change-Id: I14337c9d51c8865b42b9c7c417e770b0f5b0257b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 14 Sep 2021 18:38:39 +0000 (14:38 -0400)]
Release api 2.5.0 maven artifacts
Issue-ID: POLICY-3587
Change-Id: Ic45ecb63c598165742ad4a629e68cab33d6b92c8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
liamfallon [Mon, 13 Sep 2021 15:40:36 +0000 (16:40 +0100)]
Use released common and models
Issue-ID: POLICY-3587
Change-Id: I61d9e96e3689b40244997a7f3c5db0c3c36968a8
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 8 Sep 2021 11:27:58 +0000 (12:27 +0100)]
Update INFO.yaml
Update the INFO.yaml file with latest information.
Issue-ID: POLICY-3552
Change-Id: Ib003f8f9e176e79bc453e85fc9215701ff74bc08
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 9 Sep 2021 12:30:49 +0000 (13:30 +0100)]
Point at released policy-parent
Issue-ID: POLICY-3587
Change-Id: I779dcf7a025824988148d7165208f739fcd17eaf
Signed-off-by: liamfallon <liam.fallon@est.tech>
jhh [Tue, 7 Sep 2021 00:20:59 +0000 (19:20 -0500)]
Decrease eclipselink verbosity to warning
Issue-ID: POLICY-3611
Change-Id: Iadb64d651a2d75f1a2912e56af55ab70d912f8d0
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Jim Hahn [Thu, 26 Aug 2021 17:32:08 +0000 (13:32 -0400)]
Use policy/docker image 2.3.0
Issue-ID: POLICY-3587
Change-Id: Id8ac81784bd0deb83654d391205e8c83d68e0d6f
Signed-off-by: Jim Hahn <jrh3@att.com>
a.sreekumar [Mon, 23 Aug 2021 14:18:39 +0000 (15:18 +0100)]
Enable prometheus by default in policy-api
Change-Id: I67368e3002601bab5dfbf3813af63ea90ac1a1f8
Issue-ID: POLICY-3538
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Ram Krishna Verma [Thu, 19 Aug 2021 15:00:52 +0000 (11:00 -0400)]
Add check to verify api to db connectivity
Adding a method in policy/api HealthCheckProvider
to verify database connectivity.
The same can then be reported in policy consolidated heath check
done by PAP as well.
Issue-ID: POLICY-2896
Change-Id: Id80ade57829b37ace15ae19caeefd08af61aebd5
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
ktimoney [Tue, 17 Aug 2021 14:55:10 +0000 (15:55 +0100)]
Update Policy Components not to create tables
Issue-ID: POLICY-3488
Change-Id: I704e8b10db6fb8b5c3df13f255fc2076df03f1a2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
Taka Cho [Mon, 9 Aug 2021 18:35:06 +0000 (14:35 -0400)]
use url resource for docker-tag -- api
use groovy url resource from docker repo
to identify the tag for docker
Issue-ID: POLICY-3378
Change-Id: Ic16e0ba2edebb179f20366247aa848a1ea06d355
Signed-off-by: Taka Cho <takamune.cho@att.com>
Jim Hahn [Fri, 16 Jul 2021 19:34:32 +0000 (15:34 -0400)]
Use singleton for api statistics
Reimplemented the statistics manager to use a singleton instead of
static fields.
Also changed some fields to "private".
Issue-ID: POLICY-3392
Change-Id: Ic708f7fa29cba795c47d387764267016163f679f
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 20 Jul 2021 15:42:44 +0000 (15:42 +0000)]
Merge "Use docker registry properties in policy-api"
Jim Hahn [Mon, 19 Jul 2021 18:51:21 +0000 (14:51 -0400)]
Use docker registry properties in policy-api
Issue-ID: POLICY-3374
Change-Id: Icd91864ec2959f7be024a575a72f262da4db8357
Signed-off-by: Jim Hahn <jrh3@att.com>
a.sreekumar [Mon, 19 Jul 2021 16:09:02 +0000 (17:09 +0100)]
Use lombok annotations in policy-api
Change-Id: I858b3bff44804f3bf0c04bd637fafa0c01af2e57
Issue-ID: POLICY-3392
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Dragosh, Pamela (pd1248) [Tue, 13 Jul 2021 14:32:53 +0000 (10:32 -0400)]
Update Pam's email INFO.yaml
Issue-ID: POLICY-3484
Change-Id: I8a17494c7d5bd516352526efe5c83b4b31e1e643
Signed-off-by: Dragosh, Pamela (pd1248) <pd1248@att.com>
Jim Hahn [Fri, 18 Jun 2021 17:48:23 +0000 (13:48 -0400)]
Fix new checkstyle issues in policy-api
The new version of checkstyle identified new issues. Fixed those.
Issue-ID: POLICY-3285
Change-Id: I47c7fe172d40ff5cd4b6309eeb1ed6ac5222240d
Signed-off-by: Jim Hahn <jrh3@att.com>
Ram Krishna Verma [Thu, 13 May 2021 19:25:19 +0000 (15:25 -0400)]
Remove csit folder from policy/api
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.
Issue-ID: POLICY-3257
Change-Id: I04853aeddf9a3e4d28c82222de29ffd536fa6b8b
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Fri, 7 May 2021 13:06:57 +0000 (13:06 +0000)]
Merge "Refactor policy/api csit tests"
Ram Krishna Verma [Thu, 6 May 2021 22:17:43 +0000 (18:17 -0400)]
Refactor policy/api csit tests
* Removed the deprecated methods.
* Removed duplicated code.
* Created method hierarchy to improve the readability.
* Updated the assertions on various tests.
Issue-ID: POLICY-3257
Change-Id: Id68bf50b397f9aff594268b3ce508858a726328d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Thu, 6 May 2021 13:52:08 +0000 (09:52 -0400)]
Fix sonars in policy-api
Fixed sonars:
- use "var" instead of actual type name
Issue-ID: POLICY-3285
Change-Id: I349e57f7abe84138f5aa3478e22652a593b59845
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 27 Apr 2021 13:52:51 +0000 (09:52 -0400)]
Remove GroupValidationResult
Removed GroupValidationResult, replacing it with BeanValidationResult.
Modified the ParameterGroup subclasses to use BeanValidator, adding
annotations where needed to trigger the validations that had been
automatically performed by GroupValidationResult.
Issue-ID: POLICY-2059
Change-Id: I774950e98c9421064bacf735e0f5a5ab18540570
Signed-off-by: Jim Hahn <jrh3@att.com>
adheli.tavares [Tue, 13 Apr 2021 15:38:04 +0000 (16:38 +0100)]
Refactor ApiCommandLineArguments class
CMD Class to use CMD Handler from Common.
Issue-ID: POLICY-3129
Change-Id: I7a1b960b1e3ecc6df0f7dde6b3301d640f4feb11
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Jim Hahn [Tue, 6 Apr 2021 19:36:50 +0000 (15:36 -0400)]
Use sh instead of ash in API
Issue-ID: POLICY-3160
Change-Id: Ie4ad5f99e12d2e7321b9ce4664b380e030db48dc
Signed-off-by: Jim Hahn <jrh3@att.com>
lapentafd [Mon, 29 Mar 2021 10:40:16 +0000 (11:40 +0100)]
Update jmx stability script for Policy-API
Issue-ID: POLICY-3144
Change-Id: I1f275e65ff3b8624d0aa322e039a8dec853daecb
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Jim Hahn [Fri, 19 Mar 2021 15:38:39 +0000 (11:38 -0400)]
Delete keystores from policy-api
The Keystore is no longer needed in the tarball, as it is supplied
externally by the CSITs and Helm charts. Deleted that file.
Also modified the junits to use utils-test to generates keystores at
runtime, thus deleted the junit keystore file, too.
Issue-ID: POLICY-3143
Change-Id: Ib3e2001f2dc41a528d1be2e81091a278cc31dff8
Signed-off-by: Jim Hahn <jrh3@att.com>
jhh [Tue, 16 Mar 2021 15:31:30 +0000 (10:31 -0500)]
Update policy-keystore with newer certificates
Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I08670a96d0d37e5eb906eace95f15e2a4dfa0887
Jim Hahn [Fri, 12 Mar 2021 16:48:16 +0000 (11:48 -0500)]
Address plugin-not-found issues
Removed references to archetype-packaging and lifecycle-mapping, where
unnecessary due to pom inheritance.
Issue-ID: POLICY-3126
Change-Id: I80ff9b98fb1c63d17fd371b3a762f674ed7ed653
Signed-off-by: Jim Hahn <jrh3@att.com>