ramverma [Wed, 25 Jul 2018 16:26:52 +0000 (17:26 +0100)]
Renaming examples in apex-pdp
Renaming the examples as per what the documentation expects them.
Otherwise the documents won't work.
Change-Id: Ib9e30bf5a4cec0fec981372e1d9f3a0ee5d60f2f
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Jorge Hernandez [Wed, 25 Jul 2018 13:56:20 +0000 (13:56 +0000)]
Merge "Adding more examples to apex-pdp"
ramverma [Tue, 24 Jul 2018 16:36:53 +0000 (17:36 +0100)]
Adding more examples to apex-pdp
- Adding more examples (DecisionMaker, Periodic & ONAPvCPE) to apex-pdp.
- Fixed CORS issue in plugin-event-carrier-restserver module.
Added a ContainerResponseFilter to intercept every request/response coming to
REST server and add the required headers to support CORS.
Change-Id: Ic3e36c683f2a78992ce1417d2c00233b34066f2f
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
liamfallon [Tue, 24 Jul 2018 13:23:37 +0000 (14:23 +0100)]
Fix bug in APEX parameter service
The parameter calss name was not initialized in the constructor
of the parameter service
The web socket connections() method is depricated and replaced by getConnections()
Fixed order of build in main pom to put packages module last
fixed some comments that were incorrect
Change-Id: I6340655100655e181e2d97fe39def4874873dff5
Issue-ID: POLICY-954
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
ramverma [Fri, 20 Jul 2018 15:52:38 +0000 (16:52 +0100)]
Fix sonar bugs and vulnerabilities in apex-pdp
Change-Id: I7ecabd3705de4a5352d5a98d1ab3a01677172651
Issue-ID: POLICY-954
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
ramverma [Thu, 19 Jul 2018 17:45:16 +0000 (18:45 +0100)]
Adding examples module to apex-pdp
Adding examples (MyFirstPolicy, AADM, Adaptive, PCVS) to apex-pdp
so that anyone can try out running few sample policies
and understand how to create and run policies in apex-pdp.
Change-Id: I0dff6d54ef94d8b5bdb63eabcb09e9f64d76fd0c
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Jorge Hernandez [Thu, 19 Jul 2018 14:08:50 +0000 (14:08 +0000)]
Merge "Fix security vulnerability, upgrad jquery version"
Jorge Hernandez [Thu, 19 Jul 2018 14:02:15 +0000 (14:02 +0000)]
Merge "Fix apex-pdp packaging issue"
liamfallon [Wed, 18 Jul 2018 16:21:39 +0000 (17:21 +0100)]
Fix security vulnerability, upgrad jquery version
The version of jquery used in the APEX client was old
and had a security vulnerability. THis review updates the
versino of jquery to a newere version that does not have
a vulnerability.
Issue-ID: POLICY-905
Change-Id: Iefa5202ca80ba03d3a6ab84a693fa8d3da21c536
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
ramverma [Wed, 18 Jul 2018 15:28:07 +0000 (16:28 +0100)]
Fix apex-pdp packaging issue
Fix apex-pdp packaging issue and add SampleDomain examples to try out
how apex-pdp works.
Change-Id: I4018b0902d06345e86ddbef80100e63232cee49d
Issue-ID: POLICY-861
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
waqas.ikram [Tue, 17 Jul 2018 14:35:47 +0000 (15:35 +0100)]
Refactoring Metrics test
Change-Id: I99290a3dec61b3ce0f4d5fd33d6b429d091b48ca
Issue-ID: POLICY-954
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Jorge Hernandez [Wed, 18 Jul 2018 15:02:13 +0000 (15:02 +0000)]
Merge "Fix incorrect naming on context plugins"
liamfallon [Wed, 18 Jul 2018 10:23:20 +0000 (11:23 +0100)]
Fix incorrect naming on context plugins
This change fixes inconsistent naming on the context plugins
in APEX. All plugins should fillow the naming convention of
plugin-A.plugin-A.B.plugin.A.B.C and so on. Not following
this convention breaks the APEX documentation build.
Issue-ID: POLICY-954
Change-Id: I8aad4a28d143427e60017eaa119ee4f7ce9f5b3d
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Jorge Hernandez [Tue, 17 Jul 2018 13:57:24 +0000 (13:57 +0000)]
Merge "Set user in Dockerfile to apexuser"
Jorge Hernandez [Tue, 17 Jul 2018 13:56:14 +0000 (13:56 +0000)]
Merge "Refactor persistence JPA testing"
mmis [Mon, 16 Jul 2018 23:30:34 +0000 (00:30 +0100)]
Set user in Dockerfile to apexuser
Set the user in Dockerfile to apexuser so as the user will be set to
apexuser upon container starts up. Only apexuser is permitted to start
apex.
Issue-ID: POLICY-866
Change-Id: Ib9e29503d8fc252760df6385a78f353e8961c3d2
Signed-off-by: mmis <michael.morris@ericsson.com>
ramverma [Mon, 16 Jul 2018 14:23:45 +0000 (15:23 +0100)]
Adding tools module to apex-pdp
The tools module contains the utility applications for apex
like converting policy model to cli, generating json events from policy
model, simple websocket client example etc.
The tools are defined to work in console and hence contain sysouts which
are actually needed.
Change-Id: Ia6d40fa7d3f6609ef86abd91a438d6ccbcd1f277
Issue-ID: POLICY-863
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Dinh Danh Le [Sun, 15 Jul 2018 01:52:33 +0000 (02:52 +0100)]
Refactor persistence JPA testing
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
ramverma [Sat, 14 Jul 2018 18:05:57 +0000 (19:05 +0100)]
Adding client full module to apex-pdp
Change-Id: Id6e4e37b7740eeb3d83998e596c0c963c93e64f2
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
ramverma [Fri, 13 Jul 2018 11:32:32 +0000 (12:32 +0100)]
Adding client editor module to apex-pdp
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>
Jorge Hernandez [Fri, 13 Jul 2018 14:02:26 +0000 (14:02 +0000)]
Merge "Adding Benchmark module"
Jorge Hernandez [Fri, 13 Jul 2018 14:01:05 +0000 (14:01 +0000)]
Merge "Adding client deployment module to apex-pdp"
waqas.ikram [Thu, 12 Jul 2018 11:47:09 +0000 (12:47 +0100)]
Adding Benchmark module
Change-Id: I4817580bf53bbf46b6890b70d49c8a2edabca749
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
ramverma [Wed, 11 Jul 2018 13:21:13 +0000 (14:21 +0100)]
Adding client deployment module to apex-pdp
Change-Id: Idd74e9846c3fa75d305a9dde98a98d92dd0520a9
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Jorge Hernandez [Wed, 11 Jul 2018 15:13:12 +0000 (15:13 +0000)]
Merge "Create docker image for apex-pdp"
Jorge Hernandez [Wed, 11 Jul 2018 14:53:12 +0000 (14:53 +0000)]
Merge "Change JNR and DOM4J license versions"
Pamela Dragosh [Tue, 10 Jul 2018 17:58:05 +0000 (17:58 +0000)]
Merge "Adding client monitoring module to apex-pdp"
liamfallon [Tue, 10 Jul 2018 16:23:11 +0000 (19:23 +0300)]
Change JNR and DOM4J license versions
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>
mmis [Tue, 10 Jul 2018 09:50:05 +0000 (10:50 +0100)]
Create docker image for apex-pdp
Issue-ID: POLICY-866
Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14
Signed-off-by: mmis <michael.morris@ericsson.com>
waqas.ikram [Tue, 10 Jul 2018 10:52:12 +0000 (11:52 +0100)]
Adding executor integration tests
Change-Id: I292315164fbfb3650f6d21ede6edb264a7fd8ee3
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Pamela Dragosh [Tue, 10 Jul 2018 12:46:38 +0000 (12:46 +0000)]
Merge "Fix apex-pdp logging issue"
Pamela Dragosh [Tue, 10 Jul 2018 12:46:04 +0000 (12:46 +0000)]
Merge "Change JRuby and Websocket version"
ramverma [Tue, 10 Jul 2018 10:26:13 +0000 (11:26 +0100)]
Fix apex-pdp logging issue
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>
Liam Fallon [Tue, 10 Jul 2018 09:49:50 +0000 (09:49 +0000)]
Merge "Fixing Multi JVM Tests and sonar bugs"
liamfallon [Tue, 10 Jul 2018 09:25:19 +0000 (12:25 +0300)]
Change JRuby and Websocket version
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>
ramverma [Fri, 6 Jul 2018 15:29:16 +0000 (16:29 +0100)]
Adding client monitoring module to apex-pdp
Change-Id: I6b4d00a5e49326f62f3585526ede8e89df99d7e5
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Mon, 9 Jul 2018 13:58:11 +0000 (09:58 -0400)]
Remove ECOMP from LICENSE.txt
Must have copy-pasted a previous LICENSE.
Issue-ID: POLICY-958
Change-Id: I79e76690edc700d3dc399b89d64295644a10fa73
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
waqas.ikram [Fri, 6 Jul 2018 15:37:36 +0000 (16:37 +0100)]
Fixing Multi JVM Tests and sonar bugs
Change-Id: I02df58695b44d5768410a0eaccb090cda7eb85ba
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Jorge Hernandez [Fri, 6 Jul 2018 13:41:22 +0000 (13:41 +0000)]
Merge "Fix Javadoc errors"
Jorge Hernandez [Fri, 6 Jul 2018 13:39:39 +0000 (13:39 +0000)]
Merge "Refactoring existing integration tests"
Jorge Hernandez [Fri, 6 Jul 2018 13:37:44 +0000 (13:37 +0000)]
Merge "Set Jersey to LF approved version"
liamfallon [Fri, 6 Jul 2018 12:38:08 +0000 (13:38 +0100)]
Fix Javadoc errors
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>
liamfallon [Fri, 6 Jul 2018 08:41:40 +0000 (09:41 +0100)]
Set Jersey to LF approved version
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>
waqas.ikram [Thu, 5 Jul 2018 17:57:02 +0000 (18:57 +0100)]
Refactoring existing integration tests
Change-Id: I1aedd94d5197b8c6513fc701e9df2aab4edec088
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Pamela Dragosh [Thu, 5 Jul 2018 11:56:11 +0000 (11:56 +0000)]
Merge "Remove new security vulnerability"
liamfallon [Wed, 4 Jul 2018 07:50:48 +0000 (08:50 +0100)]
Fix test failure due to wait timeout
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>
liamfallon [Wed, 4 Jul 2018 09:10:14 +0000 (10:10 +0100)]
Remove new security vulnerability
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>
liamfallon [Tue, 3 Jul 2018 14:19:52 +0000 (15:19 +0100)]
Remove JMS dependencies with license problems
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>
liamfallon [Tue, 3 Jul 2018 12:52:19 +0000 (13:52 +0100)]
Remove unnnecessary plugin from POM
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>
liamfallon [Wed, 27 Jun 2018 11:50:17 +0000 (12:50 +0100)]
Resolve JAXB license issue, use Eclipselink
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>
ramverma [Mon, 2 Jul 2018 16:03:37 +0000 (17:03 +0100)]
Fix the apex-pdp build issue
Change-Id: I50532314948d16432065dacbadb9d69d8ca49084
Issue-ID: POLICY-865
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Liam Fallon [Sat, 30 Jun 2018 21:24:37 +0000 (21:24 +0000)]
Merge "Adding integration test module"
Dinh Danh Le [Thu, 28 Jun 2018 11:05:08 +0000 (12:05 +0100)]
Fixing sonar bugs in package ..auth.clieditor
Change-Id: Ie0aa788ef9ea4e574c65928787c9be2ef72a6a61
Issue-ID: POLICY-862
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
waqas.ikram [Wed, 27 Jun 2018 15:16:42 +0000 (16:16 +0100)]
Adding integration test module
Change-Id: If94ff28724a31269cf20b32c43fa0790c3b2dac3
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Pamela Dragosh [Tue, 26 Jun 2018 14:09:14 +0000 (14:09 +0000)]
Merge "Upgrade version of Jython to remove vulnerability"
liamfallon [Tue, 26 Jun 2018 10:47:22 +0000 (11:47 +0100)]
Upgrade version of Jython to remove vulnerability
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>
liamfallon [Fri, 22 Jun 2018 02:18:44 +0000 (10:18 +0800)]
Fix vulnerabilities in dependencies
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>
Liam Fallon [Fri, 22 Jun 2018 01:35:35 +0000 (01:35 +0000)]
Merge "Adding Junit for plugins-persistence-jpa-hibernate"
Pamela Dragosh [Thu, 21 Jun 2018 19:28:17 +0000 (19:28 +0000)]
Merge "Fix JMS plugin vulnerability"
Pamela Dragosh [Thu, 21 Jun 2018 19:27:26 +0000 (19:27 +0000)]
Merge "Reduce level of vulnerability on JRuby plugin"
Dinh Danh Le [Thu, 21 Jun 2018 11:06:31 +0000 (12:06 +0100)]
Adding Junit for plugins-persistence-jpa-hibernate
Change-Id: Iacfffb1adebabe7c4f0f40d9c76b6bd3d503b283
Issue-ID: POLICY-862
Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
liamfallon [Thu, 21 Jun 2018 08:04:47 +0000 (16:04 +0800)]
Add unit test for apex pdp context schema
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>
liamfallon [Thu, 21 Jun 2018 03:40:18 +0000 (11:40 +0800)]
Reduce level of vulnerability on JRuby plugin
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>
liamfallon [Thu, 21 Jun 2018 02:45:48 +0000 (10:45 +0800)]
Fix JMS plugin vulnerability
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>
waqas.ikram [Mon, 18 Jun 2018 13:04:52 +0000 (14:04 +0100)]
Adding package module
Change-Id: I2513f00a3f49d4428470c173a717ccb9fbc49de5
Issue-ID: POLICY-863
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Pamela Dragosh [Tue, 19 Jun 2018 15:11:08 +0000 (15:11 +0000)]
Merge "Fix security vul'y in Curator Locking Plugin"
Pamela Dragosh [Tue, 19 Jun 2018 15:10:34 +0000 (15:10 +0000)]
Merge "Remove plexus utils vul'y from XML event plugin"
Pamela Dragosh [Tue, 19 Jun 2018 15:10:12 +0000 (15:10 +0000)]
Merge "Fix package name, Unit Test for Context Album"
liamfallon [Tue, 19 Jun 2018 06:53:02 +0000 (14:53 +0800)]
Remove plexus utils vul'y from XML event plugin
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>
liamfallon [Tue, 19 Jun 2018 03:31:44 +0000 (11:31 +0800)]
Fix security vul'y in slf4j-ext
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>
liamfallon [Tue, 19 Jun 2018 03:06:27 +0000 (11:06 +0800)]
Fix security vul'y in Curator Locking Plugin
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>
liamfallon [Mon, 18 Jun 2018 12:58:52 +0000 (20:58 +0800)]
Fix package name, Unit Test for Context Album
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>
liamfallon [Fri, 15 Jun 2018 07:56:44 +0000 (08:56 +0100)]
Removing SONAR issues from apex-pdp basic model
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>
liamfallon [Wed, 13 Jun 2018 15:50:59 +0000 (16:50 +0100)]
Add YAML plugin and cleanup for checkstyle
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>
ramverma [Tue, 12 Jun 2018 13:27:19 +0000 (14:27 +0100)]
Adding plugin-persistence module to apex-pdp
Change-Id: I68e16b1aad6e7b943439c207816479d151f672fb
Issue-ID: POLICY-862
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Liam Fallon [Tue, 12 Jun 2018 11:28:47 +0000 (11:28 +0000)]
Merge "Fixing Jenkins merge job test failure"
Liam Fallon [Tue, 12 Jun 2018 10:08:51 +0000 (10:08 +0000)]
Merge "Adding plugin-executor module to apex-pdp"
waqas.ikram [Tue, 12 Jun 2018 10:07:42 +0000 (11:07 +0100)]
Fixing Jenkins merge job test failure
Change-Id: Id9a83c9ea4f5189d6ba57e534540f3fd4f0141f3
Issue-ID: POLICY-859
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
ramverma [Mon, 11 Jun 2018 10:27:47 +0000 (11:27 +0100)]
Adding plugin-executor module to apex-pdp
Change-Id: I711eaaff3707aa6398c26f1a124fedeb1d0e11f4
Issue-ID: POLICY-862
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Mon, 11 Jun 2018 15:44:40 +0000 (15:44 +0000)]
Merge "Remove warnings from code"
waqas.ikram [Mon, 11 Jun 2018 11:04:33 +0000 (12:04 +0100)]
Fixing sonar bugs
Change-Id: I05a81755ce132810c9535babb7bae5b9b9e0bd60
Issue-ID: POLICY-859
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
liamfallon [Mon, 11 Jun 2018 09:06:54 +0000 (10:06 +0100)]
Remove warnings from code
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>
Liam Fallon [Fri, 8 Jun 2018 17:05:17 +0000 (17:05 +0000)]
Merge "Adding plugins-event module to apex-pdp"
ramverma [Fri, 8 Jun 2018 10:56:21 +0000 (11:56 +0100)]
Adding plugins-event module to apex-pdp
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>
waqas.ikram [Thu, 7 Jun 2018 15:01:35 +0000 (16:01 +0100)]
Fixing Sonar bugs and Vulnerabilities
Change-Id: Id5a95f23f1308dbb9f7f0c0f5567e238ecf830af
Issue-ID: POLICY-859
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Pamela Dragosh [Wed, 6 Jun 2018 15:35:49 +0000 (15:35 +0000)]
Merge "Adding services engine module"
Pamela Dragosh [Wed, 6 Jun 2018 15:34:30 +0000 (15:34 +0000)]
Merge "Remove checkstyle errors from generated code"
waqas.ikram [Wed, 6 Jun 2018 10:04:36 +0000 (11:04 +0100)]
Adding services engine module
Change-Id: I68bbe6d95d17cfcdda204d1ee3eec3b92d12ebd4
Issue-ID: POLICY-859
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
liamfallon [Wed, 6 Jun 2018 12:34:03 +0000 (13:34 +0100)]
Remove checkstyle errors from generated code
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>
waqas.ikram [Tue, 5 Jun 2018 15:18:01 +0000 (16:18 +0100)]
Adding apex plugins/plugins-context modules
Change-Id: I36fc295ffbd22661bf8bd091bfb20ebf6dcc7f5e
Issue-ID: POLICY-862
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
ramverma [Fri, 1 Jun 2018 10:51:36 +0000 (11:51 +0100)]
Adding apex core module to apex-pdp
Change-Id: I4bfe1df3e44fe62ff6789e813e59836e267ab3b2
Issue-ID: POLICY-858
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
waqas.ikram [Fri, 1 Jun 2018 13:23:01 +0000 (14:23 +0100)]
Adding apex auth modules
Change-Id: Iec210465636458f0c104c99893440706279062f0
Issue-ID: POLICY-860
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
waqas.ikram [Thu, 31 May 2018 17:02:59 +0000 (18:02 +0100)]
Fixing Sonar bugs and Vulnerabilities
Change-Id: I69c65d808133ac75d9f93aa0d63326ca8c67f839
Issue-ID: POLICY-856
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
waqas.ikram [Thu, 31 May 2018 13:49:38 +0000 (14:49 +0100)]
Fixing pluginExecutionFilter issue
Change-Id: Iece9be8e8bcaa0872e37e4bac7fd435c44a5bbe3
Issue-ID: POLICY-857
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
waqas.ikram [Thu, 31 May 2018 10:09:58 +0000 (11:09 +0100)]
Fixing Lifecycle Mapping Problem
Change-Id: I508f064c8f20a96d2eeeb67a4b7a05812e1e2152
Issue-ID: POLICY-857
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Jorge Hernandez [Wed, 30 May 2018 22:51:02 +0000 (22:51 +0000)]
Merge "Fixing Sonar bugs and code smells"
ramverma [Tue, 29 May 2018 14:25:49 +0000 (15:25 +0100)]
Adding apex context module
Change-Id: I1284c2ba4c41a9cf721e141e096d1021be599a2d
Issue-ID: POLICY-857
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
waqas.ikram [Wed, 30 May 2018 08:48:40 +0000 (09:48 +0100)]
Fixing Sonar bugs and code smells
Change-Id: I661cd409d01320fe11a29b7ea72b9e8f70e72a6c
Issue-ID: POLICY-856
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
waqas.ikram [Mon, 28 May 2018 09:58:07 +0000 (10:58 +0100)]
Adding policy-model, model-api & engine-model
Change-Id: I56702b8f0953457d493f894d155b2a6ddc87b10c
Issue-ID: POLICY-856
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
ramverma [Fri, 25 May 2018 10:55:45 +0000 (11:55 +0100)]
Adding apex event-model module
- Adding apex event-model module
- Fixing namespaces
Change-Id: If37a1773000ca99eb5d97703fdeb5788ce55365c
Issue-ID: POLICY-856
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>