summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-04-12Release policy/api: 2.6.2liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I9360ae195bfcf05b0a1555ce9d6fede8a3875d1e
2022-04-12update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8e2d394be2baad3ab4020d9e457e7a3e0298bc72
2022-04-07Policy-API Jakarta postman collection changesa.sreekumar1-10/+220
Change-Id: I51ae38d3c705a1fa503e9ca8788638aca49ff556 Issue-ID: POLICY-3993 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-23Merge "Fix spring transaction issue in getNodetemplates"Liam Fallon1-2/+1
2022-03-22Merge "API healthcheck must return healthcheck report object"Ajith Sreekumar4-13/+18
2022-03-22Fix spring transaction issue in getNodetemplatesrameshiyer271-2/+1
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
2022-03-21API healthcheck must return healthcheck report objectRashmi Pujar4-13/+18
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
2022-03-11Update snapshot and/or references of policy/api to latest snapshotsliamfallon9-12/+12
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
2022-03-11Release docker images for policy/api: 2.6.1liamfallon1-0/+8
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
2022-03-11Release policy/api: 2.6.1liamfallon1-0/+5
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
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>