summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-12-15Release policy/pap2.8.0jenkins-releng8-8/+8
2022-12-15update 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-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2ee988f48734963c693712dc60024c4dfb930d8d
2022-12-12SLAs for async methodsadheli.tavares9-62/+216
- undeploy policy timing - deploy policy timing - unit tests for actuator endpoints Issue-ID: POLICY-4469 Change-Id: I3298888e59824347b8d2a57fb531c10f2f4ca125 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-12-08Replace SpringFox with SpringDoc in policy-papliamfallon8-21/+58
This commit: - Remove SpringFox - Adds SpringDoc - Enables the .../v3/api-docs endpoint Note that the Swagger annotations from the OpenAPI specification generated code need to be enabled so that the API specification is available over the ..../v3/api-docs endpoint. THis will be done in subsequent commits. Issue-ID: POLICY-4404 Change-Id: I42c1575a3ce76d9b3e753ad51f85df027d12b980 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-25Move git-commit-id-maven-plugin to parent pomdanielhanrahan1-19/+0
The POM config for git-commit-id-maven-plugin is duplicated in each repo, so the config is moved to policy/parent Issue-ID: POLICY-4466 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2e46e014cbc277785a236b60603d395490e58220
2022-11-22Merge "Add OpenAPI Swagger 3 spec and API generation"Liam Fallon2-0/+3756
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-11-17Topic names in PAP should be configurable from application.yamladheli.tavares35-261/+398
- for using Kafka instead of dmaap, topics names need to be lowercase - fix for unit/integration tests using default names and changed names for topics and group - fix for sonar lints found along the way Issue-ID: POLICY-4455 Change-Id: I89e9e6f7dbb07462f1ae497755965cb5a3f223a3 Signed-off-by: adheli.tavares <adheli.tavares@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