Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- 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>
|
|
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>
|
|
Change-Id: I7ecabd3705de4a5352d5a98d1ab3a01677172651
Issue-ID: POLICY-954
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
Change-Id: I99290a3dec61b3ce0f4d5fd33d6b429d091b48ca
Issue-ID: POLICY-954
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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
|
|
Change-Id: Id6e4e37b7740eeb3d83998e596c0c963c93e64f2
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
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>
|
|
|
|
|
|
Change-Id: I4817580bf53bbf46b6890b70d49c8a2edabca749
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
Change-Id: Idd74e9846c3fa75d305a9dde98a98d92dd0520a9
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
|
|
|
|
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>
|
|
Issue-ID: POLICY-866
Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Change-Id: I292315164fbfb3650f6d21ede6edb264a7fd8ee3
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
|
|
|
|
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>
|
|
|
|
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>
|
|
Change-Id: I6b4d00a5e49326f62f3585526ede8e89df99d7e5
Issue-ID: POLICY-864
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Must have copy-pasted a previous LICENSE.
Issue-ID: POLICY-958
Change-Id: I79e76690edc700d3dc399b89d64295644a10fa73
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Change-Id: I02df58695b44d5768410a0eaccb090cda7eb85ba
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
Change-Id: I1aedd94d5197b8c6513fc701e9df2aab4edec088
Issue-ID: POLICY-865
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I50532314948d16432065dacbadb9d69d8ca49084
Issue-ID: POLICY-865
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|