summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-14Updated examples for renamed parameter classesmmis26-59/+59
Parameter classes were renamed to correct camel case names, hence the references to those parameter classes in the example config files needs to be updated Issue-ID: POLICY-1034 Change-Id: Ie388d6e25cf4bbec6984d4386cdeb19a7a3916c0 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-09-13Sonar/Checkstyle in service/pluginsliamfallon257-2276/+3481
Sonar and Checkstyle changes in plugins and services, and knock on changes Issue-ID: POLICY-1034 Change-Id: Iff7df74e54fce2c661dcc2fae75ae93d4cacfe5b Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-12Sonar/Checkstyle in model/context/coreliamfallon112-1878/+1947
Checkstyle and sonar changes in the model, contexot and core modules. Issue-ID: POLICY-1034 Change-Id: I2d40bc877f3a548844470fc290fc89d63fa465ae Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-12Merge "Fix soft stop and start of engine"Pamela Dragosh7-118/+203
2018-09-12Fix soft stop and start of engineliamfallon7-118/+203
Stopping an apexc engine is a soft stop, allowing the engine to be restarted again. However, when a model upgrade is carried out the engine must be stopped and cleared to clear the previous model, loaded with the new model and started again. THis handling must work over the Web Socket admin interface and also when apex is started as a service. This change fixes the handling so that it is consistent and works the same when apex is stopped/started/upgraded from the command line or over the management web socket interface Issue-ID: POLICY-1101 Change-Id: I1fe619641cb6ecd34d0669b4b7df105280e5e2c0 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-12Fix build failsliamfallon3-2/+4
Apex end to end tests often fail because the tests are not tuned correctly for Jenkins. The JRuby test needs a delay to allow the first test to completely clear dowm The volume of events sent in the Kafka tests is reduced from 100 to 10 The dom4j version is also changed back to 1.6.1 because 1.6 has the same security issues. Issue-ID: POLICY-954 Change-Id: Id38bf9fe526942870181bfd9c0762f0a471c0c02 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-12Merge "Updated example config for CSIT test"Liam Fallon1-4/+4
2018-09-11Use parent version of websocketliamfallon2-2/+0
Two conflicting versions of the websocket library were being used, causing an exception to be thrown on apex shutdown. Using the common version of websocket solves this issue. Issue-ID: POLICY-954 Change-Id: Id1a004b1f09931b53ec389c776f74c58f7b29e99 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-11Merge "Fix install script/examples on apex"Pamela Dragosh6-17/+17
2018-09-11Merge "Checkstyle changes for apex model"Pamela Dragosh141-4005/+4366
2018-09-11Updated example config for CSIT testmmis1-4/+4
Changed the config for the CSIT test to use javascript instead of mvel and changed the REST server host to enable communication from outside the docker container Issue-ID: POLICY-1099 Change-Id: I6173545d70d6b83c86bbee132cf057985487a501 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-09-11Fix install script/examples on apexliamfallon6-17/+17
The install script for apex did not coreate the soft link for apex correctly. One of the example json files was named incorrectlu. Issue-ID: POLICY-954 Change-Id: If7923e2287aebb956bd4bc9ed4b26b23a40d048b Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-10Checkstyle changes for apex modelliamfallon141-4005/+4366
Fix checkstyle warnings in the apex mode and knock on changes. Issue-ID: POLICY-1034 Change-Id: I10537e4288e9cad5ef18165ed2cdc1d3ab3139c1 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-10Added config and model to examplesmmis2-0/+7086
Added a config and model file to examples to be used in CSIT test Issue-ID: POLICY-1099 Change-Id: Idbd3bf323b366273bca9a5472abcf528725b2f77 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-09-10Merge "Address level 4-6 security issues"Pamela Dragosh7-89/+96
2018-09-09Adding jacoco plugin to main pomramverma1-0/+81
Overriding jacoco plugin setting in main pom of apex-pdp to build cumulative coverage report at project level so that the same gets reflected in sonar dashboard Change-Id: Ia4272192dae3af73806ed1caf3186b537ef10df1 Issue-ID: POLICY-1034 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-09-08Address level 4-6 security issuesliamfallon7-89/+96
Remove commons-compress and chage version of dom4j Also fix checkstyle in affected modules Issue-ID: POLICY-1065 Change-Id: Id37e54a54997656674af37dfd924aec5f69e410a Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-07Parameter group fields must have gettersliamfallon31-203/+302
Modifications to apex parameters to include getters that follow naming conventions, and knock on changes. Also checkstyle fixes taken in modifified classes. Issue-ID: POLICY-1095 Change-Id: Iff5ccc7a069a4ec2b2b974ed9f5ed70a88692e00 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-06Fix package of apex examples and documentsliamfallon201-1218/+1759
The examples are not packaged correctly in the apex build and the client wars are missing The links and location of the documents are corrected. Some POM duplicate dependencies removed. Javadoc warnings removed. Issue-ID: POLICY-867 Change-Id: I555c29191c61c0a9887365d95005dbc584eddf04 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-05Fix checkstyle warnings in examplesDinh Danh Le23-167/+190
Change-Id: Iad533f3987792d8713426234f3277c1ef6b72284 Issue-ID: POLICY-1034 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com>
2018-09-04Merge "Fix checkstyle issues in apex model basic"Jorge Hernandez201-1511/+1535
2018-09-04Dependency version changes for securityliamfallon2-4/+4
Versions of Jython and hazelcast changed to more secure versions. Change-Id: Iad918705170846b8813512c4bd8087ba429f6e82 Issue-ID: POLICY-1065 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-04Fix checkstyle issues in apex model basicliamfallon201-1511/+1535
CHeckstyle issues in apex model basic and knock on changes in other apex modules. Issue-ID: POLICY-1034 Change-Id: I65823f5e2e344526abc74b0812877113acb056ec Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-08-31Use parameter service in apexliamfallon121-2117/+3267
Switch parameter handling in apex to use the ONAP PF common parameter service Change-Id: Id318d19c726b18b1a69c630fa81ca7d695355e9c Issue-ID: POLICY-954 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-08-27Fix checkstyle warning in tools & context packagesDinh Danh Le17-128/+180
Change-Id: I5b72c7a35d56296cd5053659a9d4c1e8f3b058be Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-23Add docs for the examples packageDinh Danh Le174-0/+14498
This review is big because it contains examples for the whole project. The big size is mainly due to the site.xml, logos and css files which are repeatedly created, and more aciidoc files are needed. The pom.xml files are changed properly. Change-Id: I42a94e4d898529f9249ef03de908c8b1a0142c7f Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-23Add docs for Testsuites packageDinh Danh Le36-3/+1292
Change-Id: I807ec0fe35775226b611567904a9ac4627b33775 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-22Add docs for client packageDinh Danh Le24-2/+866
Change-Id: I820e70463e1715a342d78fa9d413638068a05125 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-22Add docs for tools package & update main apex-pdpDinh Danh Le30-271/+2062
Change-Id: I2990157eb7bae51f7d38a652fd8dd488b7287cea Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-20Updating docs for Plugins moduleDinh Danh Le39-56/+892
Change-Id: Ia0837cf2f86c42eea71c3f71e8cd99d684912485 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-15Merge "Adding documentation for the packages module"Pamela Dragosh9-0/+381
2018-08-15Merge "Fix checkstyle warnings in core-engine module"Jorge Hernandez27-196/+265
2018-08-15Merge "Fix checkstyle warnings in context-test-utils"Jorge Hernandez21-30/+34
2018-08-14Fix checkstyle warnings in core-engine moduleDinh Danh Le27-196/+265
Change-Id: Ie79c88e21a3d1f4cd53fd678a7afcffe1c6c202c Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-14Fix checkstyle warnings in context-test-utilsDinh Danh Le21-30/+34
Change-Id: I6d6e7bdc19e4e90f5f0a31ac3c8f06514ac10264 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-14Adding documentation for the packages moduleDinh Danh Le9-0/+381
Change-Id: I51c9963aca8381559643123ae2664c25117e3bee Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-08-14Fix checkstyle warnings in the auth packageDinh Danh Le10-113/+103
Change-Id: I64f783d5325301862e2438ac5d22cfcc0a150579 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-14Fix checkstyle warnings in the client moduleDinh Danh Le41-198/+282
Change-Id: I3263a833cc9dd6d86afdf2ae53de0e53c92850c9 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-11Checkstyle the context-management packageDinh Danh Le14-96/+115
Change-Id: Ifc4fef920681f21b0a965ea55d9bb78785ec66f9 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-09Checkstyle the services-engine packageDinh Danh Le46-308/+399
Change-Id: I0d7fd6f867ba280953eb4fd0dc2a5ad1779fb045 Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-1034
2018-08-08Merge "Adding Apex docs for Plugins module"Pamela Dragosh156-8/+5648
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-03Use common components in apexliamfallon46-11712/+112
Common ResourceUtil class replaces specific one in APEX Managed dependency version clashes removed in POMs Dependency versions with security vulnerabilities changed for zookeeper kafka infinispan Change-Id: I3c4b367cb5556b2dc255ab62c84f85738165eb81 Issue-ID: POLICY-954 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
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>