summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-03Clean up warnings and SONAR issuesliamfallon20-304/+245
Issue-ID: POLICY-2654 Change-Id: Ifd391ea9141d37cfd3ca4110d66c667962230ae1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-02Sonar Build Fixwaynedunican3-5/+5
Issue-ID: POLICY-2611 Change-Id: I125e2e4be8e8f3f5e8bb67b282c134a51f1cd255 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-09-01JavaScript Sonar Coverage setupwaynedunican4-0/+22
Sonar properties added to apex-pdp in order to pick up JavaScript coverage in SonarCloud Issue-ID: POLICY-2611 Change-Id: Ia9c5837bc18a34722437b2b299e85c6a8a67088d Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-26Update apex JRuby joni dependency for securityliamfallon1-2/+12
Issue-ID: POLICY-2799 Change-Id: Ifdc16e99093995665db61329f61455fc0f327386 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-24Correct directory permission check in apexliamfallon1-19/+27
Apex checked if the current directory is writable when it starts, it is corrected to just check that the directory is readable and executable. Issue-ID: POLICY-2791 Change-Id: I794f836cabfde0f6f78392b3c9e1de364d76e5f6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-18Merge "SONAR fixes - assert dissimiliar types"Ram Krishna Verma22-34/+27
2020-08-18Merge "Changes to make APEX container crash with non zero exitCode"Ram Krishna Verma2-39/+39
2020-08-18Merge "Remove apex policy editor gui"Liam Fallon518-52310/+0
2020-08-18Changes to make APEX container crash with non zero exitCodea.sreekumar2-39/+39
Change-Id: I1d36c28cfb07881ebede1cf918140397b076512c Issue-ID: POLICY-2753 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-08-17SONAR fixes - assert dissimiliar typeswaynedunican22-34/+27
Fix for assertions comparing dissimiliar types. Issue-ID: POLICY-2761 Change-Id: I1b2b8afa3e6308cda887d73a4ee079709847d054 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-17Remove apex policy editor guiliamfallon518-52310/+0
The apex policy editor has been moved to policy-gui. This review removes the code from the apex-pdp repo. Issue-ID: POLICY-2621 Change-Id: Ib5b90386d0da8af6eec8870fbcaf01b94975d5c6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-13SONAR fixes - log formattingwaynedunican4-11/+15
Fixed the sonar issues relating to Printf format being used for logging instead of String concatenation Issue-ID: POLICY-2773 Change-Id: I38db8d1df077fd7102f6c4f9b33685f2914bd624 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-12SONAR cleanupwaynedunican6-65/+95
Removed the "result != null" checks Issue-ID: POLICY-2768 Change-Id: Ibf174fbbb99512b1847b319931bc17a984fb8cc0 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-10Merge "Handling apex-pdp multi policy deployment failure:"Pamela Dragosh2-13/+24
2020-08-10Merge "Sonar Fixes"Pamela Dragosh18-67/+69
2020-08-10SONAR assertion cleanupwaynedunican27-79/+87
Replaced assertions to not have the same actual and expected expression in apex-pdp Issue-ID: POLICY-2761 Change-Id: I2bf45a3cc4411bd39f93f9d0b8c8e56dd318281e Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-07Handling apex-pdp multi policy deployment failure:puthuparambil.aditya2-13/+24
1.Include the list of duplicate parameters in the logs for easier troubleshooting 2.Also fix 4 Sonar blockers in ApexMainTest.java Issue-ID: POLICY-2712 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I145a7e03f76f880f8e3cbde97284748468b354a5
2020-08-07Sonar FixesJvD_Ericsson18-67/+69
Replace the type specification in this constructor call with the diamond operator and other small fixes Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Issue-ID: POLICY-2760 Change-Id: I83821859a4a1dbbffbaeae15281abac2de3b5712
2020-08-05change shebang bash linejhh1-1/+1
The shebang line does not take flags causing container intialization problems. Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iac66922873ded0684232c23e3fa2ac6747a959ae
2020-08-04environment variables to support cert. store pathsjhh1-4/+7
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I746f1be50f7a85c0febddc9a92576bb2dbcd9a06
2020-07-30Update info yaml in policy/apex-pdpRam Krishna Verma1-12/+16
Issue-ID: POLICY-2738 Change-Id: I36b0180ce0eeab793b62af857d55f27c50b3d012 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-29Fixing intermittent test failures in APEXa.sreekumar3-9/+18
Here the intermittent test failures are fixed by providing a latch to wait until the DeploymentClient is started. This may need improvement, but all these deployment classes will be removed soon, hence not worth the effort. Change-Id: I1090e991c0448b42af1d9cbd16d96ae1cb5774fd Issue-ID: POLICY-2654 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-07-28Merge "APEX changes to support policy disable/enable and some improvements"Pamela Dragosh5-57/+87
2020-07-28Merge "SONAR assertions apex-pdp"Jim Hahn19-46/+104
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-24APEX changes to support policy disable/enable and some improvementsa.sreekumar5-57/+87
1) Do not stop all the marshallers/unmarshallers while updating the engine. Stop and remove only those that are part of the policies that are undeployed. 2) Do not reinitilaize any marshaller/unmarshaller that is already initilaized as part of the policies which were already deployed. Initialize only the ones as part of any newly deployed policy. 3) EngineParameters could be different in different policies. Aggregate these parameters and make it available in the engine for any running policy. 4) Enable support for running policies with same model and different configurations. Change-Id: If74807a0515a741ef4e53bd0a93e43b05872f6b5 Issue-ID: POLICY-2536 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-07-24Merge "Fix replaceAll SONAR issues in apex-pdp"Ram Krishna Verma5-19/+22
2020-07-24Fix replaceAll SONAR issues in apex-pdpJvD_Ericsson5-19/+22
Change replaceAll() with repalce() in apex-pdp Issue-ID: POLICY-2722 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I8a15b99f02399addfc8f0e25349e3022d8b8c9f1
2020-07-23Add Ajith to apex-pdp infoJim Hahn1-17/+11
Also made changes required by changes to rules that process the yaml file. Issue-ID: POLICY-2738 Change-Id: I1976f711b7f278c4e5a5b1d7338f451e81c42075 Signed-off-by: Jim Hahn <jrh3@att.com>
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>