summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-01-05use jre base 2.2.0 - apiTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Ie587b46ce53c223f73dde99ff42df56c034be2aa Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon2-16/+14
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>
2020-12-22Update unit tests for new validation messagesliamfallon3-150/+143
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>
2020-12-17Update persistence.xml with new TOSCA classesliamfallon2-13/+42
Issue-ID: POLICY-2900 Change-Id: I3c83f7580a683c22dd1edc46da029851f28d9e0d Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-11-30move all bash to ash shell scripts - apiTaka Cho2-7/+6
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I1121f77d0bfb35152ba5474f5a592a57a1362822 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Point to snapshot versionsRam Krishna Verma1-3/+3
Issue-ID: POLICY-2875 Change-Id: Ia30e872eea535f0a3916852163e52d8ae41268be Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-27Bump api master to 2.4.0-SNAPSHOTRam Krishna Verma9-10/+10
Issue-ID: POLICY-2875 Change-Id: Ib4aadc085ba3be5e8dd0ca6ad63d46a64b3c886a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump api 2.3.4 SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2869 Change-Id: Ie70eec72b830c81fb2ae518a7747f8d504b2e831 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release api 2.3.3 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2869 Change-Id: I1b2f1a601f1095274073325f7bc92769424e180e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release api 2.3.3 javaPamela Dragosh1-0/+5
Issue-ID: POLICY-2869 Change-Id: I0e349ee3ebe5a245beb6a6aa489e69917d17d2b7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Point api to models 2.3.5Pamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: Ib60e228b84d1813b135f6db50e04b942ca27ea74 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump api to 2.3.3-SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2839 Change-Id: I7d35215e5b3dc404a6fbfcf45dee0735d74adfbb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release api 2.3.2 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2839 Change-Id: Iacac87e25e7f62334356b5a781c9be532e8715fc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release api 2.3.2 java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-2839 Change-Id: Ib4558f7346559606d03d4ba89349645a5e71b816 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Point to models 2.3.2 releasePamela Dragosh1-1/+1
Released models. Issue-ID: POLICY-2839 Change-Id: Ifbe235ecd0df9a484a2f3abbc63d912e3349bf7d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-25Merge "update default keystores"Jorge Hernandez2-0/+0
2020-09-24update default keystoresjhh2-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I69958705d3b626410748fabf4d41aa4e682309c1