aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-10-14Bump policy/apex-pdp to Jakarta 2.7.0-SNAPSHOTa.sreekumar81-82/+82
Change-Id: I8ead26be4968b94980dcafd269c7ab32022b34d0 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>
2021-07-19Use docker registry properties in apex-pdpJim Hahn1-2/+1
Issue-ID: POLICY-3374 Change-Id: I7d9cfecdea244db6215f2c594f61b2d9b6cf96e0 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-12Update pdp statistics to count deploy/undeploy separately.adheli.tavares5-7/+171
Issue-ID: POLICY-3383 Change-Id: Ie9c5c7178c4c4302a0ba63ab42732f7157d302f8 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-07-08Fix Sonar in apex examples aadm bbslapentafd3-187/+185
Replacing local-variable type inference Issue-ID: POLICY-3093 Change-Id: I84bc2d182256f6a4aa24d9c1e020e934190bd623 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-07-06Merge "Cleanup input & outputFields from Task definition"Ajith Sreekumar32-3801/+2540
2021-07-05Merge "Fix Sonar Issues in apex examples-adaptive"Liam Fallon4-125/+28
2021-07-02Cleanup input & outputFields from Task definitiona.sreekumar32-3801/+2540
1) Remove the usage of inputField and outputField from Task definition. 2) Fix issues around populating events to task in case of State Finalizer Logic. Change-Id: Ief17f400729410b83c6b7c665980d443e0cf6f28 Issue-ID: POLICY-3336 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-01Fix Sonar Issues in apex examples-adaptivelapentafd4-125/+28
Replacing local-variable type inference Replaced EqualsAndHashCode ToString methods with lombok annotation in AutoLearn class Issue-ID: POLICY-3093 Change-Id: I3f3911222f0e34ad3c7687d7a1e1aad218448303 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-06-30Merge "Use unique name in apex-pdp messages"Jim Hahn4-11/+15
2021-06-29Fixing checkstyle issue in APEXa.sreekumar1-3/+3
Change-Id: I6b88d59a54617cb9f14a5aaa2638f87a6c1ef3e9 Issue-ID: POLICY-3209 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-06-29Merge "Changes to support multiple outputs from a state"Jim Hahn47-1510/+1970
2021-06-29Merge "Fix sonar issues in apex plugins and testsuites"Liam Fallon5-130/+130
2021-06-28Use unique name in apex-pdp messagesJim Hahn4-11/+15
Used name generator for apex-pdp instance id. Issue-ID: POLICY-3410 Change-Id: Ifcb216d45fba7d6b10043f39fcb299daffe86b69 Signed-off-by: Jim Hahn <jrh3@att.com>