aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-05Adding Apex docs for Plugins moduleDinh Danh Le156-8/+5648
Change-Id: Icf68473b472a5896972de5b07b275682a77a1c9f Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-02Merge "Fixing sonar vulnerabilities in apex-pdp"Jorge Hernandez5-37/+38
2018-08-02Fixing sonar vulnerabilities in apex-pdpramverma5-37/+38
Changed the Console class to use logger only for printing stack trace, as the class is meant to be used for CLI usage. Changed the CLIParser to use Console class for printing messages. Changed the client-editor to be hosted on localhost by default, to follow the same what others clients (deployment, monitoring & client full) are doing. Change-Id: I6565b4b35a93b3708b926bfee04d79ead6b5346e Issue-ID: POLICY-954 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-31Adding first set of apex-pdp document changesramverma386-1/+24076
Adding document changes for auth, context, core, model, services & the main apex-pdp module. Change-Id: Id0d026baa258f1dc6998978f9911f3c4a73b5b3b Issue-ID: POLICY-867 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-30Adding examples-servlet module to apex-pdpramverma12-93/+8413
Adding examples-servlet module to demonstrate the capability that apex-pdp can be simply started as a servlet deployed in any application server. Change-Id: I5c9e323f1468cc14c6277c0037029679d00cd751 Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-30Merge "Add test case for plugin event carrier RESTServer"Jorge Hernandez1-14/+33
2018-07-30Merge "Fixing UI bug in apex-pdp client"Jorge Hernandez1-5/+5
2018-07-30Fixing UI bug in apex-pdp clientRonan Kenny1-5/+5
Minor change was needed in the .css file to correct a visual error. Change-Id: If84a95c079b34e3395da0864ba4009fbd13640c9 Issue-ID: POLICY-954 Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
2018-07-30Add test case for plugin event carrier RESTServerDinh Danh Le1-14/+33
Change-Id: Ia81a35e359c1f7072f4a39db871076d478dd7dab Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-954
2018-07-27Fixing sonar bugs in apex-pdpramverma1-4/+4
Sonar was complaining about direct comparision of double values. Changed the comparision to Double.compare(d1,d2). Change-Id: I3821924e606180626434d5bc41e29b9a8451a9b2 Issue-ID: POLICY-861 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-25Renaming examples in apex-pdpramverma166-16/+16
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>
2018-07-25Merge "Adding more examples to apex-pdp"Jorge Hernandez73-2/+4589
2018-07-25Adding more examples to apex-pdpramverma73-2/+4589
- 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>
2018-07-24Fix bug in APEX parameter serviceliamfallon4-8/+8
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>
2018-07-23Fix sonar bugs and vulnerabilities in apex-pdpramverma3-34/+46
Change-Id: I7ecabd3705de4a5352d5a98d1ab3a01677172651 Issue-ID: POLICY-954 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-07-19Adding examples module to apex-pdpramverma167-1/+25772
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>
2018-07-19Merge "Fix security vulnerability, upgrad jquery version"Jorge Hernandez8-23106/+8
2018-07-19Merge "Fix apex-pdp packaging issue"Jorge Hernandez3-6/+39
2018-07-19Fix security vulnerability, upgrad jquery versionliamfallon8-23106/+8
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>
2018-07-18Fix apex-pdp packaging issueramverma3-6/+39
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>
2018-07-18Refactoring Metrics testwaqas.ikram35-2135/+1534
Change-Id: I99290a3dec61b3ce0f4d5fd33d6b429d091b48ca Issue-ID: POLICY-954 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
2018-07-18Merge "Fix incorrect naming on context plugins"Jorge Hernandez103-101/+87
2018-07-18Fix incorrect naming on context pluginsliamfallon103-101/+87
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>
2018-07-17Merge "Set user in Dockerfile to apexuser"Jorge Hernandez1-3/+4
2018-07-17Merge "Refactor persistence JPA testing"Jorge Hernandez11-30/+350
2018-07-17Set user in Dockerfile to apexusermmis1-3/+4
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>
2018-07-16Adding tools module to apex-pdpramverma28-0/+3134
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>
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-14Adding client full module to apex-pdpramverma29-2/+16664
Change-Id: Id6e4e37b7740eeb3d83998e596c0c963c93e64f2 Issue-ID: POLICY-864 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
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