aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2018-06-12Fixing Jenkins merge job test failurewaqas.ikram2-44/+31
Change-Id: Id9a83c9ea4f5189d6ba57e534540f3fd4f0141f3 Issue-ID: POLICY-859 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-11Adding plugin-executor module to apex-pdpramverma25-33/+2022
Change-Id: I711eaaff3707aa6398c26f1a124fedeb1d0e11f4 Issue-ID: POLICY-862 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-06-11Merge "Remove warnings from code"Pamela Dragosh4-23/+176
2018-06-11Fixing sonar bugswaqas.ikram10-223/+404
Change-Id: I05a81755ce132810c9535babb7bae5b9b9e0bd60 Issue-ID: POLICY-859 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-11Remove warnings from codeliamfallon4-23/+176
Remove "final" from variables and add setters in test case to get rid of "dead code" warnings Change implementation in typeutils grammar generation to remove depricated warning Change-Id: I24c4bb3f06f4c6fa227d8d191dc2fb6a6cf0b6fb Issue-ID: POLICY-716 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-08Merge "Adding plugins-event module to apex-pdp"Liam Fallon72-7/+15058
2018-06-08Adding plugins-event module to apex-pdpramverma72-7/+15058
Adding plugins-event module to apex-pdp Fix a minor bug in TextFileUtils Change-Id: I393c5f5809d078850d6669d22759ba9fa1b4f0e6 Issue-ID: POLICY-862 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-06-08Fixing Sonar bugs and Vulnerabilitieswaqas.ikram25-223/+244
Change-Id: Id5a95f23f1308dbb9f7f0c0f5567e238ecf830af Issue-ID: POLICY-859 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-06Merge "Adding services engine module"Pamela Dragosh158-1/+23690
2018-06-06Merge "Remove checkstyle errors from generated code"Pamela Dragosh3-17/+23
2018-06-06Adding services engine modulewaqas.ikram158-1/+23690
Change-Id: I68bbe6d95d17cfcdda204d1ee3eec3b92d12ebd4 Issue-ID: POLICY-859 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-06Remove checkstyle errors from generated codeliamfallon3-17/+23
The generated code in the APEX model module creates checkstyle errors in Eclipse becasue there is no license header on the generated Java code. This change adds the copyright header to the code generation templates. Also this change introduces teh latest version of ahtlr 4 for code generation from a grammar. Issue-ID: POLICY-716 Change-Id: Ib02cc4e1a6e815cf6d4b386c19f7eb2542f9ed00 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-06-05Adding apex plugins/plugins-context moduleswaqas.ikram113-0/+9538
Change-Id: I36fc295ffbd22661bf8bd091bfb20ebf6dcc7f5e Issue-ID: POLICY-862 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-06-04Adding apex core module to apex-pdpramverma123-4/+12470
Change-Id: I4bfe1df3e44fe62ff6789e813e59836e267ab3b2 Issue-ID: POLICY-858 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-06-01Adding apex auth moduleswaqas.ikram62-0/+16160
Change-Id: Iec210465636458f0c104c99893440706279062f0 Issue-ID: POLICY-860 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-31Fixing Sonar bugs and Vulnerabilitieswaqas.ikram7-134/+125
Change-Id: I69c65d808133ac75d9f93aa0d63326ca8c67f839 Issue-ID: POLICY-856 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-31Fixing pluginExecutionFilter issuewaqas.ikram1-0/+1
Change-Id: Iece9be8e8bcaa0872e37e4bac7fd435c44a5bbe3 Issue-ID: POLICY-857 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-31Fixing Lifecycle Mapping Problemwaqas.ikram2-42/+12
Change-Id: I508f064c8f20a96d2eeeb67a4b7a05812e1e2152 Issue-ID: POLICY-857 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-30Merge "Fixing Sonar bugs and code smells"Jorge Hernandez16-230/+167
2018-05-30Adding apex context moduleramverma82-0/+9961
Change-Id: I1284c2ba4c41a9cf721e141e096d1021be599a2d Issue-ID: POLICY-857 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-30Fixing Sonar bugs and code smellswaqas.ikram16-230/+167
Change-Id: I661cd409d01320fe11a29b7ea72b9e8f70e72a6c Issue-ID: POLICY-856 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-28Adding policy-model, model-api & engine-modelwaqas.ikram99-0/+24821
Change-Id: I56702b8f0953457d493f894d155b2a6ddc87b10c Issue-ID: POLICY-856 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-25Adding apex event-model moduleramverma121-2733/+5994
- Adding apex event-model module - Fixing namespaces Change-Id: If37a1773000ca99eb5d97703fdeb5788ce55365c Issue-ID: POLICY-856 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-24Adding apex context-model modulewaqas.ikram20-0/+3494
Change-Id: Ia80b2caa0f76ecd7a80ece79e5cf88ac9de048ac Issue-ID: POLICY-856 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-24Changing groupId to fix jenkins merge issuewaqas.ikram4-6/+6
Change-Id: I84f5c62cb0d0ea4742905d86ffbde5333c8310bc Issue-ID: POLICY-855 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-24Fixing typo in utilities module namewaqas.ikram33-5/+5
Change-Id: I7bae55aa9c9064fc4aea32bacba3baee196c10a0 Issue-ID: POLICY-855 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-05-24Adding apex utiliites and basic-model moduleeikrwaq112-0/+13297
Change-Id: Ib72677912eb5ac4b872e555f24570c86a627802f Issue-ID: POLICY-855 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>