aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-16Refactor persistence JPA testingDinh Danh Le11-30/+350
Adding tests for EclipseLink and refactoring Hibernate testcases. As both tests use the same test entities, the two existing test entity classes from org.onap.policy.apex.plugins.persistence.jpa.hibernate are moved to a newly created package org.onap.policy.apex.context.test.entities under context-test-utils. Relevent POM files are changed w.r.t this change. In particular, 1) add version infos as properties in apex-pdp/pom.xml 2) common dependencies related to Junit testing for EclipseLink and Hibernate are moved to their parent plugins-persistence-jpa's POM. Change-Id: I9d9387154cbfdfc69be49960b80e040b6fd35b5a Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-862
2018-07-13Adding client editor module to apex-pdpramverma503-0/+68341
The size of the review is big because of following: 1. edit_area & jquery are 3PP's used in the client editor 2. ui elements like svg, gifs, png Change-Id: Ib62d8e6dda6e6dc1b6e604298e23505523f77cf2 Issue-ID: POLICY-864 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-13Merge "Adding Benchmark module"Jorge Hernandez43-37/+13987
2018-07-13Merge "Adding client deployment module to apex-pdp"Jorge Hernandez45-18698/+19118
2018-07-13Adding Benchmark modulewaqas.ikram43-37/+13987
Change-Id: I4817580bf53bbf46b6890b70d49c8a2edabca749 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-07-12Adding client deployment module to apex-pdpramverma45-18698/+19118
Change-Id: Idd74e9846c3fa75d305a9dde98a98d92dd0520a9 Issue-ID: POLICY-864 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-11Merge "Create docker image for apex-pdp"Jorge Hernandez11-5/+431
2018-07-11Merge "Change JNR and DOM4J license versions"Jorge Hernandez2-0/+33
2018-07-10Merge "Adding client monitoring module to apex-pdp"Pamela Dragosh34-0/+41901
2018-07-10Change JNR and DOM4J license versionsliamfallon2-0/+33
Change the JNR and DOM4J licenses to versions that are approved by the Linux Foundataion. Issue-ID: POLICY-905 Change-Id: I11fb2356bf90db27d16fe57ab70a910dac09459b Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-10Create docker image for apex-pdpmmis11-5/+431
Issue-ID: POLICY-866 Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-07-10Adding executor integration testswaqas.ikram26-14/+1606
Change-Id: I292315164fbfb3650f6d21ede6edb264a7fd8ee3 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-07-10Merge "Fix apex-pdp logging issue"Pamela Dragosh1-1/+5
2018-07-10Merge "Change JRuby and Websocket version"Pamela Dragosh3-4/+4
2018-07-10Fix apex-pdp logging issueramverma1-1/+5
apex-pdp logging was failing due to multiple slf4j bindings. Excluded the slf4j-log4j12 transitive dependency coming through zookeeper. Change-Id: I8745c349fecc89e4b3a84d8a79b1dc5bb47f89c8 Issue-ID: POLICY-866 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-10Merge "Fixing Multi JVM Tests and sonar bugs"Liam Fallon22-153/+228
2018-07-10Change JRuby and Websocket versionliamfallon3-4/+4
Change the versions of JRuby and Java Websockets to versions that are approved by the Linux Foundation. Issue-ID: POLICY-905 Change-Id: I804ab1e9871bb573647035f47e674f472aba5528 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-09Adding client monitoring module to apex-pdpramverma34-0/+41901
Change-Id: I6b4d00a5e49326f62f3585526ede8e89df99d7e5 Issue-ID: POLICY-864 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-09Remove ECOMP from LICENSE.txtPamela Dragosh1-2/+0
Must have copy-pasted a previous LICENSE. Issue-ID: POLICY-958 Change-Id: I79e76690edc700d3dc399b89d64295644a10fa73 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-07-09Fixing Multi JVM Tests and sonar bugswaqas.ikram22-153/+228
Change-Id: I02df58695b44d5768410a0eaccb090cda7eb85ba Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-07-06Merge "Fix Javadoc errors"Jorge Hernandez8-23/+25
2018-07-06Merge "Refactoring existing integration tests"Jorge Hernandez77-2007/+2041
2018-07-06Merge "Set Jersey to LF approved version"Jorge Hernandez5-15/+14
2018-07-06Fix Javadoc errorsliamfallon8-23/+25
Path changes and changes due to mitigation of security violations caused some links in the Javadoc not to work any more. This changes fixes the javadoc. Issue-ID: POLICY-954 Change-Id: Ic9db2627fb1ffad69c8acadc7b975bc40864caaf Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-06Set Jersey to LF approved versionliamfallon5-15/+14
The Linux Foundation have permitted only certain versions of Jersey to be OK to use license wise. This fix configures the APEX PDP to use Jersey version 2.26, a LF approved version. Issue-ID: POLICY-905 Change-Id: I4f4cbf728ffb0cc49331aa61da68805f83880282 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-06Refactoring existing integration testswaqas.ikram77-2007/+2041
Change-Id: I1aedd94d5197b8c6513fc701e9df2aab4edec088 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-07-05Merge "Remove new security vulnerability"Pamela Dragosh1-1/+1
2018-07-04Fix test failure due to wait timeoutliamfallon3-178/+129
THe Avro and Java context integration tests waited for one second for APEX to produce the output event to file before stopping APEX. This timeout is usually fine. However, occasionally in the ONAP Jenkins build jobs, the test ocassionally times out. The tests are amended to wait for the file to exist and have content or for 10 seconds, whichever comes sooner. Also consolidated two test classes into a single class and improved temporary file handling. Issue-ID: POLICY-905 Change-Id: I5e370353d2b627203e270cb6efeb560af7dc2acf Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-04Remove new security vulnerabilityliamfallon1-1/+1
The latest CLM report showed up Hazelcast as a new security vulnerability. This change upgrades Hazelcast to the latest version. Issue-ID: POLICY-905 Change-Id: Ifa79dff9977ae7e547abb5ab29322a8a01c37fd6 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-03Remove JMS dependencies with license problemsliamfallon4-52/+39
The JMS API dependency wa removed by checking for the methods using refection rather than casting the objects. The other JMS dependencies were not needed. Issue-ID: POLICY-905 Change-Id: I9146ede67e97c0e0ccc8a9a8a20f98f1b9e5390d Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-03Remove unnnecessary plugin from POMliamfallon1-24/+0
This plugin is not needed in the integration-common module POM and showed up as an error in Eclipse Change-Id: I8a8c052dd97f7b7af42ef396a58f56bcddb98cd2 Issue-ID: POLICY-865 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-02Resolve JAXB license issue, use Eclipselinkliamfallon8-35/+21
Replaced Glassfish-based JAXB processing with eclipselink based JAXB processing to resolve license issues. Updated version of eclipselink from 2.6.2 to 2.6.5 Supporessed warning about use of Java APIs. Issue-ID: POLICY-905 Change-Id: I68094230b710e971d096decfffdb53b003c5872f Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-02Fix the apex-pdp build issueramverma5-75/+80
Change-Id: I50532314948d16432065dacbadb9d69d8ca49084 Issue-ID: POLICY-865 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-06-30Merge "Adding integration test module"Liam Fallon125-109/+45437
2018-06-28Fixing sonar bugs in package ..auth.clieditorDinh Danh Le6-71/+58
Change-Id: Ie0aa788ef9ea4e574c65928787c9be2ef72a6a61 Issue-ID: POLICY-862 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
2018-06-28Adding integration test modulewaqas.ikram125-109/+45437
Change-Id: If94ff28724a31269cf20b32c43fa0790c3b2dac3 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-26Merge "Upgrade version of Jython to remove vulnerability"Pamela Dragosh4-5/+8
2018-06-26Upgrade version of Jython to remove vulnerabilityliamfallon4-5/+8
Upgrade version of Jython from 2.2.1 to 2.7.1 to fix security vulnerability. Change-Id: I605b02483431b057f0ffa6017a5726ef8e1834d3 Issue-ID: POLICY-905 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-26Fix vulnerabilities in dependenciesliamfallon4-2/+20
Exclude commons-beanutils from JMS plugin Upgrade apacne ant version in XML plugin Upgrade Grizzly version in all plugins Issue-ID: POLICY-905 Change-Id: Ifa0d91bdead94be605cf5d51598ce36dd2c7b0fb Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-22Merge "Adding Junit for plugins-persistence-jpa-hibernate"Liam Fallon5-2/+630
2018-06-21Merge "Fix JMS plugin vulnerability"Pamela Dragosh1-4/+15
2018-06-21Merge "Reduce level of vulnerability on JRuby plugin"Pamela Dragosh1-3/+17
2018-06-21Adding Junit for plugins-persistence-jpa-hibernateDinh Danh Le5-2/+630
Change-Id: Iacfffb1adebabe7c4f0f40d9c76b6bd3d503b283 Issue-ID: POLICY-862 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
2018-06-21Add unit test for apex pdp context schemaliamfallon8-11/+482
Unit tests added for context schema handling in the APEX PDP. Code coverage in the schema packages now above required limit. Issue-ID: POLICY-857 Change-Id: I66ad6eb0e758f7a80492caae514875229c28924f Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-21Reduce level of vulnerability on JRuby pluginliamfallon1-3/+17
The JRuby plugin was using an old version of JRuby. The version of JRuby is updated to the latest version, which reduces the security vulnerability level. Some JRuby libraries that are not used in the APEX PDP and that themselves have security vulnerabilities are excluded. Issue-ID: POLICY-905 Change-Id: I1c9d40c505849d8cab2778a4993dec9148504599 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-21Fix JMS plugin vulnerabilityliamfallon1-4/+15
THe HornetQ JMS implementation had security vulnerabilities, license issues, and the latest version is 3 years old. The plugin was updated to use the Apache ActiveMQ JMS implementaiton instead. ActiveMQ has a very recent version, has no license issues, and has no recorded security issues. Issue-ID: POLICY-905 Change-Id: I2db80a9e45ee4274f31e8c493c841cd039e78050 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-20Adding package modulewaqas.ikram85-1/+5720
Change-Id: I2513f00a3f49d4428470c173a717ccb9fbc49de5 Issue-ID: POLICY-863 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-19Merge "Fix security vul'y in Curator Locking Plugin"Pamela Dragosh1-3/+28
2018-06-19Merge "Remove plexus utils vul'y from XML event plugin"Pamela Dragosh1-1/+7
2018-06-19Merge "Fix package name, Unit Test for Context Album"Pamela Dragosh10-7/+358