aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-22Merge "Add REST Apis for Tosca Node template operations"Liam Fallon11-203/+2602
2022-02-21Add REST Apis for Tosca Node template operationsrameshiyer2711-203/+2602
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
2022-02-16Use classes from policy/commonRam Krishna Verma3-114/+9
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>
2022-02-10Migrate policy api startup & config, controller to springbootRashmi Pujar58-2135/+1245
Issue-ID: POLICY-3753 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I4537ed49b7fc57683bfc487f0d212642b7e69f17
2022-01-19Remove references to MariaDB from resource fileswaynedunican7-6/+77
Issue-ID: POLICY-2086 Change-Id: I3c7d95863e1f46f5d0217bad6bd486de95e16b3a Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-12-02Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-3/+3
*** 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
2021-11-29Update snapshot of policy/api to 2.6.1-SNAPSHOTliamfallon9-9/+9
*** 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>
2021-11-26Release docker images for policy/api: 2.6.0liamfallon1-0/+8
*** 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
2021-11-26Release policy/api: 2.6.0liamfallon1-0/+5
*** 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
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** 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>
2021-11-02Rename username for API operations.adheli.tavares12-13/+13
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>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: Id2761acedb386b64f3014d9b98f2f7b20fedd649 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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>