aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27SONAR assertions apex-pdpwaynedunican19-46/+104
Ensure assertions are present in test cases Issue-ID: POLICY-2706 Change-Id: I3673a7668564401d2136450b0bdd7a013605dd7c Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-23Merge "Fix assertTrue in apex-pdp/model"Jim Hahn1-19/+18
2020-07-23Merge "Fix replaceAll SONAR issues in apex-pdp"Ram Krishna Verma3-30/+33
2020-07-23Fix assertTrue in apex-pdp/modelJvD_Ericsson1-19/+18
Replace assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp/model Issue-ID: POLICY-2690 Change-Id: Ifd435a4ea69d8f682407c2a70d5e8119f017ae9f Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-23Merge "Remove try/catch blocks with assertj - apex-pdp"Jim Hahn22-692/+361
2020-07-23Remove try/catch blocks with assertj - apex-pdpwaynedunican22-692/+361
Removed try/catch blocks in apex-pdp and replaced with assertj assertions Part III Issue-ID: POLICY-2451 Change-Id: I1e6ede1c256c5bcf7899e1af130add71fdf1381c Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-22Fix replaceAll SONAR issues in apex-pdpJvD_Ericsson3-30/+33
Change replaceAll() with repalce() in apex-pdp/plugins and apex-pdp/testsuites Issue-ID: POLICY-2722 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ib9d5256c050197b06f9df9c4cbb7562be081283c
2020-07-22Merge "Fix assertTrue in apex-pdp/model apex-pdp/plugins, apex-pdp/services ↵Jorge Hernandez17-77/+77
and apex-pdp/testsuites"
2020-07-21Fix assertTrue in apex-pdp/model apex-pdp/plugins, apex-pdp/services and ↵JvD_Ericsson17-77/+77
apex-pdp/testsuites Replace assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp/model, apex-pdp/plugins, apex-pdp/services and apex-pdp/testsuites Issue-ID: POLICY-2690 Change-Id: If088371cf012d5648e04ade2aa4d49b38945f6d2 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-20Replace try/catch with assertj - apex-pdpwaynedunican19-1203/+464
Replaced try/catch blocks apex-pdp with assertj assertions. Part III of changes. Issue-ID: POLICY-2451 Change-Id: I77ee4140cdfc2066f463459f92163677c3e34ef2 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-17Merge "Refer to snapshot versions"Pamela Dragosh1-2/+2
2020-07-17Merge "Replace try/catch with assertj - apex-pdp"Ram Krishna Verma8-601/+275
2020-07-17Merge "Fix assertTrue SONAR issues in apex-pdp/model"Ram Krishna Verma22-1042/+1021
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 assertTrue SONAR issues in apex-pdp/modelJvD_Ericsson22-1042/+1021
Replace assertTrue with assertEquals and assertFalse with assertNotEquals in apex-pdp/model Issue-ID: POLICY-2690 Change-Id: Id37989ea8a6ad7b3156e13851cc072ce6c53c03e Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2020-07-17Replace try/catch with assertj - apex-pdpwaynedunican8-601/+275
Replaced try/catch blocks in apex-pdp with assertj assertions. Part II of changes Issue-ID: POLICY-2451 Change-Id: I29823054fbeb6d1a287d1234859aaf2d4609ef6d Signed-off-by: waynedunican <wayne.dunican@est.tech>
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