summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I28b4c8acdef0302b6419a07c4445d60c398c4f73 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-10Bump APEX version to 2.4.2-SNAPSHOTa.sreekumar81-81/+81
Change-Id: Idde5050b425eb1bebe312e80e795c21513367a1b Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-10Release APEX docker 2.4.1a.sreekumar1-0/+8
Change-Id: Ief1025869ee480fe0d43063c2590d74c6de2c77d Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-10Release APEX maven 2.4.1a.sreekumar1-0/+5
Change-Id: I50a84d9abbb8563d1886f1ef199a79f1cc99b4ff Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-09Delete apex-client from packagingJim Hahn1-7/+1
The "stage-release" failed due to: 18:51:12 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (copy-fat-jars) on project apex-pdp-package-full: Unable to find/resolve artifact. Could not find artifact org.onap.policy.apex-pdp.client:apex-client-full:jar:full:2.4.1 in release-mirror (https://nexus.onap.org/content/repositories/public/) -> [Help 1] Removed it from the package, as it is no longer part of apex-pdp. Issue-ID: POLICY-2789 Change-Id: I4089096ab9668af33e885c70e140ce8fc1f51939 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Remove deleted dependency from apex-pdpJim Hahn1-5/+1
One of the poms refers to core-deployment, which has been deleted from apex-pdp. Deleted it from the pom. Issue-ID: POLICY-2789 Change-Id: Ie9d9265ad61808ca0d5dbf8ea3e772ac7348edbb Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Pointing to released common & modelsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2789 Change-Id: Ibaaf533f79cf2bc98090b2933392945ef8bb06ef Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09APEX standalone support for ToscaPolicy formata.sreekumar192-6904/+476542
Legacy format support is removed, and Tosca format support is added. Change-Id: I3cfc181ccb5471a5d224c0162af18c1fa0fdbc70 Issue-ID: POLICY-2812 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-08Merge "Remove client code from apex-pdp"Ram Krishna Verma157-44525/+40
2020-09-04point to 2.1.0 policy-alpine base - apexTaka Cho1-1/+2
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: Ieff7433ab0c85abca218032a0a3c91bb42081a80 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-09-04Remove client code from apex-pdpliamfallon157-44525/+40
Removal of the deployment and monitoring client from the apex-pdp as the functionality is replaced by the Policy Framework deployment using PAP and the Policy Framework monitoring GUI. Code in the engine proper that was used to administer apex-pdp over the Web Socket port is also removed, as this code was only used by the apex-pdp legacy GUIs. Issue-ID: POLICY-2621 Change-Id: Ib9fc4a667a4bc79377bb7b82fae6a2bd520a3e3d Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-03Merge "Sonar Bug fixes"Pamela Dragosh5-11/+11
2020-09-03Sonar Bug fixeswaynedunican5-11/+11
Removal of remaining bugs in apex-pdp Issue-ID: POLICY-2774 Change-Id: I370796e7c8a41c116155155c33176512e9e0cd91 Signed-off-by: waynedunican <wayne.dunican@est.tech>
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>