aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-10Merge "Adding client monitoring module to apex-pdp"Pamela Dragosh34-0/+41901
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
2018-06-19Remove plexus utils vul'y from XML event pluginliamfallon1-1/+7
The plexus-utils dependency on JAXB on the XML event plugin has security vulnerabilities. It is excluded as a dependency. Change-Id: I84f3bbea221374e0e245ef427aac3ec1ba64f48f Issue-ID: POLICY-905 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-19Fix security vul'y in slf4j-extliamfallon1-2/+2
sjf4j-ext version 1.7.25 has security vulnerabilities. Changed to version 1.8.0-beta2 as recommended here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8088 Issue-ID: POLICY-905 Signed-off-by: liamfallon <liam.fallon@ericsson.com> Change-Id: I5df02a40240c62a7fe5768cff2de9d3b57ba7603 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-19Fix security vul'y in Curator Locking Pluginliamfallon1-3/+28
Increment the version of the Curator dependencies. Upgrade the version of Zookeeper used by Curator tot he latest version. Remove ancient log4j dependency from Zookeeper. Issue-ID: POLICY-905 Change-Id: I103bd36404d3dc9c33bdd59585f67ba0fde349be Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-18Fix package name, Unit Test for Context Albumliamfallon10-7/+358
package org.onap.policy.core renamed to org.onap.policy.apex.core Added unit text for context exceptions and context album Issue-ID: POLICY-857 Change-Id: I24f376245d9bc46db6a6a47ac3e8e6c559a16465 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-15Removing SONAR issues from apex-pdp basic modelliamfallon8-94/+139
Removed some code duplication in exceptions Reduced the number of unlogged exception SONAR messages to one. Issue-ID: POLICY-856 Change-Id: I19e60664270b86f77333979eaa412b2e85cb13fa Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-14Add YAML plugin and cleanup for checkstyleliamfallon58-260/+2204
Bringing in the APEX YAML plugin, allows events with YAML bodies to be consumed by APEX. Also clean up of event protocol interface to make it not specific for JSON. Also some checkstyle changes on classes impacted by event protocol interface change. Change-Id: I7c3867ac508096fd8acad2488e61db87dfa1d6bd Issue-ID: POLICY-862 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-12Adding plugin-persistence module to apex-pdpramverma9-0/+537
Change-Id: I68e16b1aad6e7b943439c207816479d151f672fb Issue-ID: POLICY-862 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-06-12Merge "Fixing Jenkins merge job test failure"Liam Fallon2-44/+31
2018-06-12Merge "Adding plugin-executor module to apex-pdp"Liam Fallon25-33/+2022