summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-10-19Update api performance test jmx fileRam Krishna Verma2-5449/+1379
Issue-ID: POLICY-3652 Change-Id: If16c23460cc94738597d54de94e699fcffbc65e2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-18Policy-API S3P jmx changes for Istanbula.sreekumar1-4/+105
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>
2021-10-14Bump policy/api to jakarta 2.6.0-SNAPSHOTa.sreekumar9-10/+10
Change-Id: I94e617c835a2413350ca6c77f4ee19a35001946b Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/api to 2.5.2-SNAPSHOTa.sreekumar9-9/+9
Change-Id: Ib1a2acd59f444b618ff20d293962aa1d5a6d5118 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Release policy-api 2.5.1 docker artifactsa.sreekumar1-0/+8
Change-Id: Iee91c793628a1c7fa419a10bdb561ed28a67b5cd Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Release policy-api 2.5.1 maven artifactsa.sreekumar1-0/+5
Change-Id: Ieb880f3840ccbf44b0a4c99a8c1f8d2db5329e9b Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: If496413f8ab038c81ba18731d2341860f564d592 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Bump api to 2.5.1-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-3587 Change-Id: Id1a7936fe6ac1769fb5c005a7a3c1a858dcf7104 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release api 2.5.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3587 Change-Id: I14337c9d51c8865b42b9c7c417e770b0f5b0257b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release api 2.5.0 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3587 Change-Id: Ic45ecb63c598165742ad4a629e68cab33d6b92c8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I61d9e96e3689b40244997a7f3c5db0c3c36968a8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Update INFO.yamlliamfallon1-10/+13
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: Ib003f8f9e176e79bc453e85fc9215701ff74bc08 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I779dcf7a025824988148d7165208f739fcd17eaf Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-06Decrease eclipselink verbosity to warningjhh1-1/+1
Issue-ID: POLICY-3611 Change-Id: Iadb64d651a2d75f1a2912e56af55ab70d912f8d0 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-08-26Use policy/docker image 2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: Id8ac81784bd0deb83654d391205e8c83d68e0d6f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Enable prometheus by default in policy-apia.sreekumar1-1/+2
Change-Id: I67368e3002601bab5dfbf3813af63ea90ac1a1f8 Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-19Add check to verify api to db connectivityRam Krishna Verma1-3/+34
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>
2021-08-17Update Policy Components not to create tablesktimoney1-12/+4
Issue-ID: POLICY-3488 Change-Id: I704e8b10db6fb8b5c3df13f255fc2076df03f1a2 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-08-09use url resource for docker-tag -- apiTaka Cho1-18/+4
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>
2021-07-21Use singleton for api statisticsJim Hahn10-291/+180
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>
2021-07-20Merge "Use docker registry properties in policy-api"Jim Hahn1-2/+0
2021-07-19Use docker registry properties in policy-apiJim Hahn1-2/+0
Issue-ID: POLICY-3374 Change-Id: Icd91864ec2959f7be024a575a72f262da4db8357 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-19Use lombok annotations in policy-apia.sreekumar6-96/+23
Change-Id: I858b3bff44804f3bf0c04bd637fafa0c01af2e57 Issue-ID: POLICY-3392 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-13Update Pam's email INFO.yamlDragosh, Pamela (pd1248)1-1/+1
Issue-ID: POLICY-3484 Change-Id: I8a17494c7d5bd516352526efe5c83b4b31e1e643 Signed-off-by: Dragosh, Pamela (pd1248) <pd1248@att.com>
2021-06-18Fix new checkstyle issues in policy-apiJim Hahn1-2/+1
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>
2021-05-13Remove csit folder from policy/apiRam Krishna Verma6-643/+0
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>
2021-05-07Merge "Refactor policy/api csit tests"Jim Hahn1-170/+104
2021-05-06Refactor policy/api csit testsRam Krishna Verma1-170/+104
* 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>
2021-05-06Fix sonars in policy-apiJim Hahn8-39/+38
Fixed sonars: - use "var" instead of actual type name Issue-ID: POLICY-3285 Change-Id: I349e57f7abe84138f5aa3478e22652a593b59845 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-29Remove GroupValidationResultJim Hahn6-117/+47
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>
2021-04-16Refactor ApiCommandLineArguments classadheli.tavares4-220/+41
CMD Class to use CMD Handler from Common. Issue-ID: POLICY-3129 Change-Id: I7a1b960b1e3ecc6df0f7dde6b3301d640f4feb11 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-04-07Use sh instead of ash in APIJim Hahn1-2/+2
Issue-ID: POLICY-3160 Change-Id: Ie4ad5f99e12d2e7321b9ce4664b380e030db48dc Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-29Update jmx stability script for Policy-APIlapentafd1-7/+7
Issue-ID: POLICY-3144 Change-Id: I1f275e65ff3b8624d0aa322e039a8dec853daecb Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-03-19Delete keystores from policy-apiJim Hahn3-6/+6
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>
2021-03-16Update policy-keystore with newer certificatesjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I08670a96d0d37e5eb906eace95f15e2a4dfa0887
2021-03-12 Address plugin-not-found issuesJim Hahn1-31/+0
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>
2021-03-11Bump api to 2.5.0-SNAPSHOTpd12489-13/+13
Issue-ID: POLICY-3105 Change-Id: Ia2016f32738100e8c795b3045d5739a4985a97a1 Signed-off-by: pd1248 <pdragosh@research.att.com>
2021-03-10Bump api to 2.4.2-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-3127 Change-Id: I2abb531ed01043777888cbb4c7412f3ddf18397d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-10Release api 2.4.1 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3127 Change-Id: I652a65a565358a04e55268990f23844776881e29 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-10Release api 2.4.1 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3127 Change-Id: I9dd8119c02c96406c0918258206f78ffe2127bd6 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-09Point to 2.4.1 modelsRam Krishna Verma2-2/+2
Issue-ID: POLICY-3127 Change-Id: Ib0cad9bba202428374281b29e1768975fcb09374 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-24Update info.yaml in apiRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: Ib87349119d04e1fb47a247cfe1b8cc2c4ecb6bc9 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-24Bump api to 2.4.1-SNAPSHOTPamela Dragosh9-17/+17
Issue-ID: POLICY-3088 Change-Id: I8be2082cbae2c462807baeba2cb33e64d819e4be Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23Release api docker 2.4.0 imagePamela Dragosh1-0/+8
Issue-ID: POLICY-3088 Change-Id: I98c6d58d500373fa6698454a08fcb358d09534e5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23Release 2.4.0 api java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-3088 Change-Id: Iab9a9f08e3ffa0215b069dd0151646db93ea0a39 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23Point to released artifactsPamela Dragosh2-6/+6
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>
2021-02-07Make filters on TOSCA entities genericliamfallon4-30/+33
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>
2021-01-25add JpaPdpPolicyStatus to persistence.xmljhh2-1/+5
Issue-ID: POLICY-2648 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3a71de299009e61f805d8c48a57a3c34a3f3ae76
2021-01-12move csit/plans, tests to api repoTaka Cho6-0/+709
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>
2021-01-06Merge "Changed identifiers to concept identifiers"Jim Hahn2-16/+14