summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-10update references in policy/api pomliamfallon2-4/+4
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>
2022-03-04Fix logback file not used by policy-apia.sreekumar1-2/+2
Change-Id: I9d67b5527694d121bf35cf0d0092fe112dd08d80 Issue-ID: POLICY-3983 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-03Handle exceptions around DB transcations, data integrityRashmi Pujar11-37/+117
Issue-ID: POLICY-3976 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I9cdfff788d901824904bc74fdb7e2d482d28d562
2022-03-01Add spring repository and service layer for tosca node templatesrameshiyer2721-726/+660
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
2022-02-28cleaner way to handle swagger serialization issueRashmi Pujar1-12/+11
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
2022-02-24Migrate API DB provider to springboot data jpaRashmi Pujar9-84/+119
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
2022-02-24Adding spring data properties to apiParametersa.sreekumar1-1/+15
Change-Id: Iaada7de714210354f377d32549a1566d3b8cf615 Issue-ID: POLICY-3923 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-23Spring repository and service layer for policy-apiRashmi Pujar20-687/+1808
- 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
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>