jenkins-releng [Tue, 12 Apr 2022 18:10:46 +0000 (18:10 +0000)]
Release policy/api
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>
pd1248 [Thu, 11 Mar 2021 20:25:31 +0000 (15:25 -0500)]
Bump api to 2.5.0-SNAPSHOT
Issue-ID: POLICY-3105
Change-Id: Ia2016f32738100e8c795b3045d5739a4985a97a1
Signed-off-by: pd1248 <pdragosh@research.att.com>
Ram Krishna Verma [Wed, 10 Mar 2021 19:21:06 +0000 (14:21 -0500)]
Bump api to 2.4.2-SNAPSHOT
Issue-ID: POLICY-3127
Change-Id: I2abb531ed01043777888cbb4c7412f3ddf18397d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 10 Mar 2021 18:04:45 +0000 (13:04 -0500)]
Release api 2.4.1 docker image
Issue-ID: POLICY-3127
Change-Id: I652a65a565358a04e55268990f23844776881e29
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 10 Mar 2021 16:31:44 +0000 (11:31 -0500)]
Release api 2.4.1 maven artifacts
Issue-ID: POLICY-3127
Change-Id: I9dd8119c02c96406c0918258206f78ffe2127bd6
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 9 Mar 2021 21:28:00 +0000 (16:28 -0500)]
Point to 2.4.1 models
Issue-ID: POLICY-3127
Change-Id: Ib0cad9bba202428374281b29e1768975fcb09374
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 24 Feb 2021 15:35:45 +0000 (10:35 -0500)]
Update info.yaml in api
Issue-ID: POLICY-3028
Change-Id: Ib87349119d04e1fb47a247cfe1b8cc2c4ecb6bc9
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Pamela Dragosh [Wed, 24 Feb 2021 12:16:07 +0000 (07:16 -0500)]
Bump api to 2.4.1-SNAPSHOT
Issue-ID: POLICY-3088
Change-Id: I8be2082cbae2c462807baeba2cb33e64d819e4be
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 17:45:25 +0000 (12:45 -0500)]
Release api docker 2.4.0 image
Issue-ID: POLICY-3088
Change-Id: I98c6d58d500373fa6698454a08fcb358d09534e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 16:34:08 +0000 (11:34 -0500)]
Release 2.4.0 api java artifacts
Issue-ID: POLICY-3088
Change-Id: Iab9a9f08e3ffa0215b069dd0151646db93ea0a39
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 16:00:15 +0000 (11:00 -0500)]
Point to released artifacts
policy-common 1.8.0
policy-models 2.4.0
policy-parent 3.3.0
docker image 2.2.1
Issue-ID: POLICY-3088
Change-Id: Id68459351878c5e3221c5b9044f3ccb40016e6f7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Sun, 7 Feb 2021 15:20:23 +0000 (15:20 +0000)]
Make filters on TOSCA entities generic
The classes PolicyTypeFilter and PolicyFilter only work on Policy types
and policies. However they just filter on name/version/type/typeversion
so there is no reason that the filters could not be applied to other
entities.
This commit adapts the PolicyTypeFilter to EntityFilter and PolicyFilter
to TypedEntityFilter, so the filters can be applied to collections of
any ToscaEntity class.
Issue-ID: POLICY-2995
Change-Id: Ibf12c757758d31ec3075119c56243e0abcf259bf
Signed-off-by: liamfallon <liam.fallon@est.tech>
jhh [Mon, 25 Jan 2021 21:09:31 +0000 (15:09 -0600)]
add JpaPdpPolicyStatus to persistence.xml
Issue-ID: POLICY-2648
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I3a71de299009e61f805d8c48a57a3c34a3f3ae76
Taka Cho [Mon, 11 Jan 2021 21:41:04 +0000 (16:41 -0500)]
move csit/plans, tests to api repo
on csit Repo, scripts moves to dockers repo
tests and plans move to application repo
aligning with new JJB template
Issue-ID: POLICY-2895
Change-Id: I5fe5917458415db1524258d58ca5693bafb47957
Signed-off-by: Taka Cho <takamune.cho@att.com>
Jim Hahn [Wed, 6 Jan 2021 18:06:30 +0000 (18:06 +0000)]
Merge "Changed identifiers to concept identifiers"
Taka Cho [Tue, 5 Jan 2021 20:08:10 +0000 (15:08 -0500)]
use jre base 2.2.0 - api
use jre base 2.2.0
Issue-ID: POLICY-2917
Change-Id: Ie587b46ce53c223f73dde99ff42df56c034be2aa
Signed-off-by: Taka Cho <takamune.cho@att.com>
liamfallon [Mon, 4 Jan 2021 13:36:34 +0000 (13:36 +0000)]
Changed identifiers to concept identifiers
The policy models tosca classes ToscaPolicyIdentifier and
ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA
concept, not just TOSCA policies so they are renamed to
ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion
respectively.
The class ToscaPolicyTypeIdentifier is redundant and is replaced by
ToscaConceptIdentifier.
Issue-ID: POLICY-2900
Change-Id: I9ba3deae8eb4a8e51df5a40cdb8be8d9d23c5990
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 22 Dec 2020 11:21:15 +0000 (11:21 +0000)]
Update unit tests for new validation messages
The refactoring work in validation caused some validation messages to
change. This review adapts the API unit tests for those changes.
Issue-ID: POLICY-2900
Change-Id: Ifcd1b61488321c7d1cffa7d4ca50d016ab9787c7
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 17 Dec 2020 16:35:38 +0000 (16:35 +0000)]
Update persistence.xml with new TOSCA classes
Issue-ID: POLICY-2900
Change-Id: I3c83f7580a683c22dd1edc46da029851f28d9e0d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Taka Cho [Mon, 30 Nov 2020 19:06:16 +0000 (14:06 -0500)]
move all bash to ash shell scripts - api
bash scripts convert to ash
Issue-ID: POLICY-2847
Change-Id: I1121f77d0bfb35152ba5474f5a592a57a1362822
Signed-off-by: Taka Cho <takamune.cho@att.com>
Ram Krishna Verma [Tue, 27 Oct 2020 19:02:54 +0000 (15:02 -0400)]
Point to snapshot versions
Issue-ID: POLICY-2875
Change-Id: Ia30e872eea535f0a3916852163e52d8ae41268be
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 27 Oct 2020 17:50:33 +0000 (13:50 -0400)]
Bump api master to 2.4.0-SNAPSHOT
Issue-ID: POLICY-2875
Change-Id: Ib4aadc085ba3be5e8dd0ca6ad63d46a64b3c886a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Pamela Dragosh [Tue, 20 Oct 2020 14:47:48 +0000 (10:47 -0400)]
Bump api 2.3.4 SNAPSHOT
Issue-ID: POLICY-2869
Change-Id: Ie70eec72b830c81fb2ae518a7747f8d504b2e831
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 14:21:27 +0000 (10:21 -0400)]
Release api 2.3.3 docker
Issue-ID: POLICY-2869
Change-Id: I1b2f1a601f1095274073325f7bc92769424e180e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 13:48:37 +0000 (09:48 -0400)]
Release api 2.3.3 java
Issue-ID: POLICY-2869
Change-Id: I0e349ee3ebe5a245beb6a6aa489e69917d17d2b7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 12:05:22 +0000 (08:05 -0400)]
Point api to models 2.3.5
Issue-ID: POLICY-2869
Change-Id: Ib60e228b84d1813b135f6db50e04b942ca27ea74
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 20:23:51 +0000 (16:23 -0400)]
Bump api to 2.3.3-SNAPSHOT
Issue-ID: POLICY-2839
Change-Id: I7d35215e5b3dc404a6fbfcf45dee0735d74adfbb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 20:00:20 +0000 (16:00 -0400)]
Release api 2.3.2 docker
Issue-ID: POLICY-2839
Change-Id: Iacac87e25e7f62334356b5a781c9be532e8715fc
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 19:40:45 +0000 (15:40 -0400)]
Release api 2.3.2 java artifacts
Issue-ID: POLICY-2839
Change-Id: Ib4558f7346559606d03d4ba89349645a5e71b816
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 19:14:01 +0000 (15:14 -0400)]
Point to models 2.3.2 release
Released models.
Issue-ID: POLICY-2839
Change-Id: Ifbe235ecd0df9a484a2f3abbc63d912e3349bf7d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jorge Hernandez [Fri, 25 Sep 2020 15:51:06 +0000 (15:51 +0000)]
Merge "update default keystores"
jhh [Thu, 24 Sep 2020 19:45:40 +0000 (14:45 -0500)]
update default keystores
Issue-ID: POLICY-2827
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I69958705d3b626410748fabf4d41aa4e682309c1
Pamela Dragosh [Thu, 24 Sep 2020 17:12:58 +0000 (13:12 -0400)]
Add DCAE legacy policy types for preload
Moved from SDC.
Issue-ID: SDC-3229
Change-Id: I7e2b16e7190cfd4dd3a0c789fc8c8e85496863de
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Ram Krishna Verma [Wed, 16 Sep 2020 14:44:03 +0000 (10:44 -0400)]
Remove base64 encoding of password from api
Remove base64 encoding of db password from policy-api component.
Issue-ID: POLICY-2550
Change-Id: If395896f88f56f0284187f23d90ec5e0252ea17f
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Mon, 14 Sep 2020 22:01:31 +0000 (18:01 -0400)]
Use alpine base image 2.1.1
Issue-ID: POLICY-2819
Change-Id: I2f0342bdefafd33b46c36b3253e29d7b325de016
Signed-off-by: Jim Hahn <jrh3@att.com>