aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-17Add support for KafkaAvroSerializer in apex-pdpistanbulRam Krishna Verma3-6/+47
Adding the support for KafkaAvroSerializer to deserialize the messages sent on a kafka topic using the KafkaAvroSerializer. The default StringDeserializer that comes from KafkaConsumer is not able to work with avro encoded messages. Issue-ID: POLICY-4369 Change-Id: Ia97bee9546baa78c237e21a220df9374b84121dd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit b1296de01e61cb8d8e2a8476bad108b2046783de)
2022-09-11Update PF base imageliamfallon1-1/+1
Update PF base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4338 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I575080bb1e1c7d6e88793d0660ef425377046e96
2022-08-01Adding JSON Schema support in APEX-PDPa.sreekumar14-5/+822
More details can be found here: https://wiki.onap.org/display/DW/JSON+Schema+support+in+APEX-PDP A separate review will be raised as part of POLICY-4292 with a reference example on how to use the JSON Schema. Change-Id: I903d48969c6c5a24c63b8465b2412ed0b75b9351 Issue-ID: POLICY-4291 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit c354fba3fb87ebe21a7fbb2a15268ccc9d033fbd)
2022-07-11update policy models referencesliamfallon1-1/+1
updated policy models references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I473cf6ada2005dcc9a00bd45c096f6e485c5b804
2022-03-01Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon81-84/+84
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifd90d0e23b7ea513a20548d15817e160144b2b76
2022-03-01Release docker images for policy/apex-pdp: 2.6.2liamfallon1-0/+8
This commit releases docker images for repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3de64aba40eacfef9939f0f1da49fd936430bb40
2022-02-28Release policy/apex-pdp: 2.6.2liamfallon1-0/+5
This commit releases repo policy/apex-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id3800318298ca4793c83b65993303cd20c68046b
2022-02-28update references in policy/apex-pdp pomliamfallon2-4/+4
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibe7b461742892d94ff265bd328ff0d64e0f70de5
2022-01-26Fix snapshot versions in apex-pdpliamfallon3-3/+2
Two modules in apex-pdp had incorrect snapshot version in Istanbul, this fixes that error Issue-ID: POLICY-3849 Change-Id: I39366f36a6970d715a555099f3d68defb82f8a28 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-25Update to SECCOM recommended dependenciesliamfallon2-1/+18
SECCOM has issued a directive on which dependencies should be used, see this wiki page: https://wiki.onap.org/display/SV/Jakarta+Policy This is the policy parent review to comply with the SECCOM directive. Zookeeper is added as a test dependency, it is no longer pulled in as a transitive dependency by Kafka. Issue-ID: POLICY-3849a Change-Id: Id721807d2ff194cc6c1aa78f88d911bddce5a458 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-06Exclude log4j test dependencyliamfallon1-3/+7
There is a transitive test dependency in apex-pdp on log4j, doesn't show up in the CLM reports (because it is a test dependency). Removing the dependency. Issue-ID: POLICY-3862 Change-Id: Ia48e4d844a5a4ce8a207dab38ea220f1c7a543d2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-25Point to Istanbul snapshot dependency9.0.0-ONAPRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I62a538294d6316df469a21f0b0fbf8e16bead98e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Change apex-pdp default branch on istanbula.sreekumar1-1/+1
Change-Id: I645fd2ada68c42ae0a6cef6781ff7e1918c516cf Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/apex-pdp to 2.6.2-SNAPSHOTa.sreekumar81-81/+81
Change-Id: I0db6ab5efb0595cba86ce9cbaaafab88349818ff Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Release apex-pdp 2.6.1 docker artifactsa.sreekumar1-0/+8
Change-Id: I9cca081a9274922b79c87a1b0e8a96e66d9c4154 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-13Release apex-pdp 2.6.1 maven artifactsa.sreekumar1-0/+5
Change-Id: Id9ab217d3623f0726840895e31cb0b1c8fd7fbc7 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: If4c5290890639fdf99de37501a134f820c92696b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-08APEX-PDP S3P changes for Istanbula.sreekumar6-1310/+11102
Change-Id: I58f564ef19df39f2c0fff64a72c9f083faf88556 Issue-ID: POLICY-3655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-15Bump apex-pdp to 2.6.1-SNAPSHOTa.sreekumar81-81/+81
Change-Id: Ie39d324e02a302b882318d46735a727322ce409d Issue-ID: POLICY-3587 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-15Release apex-pdp 2.6.0 docker imagea.sreekumar1-0/+8
Change-Id: I499837227ddf4ad3df0366763d4aa73c489db78a Issue-ID: POLICY-3587 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-15Release apex-pdp 2.6.0 maven artifactsa.sreekumar1-0/+5
Change-Id: I9a5887991442b40865be818fb876acea104de776 Issue-ID: POLICY-3587 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I11a84934a1a0fc515bf0ae9af9105ba7df19549e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Remove blank line from INFO.yamlliamfallon1-1/+0
Issue-ID: POLICY-3587 Change-Id: If2a9cffb84f8b3d8117a4a9cb338cb1b8964b6cf Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Iea42a1c281ffd3578a05e3601c0db9836c9d6dfc Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-08Update INFO.yamlliamfallon1-11/+15
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: Ic6842a0325f2f9d45fa769b75baefb0960e872e1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-07Use managed version of commons-codecliamfallon1-6/+0
apex-pdp was using a very old version of commons-codec. This change enables it to use the version of commons-codec managed from policy parent. Issue-ID: POLICY-3590 Change-Id: Ic29e46b61107719df5aaad00ee923de056fe7bac Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-02Fix sonar security issues in apex-pdpJim Hahn3-4/+5
Fixed sonar security issues: - set permissions of temporary files Issue-ID: POLICY-3093 Change-Id: I1dfc87f22975fa950cfcfc47196fad55d6cbf277 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-09-01Fix sonars in apex-pdp #3Jim Hahn13-36/+42
Fixed: - use "var" - use assertEquals instead of assertTrue(xxx.equals()) - separate assertions Issue-ID: POLICY-3093 Change-Id: Id4db62626948681cd267e68a56dda65fa355c6f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-31Fix sonar issues in apex-pdpRam Krishna Verma18-49/+64
Issue-ID: POLICY-3077 Change-Id: Id5e7c2ddada2bac3b73fe543f9adade6f9b83e6c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-30Merge "Fix sonars in apex-pdp #2"Jim Hahn25-82/+83
2021-08-30Use latest policy-parent snapshotliamfallon1-1/+1
The parent snapshot enables the latest version of netty. Issue-ID: POLICY-3590 Change-Id: I273c7e25988f6190d761ba4300eb56c9f02e3cee Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-27Fix sonars in apex-pdp #2Jim Hahn25-82/+83
plugins-events thru plugins-persistence-jpa-eclipselink Fixed: - use "var" - disambiguate method parameter types - rename parameter Issue-ID: POLICY-3093 Change-Id: Ife5897015be495403e731754d5862b803a217c87 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-27Address more sonars in apex-pdpJim Hahn32-153/+169
Fixed services-engine thru utilities. Fixed: - use "var" - use Files.delete() - only one method call in assert() Issue-ID: POLICY-3093 Change-Id: I6f62108c770c15e8b84bc51746066fefa409e0fc Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-27Address eclipse warnings in apex-pdpJim Hahn7-66/+21
Fixed: - deprecated mockito methods - unused mocks Issue-ID: POLICY-3093 Change-Id: I20d9aebb2a6390b2a3c95ae9ccc59b710b9e58ce Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-26Fix sonar issuesRam Krishna Verma8-43/+43
Issue-ID: POLICY-3077 Change-Id: I480b97984754ec4b69c6cde6481510fbbf62252e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-26Use policy/docker image 2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: I5beff4d99dc869e85497621f50b6a56d3d95e7db Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Remove GPLv3 from apex-pdp imageJim Hahn1-3/+3
The apex-pdp docker image includes libelf, which is GPLv3 and is therefore disallowed by ONAP. Appears to be included with "iproute2", which isn't needed anymore, so just removed it. Also added code to update the "apk" repo list. Issue-ID: POLICY-2845 Change-Id: I7472d584bdd391b7a711c6718f2596b1081c032c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-24Use CompareToBuilderJim Hahn35-924/+187
Also added lombok to test classes. Issue-ID: POLICY-3391 Change-Id: I9ecf479f3861a2e5211b037e885029d1719b6a56 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-24More lombok for apex-pdpJim Hahn25-1352/+571
Added lombok to auth thru context-management, excluding basic-model and context-model. Issue-ID: POLICY-3391 Change-Id: I1c3a69d52d3bc65a99126ad44126e5a97424c66f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Fix junits broken by change in is-alive typeJim Hahn1-1/+3
Issue-ID: POLICY-3531 Change-Id: I1460333fdd2ebeb96aaa3b5d3186d2bd1eda2d71 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Enable prometheus by default in apex-pdpa.sreekumar1-2/+3
Change-Id: I0f0742474a5b242ebe71c0e5ab62bc2b1d0de1b9 Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-18Use common RestServer in apex-pdpa.sreekumar2-155/+7
Change-Id: I8e0089cdd16f8e5f8db70db9c678fb598521158b Issue-ID: POLICY-3539 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-09use url resource for docker-tag -- apexTaka Cho1-18/+4
use groovy url resource from docker repo to identify the tag for docker Issue-ID: POLICY-3378 Change-Id: I73be74f19d0d39912676d839c99f918fdfcf2078 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-08-06Use lombok for apex-pdp #7Jim Hahn29-604/+146
Updated thru core-protocols. Issue-ID: POLICY-3391 Change-Id: I2226fee16b276eba5c7f3fd1921a6cef36654f07 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-06Use lombok in apex-pdp #5Jim Hahn35-779/+187
Updated examples thru integration-executor-test. Issue-ID: POLICY-3391 Change-Id: Idc707146a646d05720675a787761c199484048e9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-06Use lombok in apex-pdp #4Jim Hahn31-652/+198
Updated model, testsuites, and tools. Issue-ID: POLICY-3391 Change-Id: I187d84380661f5d4222967c1c5f004c318d65982 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-06Use lombok in apex-pdp #3Jim Hahn26-747/+131
Updated plugins thru plugins-persistence-jpa-eclipselink. Issue-ID: POLICY-3391 Change-Id: Id7a5aeca8bb45c7a089f0b9d49c9ecd4bc8a7178 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-05Use lombok in apex-pdp #2Jim Hahn28-775/+171
Updated context to use lombok. Issue-ID: POLICY-3391 Change-Id: I349e0202fffad161cac08cebaea4a9571db58bda Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-02Use lombok annotations in apex-pdpJim Hahn37-855/+193
Updated projects: services-engine through utilities Issue-ID: POLICY-3391 Change-Id: I35ebb40d86e9bda360f7819516290b3fea88335c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-29Improve APEX logging for irrelevant eventsa.sreekumar4-3/+8
When multiple policies are expecting event on the same topic/endpoint, a lot of event parsing failure log messages are generated unnecessarily. With this change, only a 1 line message will be printed if an event cannot be parsed, and the detailed messages will be available at debug level. Change-Id: If1e7460ef5ed86fd470396f1e2ed8cc3c8af70c4 Issue-ID: POLICY-3499 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>