summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-21Release policy/api2.7.1jenkins-releng8-8/+8
2022-10-21update 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-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ica25ba4472653ab47c604ee20cfe99692eadd8fd
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon1-2/+1
Issue-ID: POLICY-4393 Change-Id: Iec8b134a9a23edd13048c58b1054e413be05add8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-10Use current springboot version of actuatorliamfallon1-1/+1
THe springboot actuator was on a different version of springboot than the rest of springboot due to an upadted dependency. Now that springboot itself is updated, we should not use a different version for actuator. Issue-ID: POLICY-4393 Change-Id: I58151e85859ef4f4ba1ad13ca4eee71114e66d3f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23Update snapshot and/or references of policy/api to latest snapshotsliamfallon10-13/+13
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5309004eb6e4bda552ed9896d61a9a0b92a18ea0
2022-09-23Release docker images for policy/api: 2.7.0liamfallon1-0/+8
This commit releases docker images for repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7dc7387b176c5e85c44e9fd83c6906a3f3915292
2022-09-23Release policy/api: 2.7.0liamfallon1-0/+5
This commit releases repo policy/api. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia1bfd3943805e02846071eb554731bb735031d74
2022-09-22update 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-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icb28267afb10efd92eb5cd63627cb68c3aec64d9
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
Remove inactive committers from INFO.yaml *** This commit is generated by a PF release script *** Issue-ID: POLICY-4354 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia4b352eef8f5eece99f6cdc1bbec9226e5b701ff
2022-08-30Allow setting external dockerfile for policy-apidanielhanrahan1-0/+2
If building with an external dockerfile, e.g. using mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile docker will look for project files in the same directory as the new dockerfile. A new property is added for setting the context path, to allow using existing project files in src/main/docker. Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iebfa6f3bcfeccf70675231acd4b6d7f629f56223
2022-08-17Preloading onap.policies.monitoring.tcagen2 2.0.0jhh2-5/+50
Issue-ID: POLICY-4317 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8885ddbc942a40081583194e0ff03ff700b77975
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie1831cad682864c35cf0f7c08308a1f8e78ec656
2022-07-13Reduce size of docker images for APIdanielhanrahan3-31/+29
Remove unused jar files from image (not needed since spring boot) Avoid creating extra layers when extracting tarball Reduce size of Alpine image by 73% (956MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4265 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I321cd42ade294a8af40c64612037d3ca1cf58341
2022-07-11Upgrade OpenSuse version to 15.4 for apidanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibf51c9dcda5a666ffe04df89bbd50bd8b8e1d9f6
2022-06-28OCI image spec labels for APIdanielhanrahan3-4/+43
Issue-ID: POLICY-4253 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I994f16f3c6432a77b1b4c1468e0ca299a0db9624
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I83f18201133693765d56183d280edc0db3f79672 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-19Fix build issue in policy-api OpenSuse dockerfiledanielhanrahan1-1/+1
Prevent dockerfile from swallowing errors during build Issue-ID: POLICY-4188 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1db4a6ad71d99cf6ab80c09b75461738c5f01e6c
2022-05-18OpenSuse docker file for policy APIdanielhanrahan5-6/+71
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4188 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I843cb59b5d6279c01a396998b12fc5c0c0691215
2022-05-03Set snapshot and/or references of policy/api for new releaseliamfallon9-13/+13
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I92164d86463228070bbc96eefb66ebea72617b77 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia04701c92ff14ba783ae59884192ee35fc2309cd
2022-04-28Release docker images for policy/api: 2.6.3liamfallon1-0/+8
This commit releases docker images for 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: Iedd85ef468fdb63eea8ec250d779bb57bf5c89de
2022-04-28Release policy/api: 2.6.3liamfallon1-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: I6d3385bc4b014585050f9848587016cc39856de0
2022-04-27update 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: I924f7541fade3884a3bed0926ad7a598e278a06d
2022-04-21Remove warnings in policy-api codeliamfallon4-9/+1
Dependency versions are handled from managed dependencies in policy/parent Issue-ID: POLICY-4070 Change-Id: If4d86742e769b879d59bc839e44d63a355d20602 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-14Update policy-api stability and performance jmx filesPrakhar Pandey2-120/+5553
Policy-API S3P test files are being updated according to Jakarta release Issue-ID: POLICY-4007 Change-Id: Ic07020b387d94b85fe7f02ff5401daa5f90a90dc Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
2022-04-12Update 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-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I4f7a7b041d7f681a0975f673725abfad249d5671
2022-04-12Release docker images for policy/api: 2.6.2liamfallon1-0/+8
This commit releases docker images for 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: I995955355d54769e887bfbc1f368dc1abfc0ffa2
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