summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-17Refer to snapshot versionsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2695 Change-Id: I97ab109ee7a3a80cb44890f2586407d9a32c8bd7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-17Merge "Fix double initiation error on EngineServiceFacade"Jim Hahn7-272/+246
2020-07-17Fix double initiation error on EngineServiceFacadeliamfallon7-272/+246
The engineServiceFacade allows it's init() method to be called twice, the second call should return that the facade is already initialized. Issue-ID: POLICY-2720 Change-Id: Id241e232163a8812a72f92841ce7b11f59358d45 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-16Merge "Renaming password variables to match with oom"Liam Fallon2-6/+6
2020-07-16Merge "Replaced try/catch blocks with assertj - apex-pdp"Pamela Dragosh19-985/+447
2020-07-16Merge "Replace try/catch with assertj"Pamela Dragosh24-2024/+1261
2020-07-15Renaming password variables to match with oomRossC2-6/+6
Issue-ID: POLICY-2633 Change-Id: If5df0e82ab4154f5e32cdc3a5080cb13264830aa Signed-off-by: RossC <ross.carter@est.tech>
2020-07-15Replace try/catch with assertjwaynedunican24-2024/+1261
Replaced try/catch blocks with assertj assertions in apex-pdp. Last batch of changes Issue-ID: POLICY-2451 Change-Id: I39bd02fdbd8389818dcf1b786189c1e344ddcea5 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-15Replaced try/catch blocks with assertj - apex-pdpwaynedunican19-985/+447
Removed try/catch blocks in apex-pdp with assertj assertions Part IV Issue-ID: POLICY-2451 Change-Id: I4b6accb9f944195db9ccf8a5de165b169301ac7f Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-14Merge "Fix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/model"Ram Krishna Verma19-228/+234
2020-07-13Merge "Remove old documentation from build"Jim Hahn536-16583/+0
2020-07-13Merge "Fix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/core"Pamela Dragosh8-116/+125
2020-07-13Merge "Allowing configuration of truststore password"Liam Fallon2-6/+9
2020-07-13Merge "Fix assertTrue SONAR issues in apex-pdp"Liam Fallon5-23/+22
2020-07-13Remove old documentation from buildliamfallon536-16583/+0
apex-pdp had an in-line docuemntation build system built on asciidoc. It has proven to be very difficult to maintain and keep up to date and it is incompatible with the ONAP official RST/ReadTheDocs docuementation system. In the Dublin release, we converted the asciidoc documentation to RST format, and hae been updating the RST documentation since. The asciidoc docuemntation system is now so out of date that it is being removed. In this change, the "site" directory is removed from all modules in apex-pdp and a profile called "apexSite" is removed from the pom.xml file in all modules. Issue-ID: POLICY-2686 Change-Id: I645f3ed101159d356cd90e619cef791067ad5eb5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-13Fix assertTrue SONAR issues in apex-pdp/examples and apex-pdp/modelJvD_Ericsson19-228/+234
Replace assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp/examples and apex-pdp/model Issue-ID: POLICY-2690 Change-Id: Ie863dd95ccead62268689a4a8388f9b6e8821649 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-10Bump apex-pdp to 2.4.1-SNAPSHOTRam Krishna Verma88-88/+88
Issue-ID: POLICY-2695 Change-Id: I15b489de9ca2614e3a6c94b450a3d6397d17d4ff Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Release apex-pdp 2.4.0 docker artifactsRam Krishna Verma1-0/+8
Issue-ID: POLICY-2695 Change-Id: Ie87b3328b86c471d97e8b69167122978bf42ed2a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Release apex-pdp 2.4.0 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-2695 Change-Id: Ib0fb0753deda32d9162a24b1c470a30ff20ade35 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-10Pointing apex towards latest artifactsRossC1-3/+3
Issue-ID: POLICY-2695 Change-Id: I28fd0e7e12a8f3e7ee192e40b99aaa2339aea24f Signed-off-by: RossC <ross.carter@est.tech>
2020-07-10Fix assertTrue SONAR issues in apex-pdp/contex and apex-pdp/coreJvD_Ericsson8-116/+125
Replace assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp/client apex-pdp/context and apex-pdp/core Issue-ID: POLICY-2690 Change-Id: Ic1e69c75e5f8f887cac135b6728b007faf4b19a6 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-09Allowing configuration of truststore passwordRossC2-6/+9
Issue-ID: POLICY-2633 Change-Id: Ic891ab55ded843e44b7998097949c1156c070657 Signed-off-by: RossC <ross.carter@est.tech>
2020-07-07Fix assertTrue SONAR issues in apex-pdpJvD_Ericsson5-23/+22
Replaced assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp auth Issue-ID: POLICY-2690 Change-Id: Ica84f57f5a9048c33a2b641945a4376e60cf97c1 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-06Merge "Replace try/catch blocks with assertj - apex-pdp"Ram Krishna Verma8-544/+178
2020-07-06Merge "Fix URL checking on REST plugins"Jorge Hernandez5-63/+50
2020-07-06Fix URL checking on REST pluginsliamfallon5-63/+50
The URL parameter must always be provided on the REST client carrier plugin The URL parameter must always be provided on the REST requestor consumer The URL parameter is not required on the REST requestor producer This patch fixes the implementation to always checks the URL for existence on the REST Client plugin. The current checks on the REST Requestor are correct for the REST requestor plugin consumer and producer classes, so the checks are not required in the REST Requestor parameters. Issue-ID: POLICY-2692 Change-Id: I4e1534202002cf4a03bd159ac97b2a4f5b1746ab Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-06Replace try/catch blocks with assertj - apex-pdpwaynedunican8-544/+178
Replaced try/catch blocks in apex-pdp with assertj assertions Issue-ID: POLICY-2451 Change-Id: I83375b9e0f38d399b84bb68ce5d441e1cec73ef5 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-03Fixing issue with policy chaining after CDS request failure in APEXa.sreekumar2-12/+13
Change-Id: Id27343c21caaf69e30ee13076a2963c256fab55d Issue-ID: POLICY-2687 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-07-01Fixing ConcurrentModificationException during multiple policy deployment in APEXa.sreekumar1-24/+34
Change-Id: Ib39e798d733727bdc676755b66adf2c499e618af Issue-ID: POLICY-2655 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-06-30Add tests for XPathReaderToineSiebelink2-0/+94
XPathReader had some SQ vulnerabilities whihch have been udpated in previous commit This is just making sure same code is now covred by testware Issue-ID: POLICY-2654 Change-Id: Ie40ee015b517b0cc3c5986a67513543653f53a61 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-06-30Merge "Removed CDS simulator from apex-pdp"Jim Hahn3-104/+10
2020-06-29Removed CDS simulator from apex-pdpJim Hahn3-104/+10
As the simulator now resides in policy-models, the code for it is no longer needed in apex-pdp. Deleted it. Issue-ID: POLICY-2676 Change-Id: I8ae6c8d860a47e5e7ba0509c99e4e2676109de25 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-29Fix SonarQube vulnerabilitiesToineSiebelink6-10/+34
Added logging to handle file io boolean returns Added security related settings to xml factories and builders Issue-ID: POLICY-2654 Change-Id: Ibc0a01f978bfc446e1dc1f8ad952d1305a7b7178 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
2020-06-25Fixing error with Main class name usage in APEXa.sreekumar1-2/+2
Change-Id: I0da222e592e6e29f0afca4a1515d8f126fe91cbb Issue-ID: POLICY-2623 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-06-25Merge "Remove thread in JavascriptExecutor"Liam Fallon9-704/+103
2020-06-23Remove thread in JavascriptExecutorhuaxing9-704/+103
This change is basically a rollback of https://gerrit.onap.org/r/c/policy/apex-pdp/+/104230, with minor refactoring. The problem that 104230 tried to address was supposed to be caused by https://jira.onap.org/browse/POLICY-2463. With this rollback, apex-pdp increases performance and reduces memory usage. Issue-ID: POLICY-2572 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I3a52d0ead0c1e530d218f9e3aba8b3eb5558abaf
2020-06-23remove build warning with json dependencyHenry.Sun1-5/+0
Signed-off-by: Henry.Sun <henry.a.sun@est.tech> Change-Id: Ieceb3e129620ced23552027e71fd09a2bd91acbe Issue-ID: POLICY-2649
2020-06-23Merge "Updating all Apex dependencies"Ram Krishna Verma12-15/+15
2020-06-23Remove apex-pdp Jackson security issueliamfallon4-19/+8
We should use the managed version of jackson from policy-parent rather than a specific apex-pdp version. Also upgrade the version of Avro, avro 1.9.2 uses a newer somewhat more secure version of Jackson. Issue-ID: POLICY-1508 Change-Id: If32218816ae76cf3cf6ddc8980e3a37e7e2ffd19 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-22Updating all Apex dependenciesRossC13-17/+16
Issue-ID: POLICY-2387 Change-Id: I6d9222cfe8841a4a4532d95dbc6f8b3f3d15ac87 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-19Changes for checkstyle 8.32liamfallon556-985/+182
Issue-ID: POLICY-2188 Change-Id: I56bbf3aa3bd9e1ef433cc93ad2be0c54d141a2a5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-15Merge "Improve robustness of unit testing"Ram Krishna Verma7-141/+34
2020-06-12Remove logback.xml files bundled as part of jara.sreekumar2-113/+0
Change-Id: I0c15bb6bddb00f5d1fa00ea48e570bc7c270c43d Issue-ID: POLICY-2627 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-06-12Improve robustness of unit testinghuaxing7-141/+34
Issue-ID: POLICY-2630 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I6475f9272c1a770836af537c13b23e486b66ac3e
2020-06-03Merge "Stability test for Apex-pdp"Pamela Dragosh1-30/+2725
2020-06-02Stability test for Apex-pdpaditya.puthuparambil1-30/+2725
Issue-ID: POLICY-2457 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: Id47155d172f2b6386c94470dd5068ee09d2a8238
2020-05-28Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2319 Change-Id: I0699b2d2791e07df89b7a1e9c78320ced3c14f26 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-21Bump apex master to 2.4.0RossC88-89/+89
Issue-ID: POLICY-2514 Change-Id: I764cfe41ed8cf8ffebd4ff076d0b76b79d61e142 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-20Bump Apex to 2.3.3RossC89-89/+89
Issue-ID: POLICY-2514 Change-Id: I5b130b052150eb0e51759c751b83ab9d6f199759 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-20Release apex 2.3.2 docker6.0.0-ONAPRossC1-0/+8
Issue-ID: POLICY-2514 Change-Id: I6dbdc5057a944792372ebcd02fe30f97fe7b6686 Signed-off-by: RossC <ross.carter@est.tech>