summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-11-17Add OpenAPI Swagger 3 spec and API generationliamfallon2-0/+3756
This commit adds the Policy/API OpenAPI (Swagger) document as a source document under source control. This OpenAPI document was generated from the existing SpringFox annotations in the source code, was uploaded to the online Swagger editor and was converted into OpenAPI 3.0 format. It was then manually edited to correct the return types and to match the input and putput types to our Java classes. The pom.xml is also amended to generate the API interface source doe in the target/generated-sources directory. The generated code does NOT replace the existing API code as yet. Issue-ID: POLICY-4431 Change-Id: Iee1cc6a122deffcd05728e8f34172f8d423ebcef Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-21Set snapshot and/or references of policy/pap for new releaseliamfallon10-14/+14
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I09bf91495a8ae93e7e3c4aaadf3ad14971c6bbfb
2022-10-21Update snapshot and/or references of policy/pap to latest snapshotsliamfallon10-13/+13
policy/pap updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I61b9bc417feeccbda2cf55d2f79327d01f362fae
2022-10-21Release docker images for policy/pap: 2.7.1liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8fdbe2a706b85ab97cc142fe242bcaa68db2e461
2022-10-21Release policy/pap: 2.7.1liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic6517fa17551d36465aa1b005b48a448705fd842
2022-10-21update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id4f5ddedad25e513aaee953d17e5c323fa7487f1
2022-10-11Use spring-boot-starter-actuator managed versionliamfallon1-2/+0
Issue-ID: POLICY-4393 Change-Id: Ic091b5efa999461121e870d04d6524e44bc07e03 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-28Add Kafka dependencySirisha_Manchikanti1-0/+5
Issue-ID: POLICY-4134 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id9b4609c9bf0656eb0c3a83e20f4161a07fbc6d7
2022-09-23Update snapshot and/or references of policy/pap to latest snapshotsliamfallon10-13/+13
policy/pap 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: Iacf22dfa0876db72b906b1b4e5b95611379be9b3
2022-09-23Release docker images for policy/pap: 2.7.0liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8fb14976f09872e640800600ca9a5053840dbe1d
2022-09-23Release policy/pap: 2.7.0liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I78c6e4ddca9882ecf67cc361cfa5616047b1baa1
2022-09-22update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie9178a197f5789b66bf0945839bdab302bdebccb
2022-09-21Fix minor warnings in codeliamfallon3-8/+3
Issue-ID: POLICY-4045 Change-Id: I08c3cb1af3dbe2051dcbb0e2726906faff4a37b3 Signed-off-by: liamfallon <liam.fallon@est.tech>
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: I357869ac50932de3ea857194b4ed761dcc16c2a8
2022-09-01Allow setting external dockerfile for policy-papdanielhanrahan1-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: Ica6984b0460e5814df56ab6679003e98b983d397
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: Idc09b2371c376dc32d4827cca8d28afe2184cae1
2022-07-13Reduce size of docker images for PAPdanielhanrahan3-31/+24
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% (959MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4266 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5a0a3efc81b0cb8da899c12f65479fd2af935451
2022-07-11Upgrade OpenSuse version to 15.4 for papdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iafe1e311a22693eb30758949cdb1414d4c8d080a
2022-06-29OCI image spec labels for PAPdanielhanrahan3-3/+42
Issue-ID: POLICY-4254 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ide30dc437f25846b569b5f4ac9a581880705a7c4
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: I6abd4506c967e49ce093c521484f6e5a5f0c5bec Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-19OpenSuse docker file for policy PAPdanielhanrahan5-6/+70
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4189 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4aca4c5d3486cecf012989e9227557587f83bbb6
2022-05-03Set snapshot and/or references of policy/pap for new releaseliamfallon9-13/+13
policy/pap 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: I71900f971ba646a97d54113351406398ada70a12 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap 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: I312fe988c4e2611dead50a7e7b28ab18de6cd75c
2022-04-28Release docker images for policy/pap: 2.6.3liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3b2e5a690b67ac6e818dea33f1096a3db2b21f89
2022-04-28Release policy/pap: 2.6.3liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I568b12a3db25004ebc4039dc229af65c2a95c262
2022-04-27update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic269481eed341f1c3043f53e76e6fa21b9856075
2022-04-19PAP S3P jmx changesa.sreekumar2-22827/+3204
Change-Id: I48c719276d2a53f2e4de9f4c87e54d3f373111ed Issue-ID: POLICY-4008 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-12Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap 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: Ia650fc73cb0af8e8b36b82791918e23e51367308
2022-04-12Release docker images for policy/pap: 2.6.2liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0121998e4e554442bbb9c45489903eddad6ded0a
2022-04-12Release policy/pap: 2.6.2liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1cb5fefb3e166515d26964f9af9b8949e16f61cb
2022-04-12update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf68c7320c8e1b20dde8b0db2cfbd728ba2f77bf
2022-04-12Fix incorrect deployments counter on parallel executiona.sreekumar4-12/+41
Change-Id: I72bde10eae615e2c89ccc1a211c6385404b9b3c7 Issue-ID: POLICY-4088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-04-04Fix incorrect url in PAP consolidated healthchecka.sreekumar1-1/+1
Change-Id: I0194483f371e1140ad56029c23b6f400df0dcbdc Issue-ID: POLICY-4068 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-21Fix build failure in paprameshiyer271-1/+1
policy-models changes for metadataSet db serialization causes test failure in pap. Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibc24e3a27e1cdd6111719651349888157fc31593
2022-03-11Update snapshot and/or references of policy/pap to latest snapshotsliamfallon9-12/+12
policy/pap 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: I856f412dc6e27011d13aa6ff05dff8f000cc9a2b
2022-03-11Release docker images for policy/pap: 2.6.1liamfallon1-0/+8
This commit releases docker images for repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Change-Id: I9cc8e07c25e0cd7a259fbf20d30f0be7b3c80f68 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Release policy/pap: 2.6.1liamfallon1-0/+5
This commit releases repo policy/pap. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I442a0b6604b91c12683f0cd6960cf3f88458b0b4
2022-03-10Fix PAP healthcheck response during failuresa.sreekumar2-3/+9
The healthcheck response that is returned by PAP is not inline with the actual healthreport. Even when the report has healthy:false, code:503, message:not alive the response code stays 200. This is fixed, this also makes the improved readiness probe in OOM to work properly with the healthcheck calls Change-Id: Ib208e0a84bce74157aacbcad61a11dcf900c7c94 Issue-ID: POLICY-4030 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-10update references in policy/pap pomliamfallon2-4/+4
updated references in the policy/pap pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia809db011a805e9bec71b5843dbf6a3b5b2ea30b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-01Fix swagger and improve exception handlinga.sreekumar8-9/+88
1) Swagger was getting generated in a different format due to a serialization isue. It is fixed. 2) Improved exception handling by taking care of any exceptions that could occur in and around database operations. 3) AAF enabling/disabling was done using spring profiles. This is changed to using parameters, as it is more easier to configure in an OOM helm chart deployment Change-Id: If1bee01379ba5c4efac29822662896d8aa883fc8 Issue-ID: POLICY-3975 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-25Merge "Add support for populating metadataSet in PAP tosca policy"Liam Fallon6-5/+285
2022-02-23Add support for populating metadataSet in PAP tosca policyrameshiyer276-5/+285
MetadataSet fetched from the db and added to the policy metadata map with the key "metadataSet" before sending to PDPs Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I14064d82ba6877bd7560af7de7572b4813a98385
2022-02-23Adding deployment metrics to PAPa.sreekumar9-3/+88
Change-Id: I4b6a93045c1ddfd7fff037e7568b029e2e45b0b3 Issue-ID: POLICY-3757 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-18Merge "Use classes from policy/common"Liam Fallon7-150/+10
2022-02-17Use classes from policy/commonRam Krishna Verma7-150/+10
Use YamlHttpMessageConverter from policy/common. Use CustomImplicitNamingStrategy from policy/common. Fix few sonar issues. Issue-ID: POLICY-3931 Change-Id: I4720761cbf8da464ec57541f9b19f8d124503e17 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-17Fix PAP issue with group config loadinga.sreekumar1-2/+6
1) PAP fails to start in OOM when no pdp group configuration file is specified with the recent changes. This is fixed. 2) logback.xml file mounted in OOM is not used by PAP. This is also fixed in this review. Change-Id: I84096e1b100e2be20a9a2d95e1eb6ffc79486f29 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-15Fix issue with GeneratedValue in PfGeneratedIdKeya.sreekumar5-61/+39
Change-Id: If244237e4aa39e1f3184cab04ae7d5ad7e85e5fa Issue-ID: POLICY-3897 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-14Merge "Add yaml support to pap api's"Ajith Sreekumar5-11/+221
2022-02-11Improve PAP healthcheck api to verify DB connectivityPrakhar Pandey4-9/+52
This commit improves PAP healthcheck API to enable verification of PAP to DB connectivity. Issue-ID: POLICY-3763 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca> Change-Id: I14353572a00e68a89161bcffd2ec3476b4a4c303