aboutsummaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-package-full/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Make apex-pdp dockerfile consistentdanielhanrahan1-7/+23
Make apex dockerfile consistent with other PF dockerfiles: Change apexuser to policy user Remove duplicate copy of examples directory Issue-ID: POLICY-4411 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iee7560cf3263d13d38cd829af9b0389cbc256f49
2022-07-13Remove debian packaging from apex-pdp builddanielhanrahan5-250/+0
Issue-ID: POLICY-4285 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I599d05d19d97c70c5339c554d469c4c79b4c420e
2022-02-03Remove direct DB Load/Save from apex-pdpliamfallon1-263/+0
This review is part of a series of reviews to move the apex-pdp state machine model to use the base model types in policy models. Persistence of policies for apex-pdp is now implemented in PAP and API. The historic direct load and save functionality for APEX policy state machine models to and from databases is no longer used and no longer supported. This revmoves the DAO code from apex-pdp and the associated handling and test code. The next review will remove the JPA annotations. Subsequent reviews will mvoe the mdoel across to use the policy models base model types. Issue-ID: POLICY-1820 Change-Id: Iabf034b40a413d32fe62091fe3446f52ec30d3af Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-27Remove references to MariaDB from resource fileswaynedunican2-25/+31
Issue-ID: POLICY-2086 Change-Id: If38af6a319211c96f8be94f32551dc00b91d6ed1 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-05-11Update the default logback.xml in APEX to log to STDOUTa.sreekumar1-0/+14
Update the default logback.xml to log to STDOUT, so that while running in standalone mode, logs can be seen easily. Change-Id: Ie0ccdbe11672c33723c920767ce14d1b26fa9762 Issue-ID: POLICY-3303 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-04-19Fix name of target-database property in persistence.xml filesktimoney1-22/+23
Updated property javax.persistence.target-database to eclipselink.target-database Removed tools/tools-common/testing.txt Added Modifications Copyright to headers Updated Postgres references to MySQL Updated user information Issue-ID: POLICY-3059 Change-Id: I42ad294458809c0a3dca4d3ce9dd1ae5a7daa417 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-04-07Use sh instead of ash in apex-pdpJim Hahn8-44/+40
Issue-ID: POLICY-3160 Change-Id: Ic48de952b5717e4f33d0eac47b41c41a2a97b883 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-19Delete keystores from apexJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: I9bb53fcb5887e73d661ec4c4083970630c61e5c1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia67cb1486a5625385a710c5f6c2b4325ca108820
2020-12-07move all bash to ash shell scripts - apexTaka Cho8-129/+200
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I4617223d4914820797f5ea121f75ee5f69a6ba40 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-09-24update default keystoresjhh1-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7cde8197621ccc3d366baab952243c7b7894a29b
2020-09-04Remove client code from apex-pdpliamfallon2-4/+0
Removal of the deployment and monitoring client from the apex-pdp as the functionality is replaced by the Policy Framework deployment using PAP and the Policy Framework monitoring GUI. Code in the engine proper that was used to administer apex-pdp over the Web Socket port is also removed, as this code was only used by the apex-pdp legacy GUIs. Issue-ID: POLICY-2621 Change-Id: Ib9fc4a667a4bc79377bb7b82fae6a2bd520a3e3d Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-05change shebang bash linejhh1-1/+1
The shebang line does not take flags causing container intialization problems. Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iac66922873ded0684232c23e3fa2ac6747a959ae
2020-08-04environment variables to support cert. store pathsjhh1-4/+7
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I746f1be50f7a85c0febddc9a92576bb2dbcd9a06
2020-07-15Renaming password variables to match with oomRossC2-6/+6
Issue-ID: POLICY-2633 Change-Id: If5df0e82ab4154f5e32cdc3a5080cb13264830aa Signed-off-by: RossC <ross.carter@est.tech>
2020-07-13Merge "Remove old documentation from build"Jim Hahn3-127/+0
2020-07-13Remove old documentation from buildliamfallon3-127/+0
apex-pdp had an in-line docuemntation build system built on asciidoc. It has proven to be very difficult to maintain and keep up to date and it is incompatible with the ONAP official RST/ReadTheDocs docuementation system. In the Dublin release, we converted the asciidoc documentation to RST format, and hae been updating the RST documentation since. The asciidoc docuemntation system is now so out of date that it is being removed. In this change, the "site" directory is removed from all modules in apex-pdp and a profile called "apexSite" is removed from the pom.xml file in all modules. Issue-ID: POLICY-2686 Change-Id: I645f3ed101159d356cd90e619cef791067ad5eb5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-09Allowing configuration of truststore passwordRossC2-6/+9
Issue-ID: POLICY-2633 Change-Id: Ic891ab55ded843e44b7998097949c1156c070657 Signed-off-by: RossC <ross.carter@est.tech>
2020-03-25Reduce size of client artifactsliamfallon5-142/+14
This change: - Removes separate packaging of the three clients - Reduces the size of the combined client by suppressing unused dependencies - Removes the Servlet code from the Docker packaging - Removes the client WARs from the docker package Issue-ID: POLICY-2443 Change-Id: If0a0c2dddc3f05f2815b84ae04fcc029b1c4fe08 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-17renew policy certs till 03/17/2021jhh1-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6bd157d80a0aa1604e634ec561ee76e8197e97df
2020-01-08Enabling logback file to be loaded using oom configmapa.sreekumar1-1/+6
Change-Id: I746ee57003175ae9e3f903ee3e5948ed1875dceb Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-04Minor changes for new Eclipse checkstyle checksliamfallon1-7/+11
The laest Eclipse checkstyle version 8.26.0 does more thorough checking and identified a number of small issues in the apex-pdp codebase. This review fixes those issues. Issue-ID: POLICY-1913 Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-26Reduce verbosity of logging during unit testliamfallon3-5/+5
Logging dialled back in logback.xml files and on ligging statements in unit test java code. Issue-ID: POLICY-2272 Change-Id: I3b9a46d8993b1571c8dc62687a9c136af46c1f51 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-10-25Temporarily enable trace in startup scriptjhh1-1/+1
No kubernetes logs are produced at start up. This will be used temporarily to trace execution of the initialization script. Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I14d326b4e2065effccb3226c64a78bc77169c41e
2019-10-17override cert storesjhh1-0/+10
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie48b9c322b5a643d3e5fa5a6125389c81cf31c96
2019-09-30Changing APEX PDP logging similar to other Policy componentsa.sreekumar1-64/+106
Change-Id: I73dcfd581f82b5aa633b1f777166cdd3fa7a3b93 Issue-ID: POLICY-2062 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-08-22update keystorejhh1-0/+0
Issue-ID: POLICY-1988 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I576cf60ef4915f9e79246c42f0dd90710a244f47 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-26Updating scripts to support APEX CLI Tosca editora.sreekumar4-0/+101
As per the new LifeCycle API, the policies are expected to be defined as a ToscaServiceTemplate. Hence, the Apex CLIEditor is extended to support the tosca way. Scripts to support these changes are added here. Change-Id: I1d9e9607af10cbb258d5c9994342cc4622962a23 Issue-ID: POLICY-1885 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-05-21update apexApps.sh to support JMX connectionHengye1-0/+5
Issue-ID: POLICY-1781 Change-Id: Ic0dba48c67048dbafd4e2efa106b466f4dd4ca81 Signed-off-by: Hengye <yehui.wang@est.tech>
2019-05-03Fix HTTPS configuration on PDP-Aliamfallon2-5/+18
This review enables HTTPS for health check on PDP-A Issue-ID: POLICY-1732 Change-Id: I139a4c3ba043f978d1a75ae560037f713def1c1f Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-15One year cert with new component namesjhh1-0/+0
Change-Id: Ia3025f2a0eada4f53623bb45d5849ceddf368925 Issue-ID: POLICY-1580 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-11Changes for packaging services-onappf and some refactoringa.sreekumar4-0/+123
1) Added the code for packaging PDP-A. 2) Updating the package names. 3) Updating the dependencies in services-onappf. Some dependencies can be removed as they are brought in while packaging. 4) Some other minor changes. Change-Id: Idf62d7854f3435806a9e8aa975138fbfd45e3ea8 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2018-12-19Add SSL keystore/truststore to Apex packageliamfallon4-1/+32
Issue-ID: POLICY-1222 Change-Id: I4409b88d1a9439492f9aac6c3b971bae7dc04b19 Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-11-20Refactor Apex benchmark testsliamfallon6-91/+257
Apex performance tests are refactored and reorganised to be all in the one place and to be coherent. A test REST server that can generate events in batches is introduced and this can be configured to respond to REST calls from Apex with various batch sizes that can be varied for performance tests. Actual performance tests are added for the various executors in Apex. Change-Id: I692b41e1e4451e821a618c64dead5cc8e9685d08 Issue-ID: POLICY-812 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-11-07Refactor unit test dataliamfallon42-9579/+0
There were many copies of test policies and examples strewn through the Apex unit tests. This change cleans up the unit tests so that a single version of all example policies is used in all tests. Also added a new relative file root command line parameter to Apex to allow the root of relative paths in configuration files to be set. Apologies for the size of this review but unfortunately all of this must be done in one shot. Issue-ID: POLICY-1252 Change-Id: Ibbb18fbf18e3897a1c61301d0a65e62bc643a0e9 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-27Add unit test for Apex command line toolsliamfallon2-4/+4
THere was no unit test for the command line tools. This review adds unit test and also fixes a few small bugs that showed up when uit test was run. Issue-ID: POLICY-1034 Change-Id: Ic19aacdb168fb5a6faa0cd83ed22ccfcedaa51f5 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-19Fix examples broken by checkstyle changesliamfallon13-21/+21
Checkstyle changes to some class names must be propgated into example configurations and name changes meant some examples were not being packaged. Issue-ID: POLICY-1034 Change-Id: I5485fc2ffc22c496bbae9465e1c3b09c4feade97 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
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/pluginsliamfallon2-2/+2
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-12Merge "Updated example config for CSIT test"Liam Fallon1-4/+4
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 apexliamfallon3-7/+7
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-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-06Fix package of apex examples and documentsliamfallon33-1609/+49
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-08-31Use parameter service in apexliamfallon3-97/+82
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-14Adding documentation for the packages moduleDinh Danh Le3-0/+127
Change-Id: I51c9963aca8381559643123ae2664c25117e3bee Signed-off-by: Dinh Danh Le <dinh.danh.le@ericsson.com> Issue-ID: POLICY-867
2018-07-30Adding examples-servlet module to apex-pdpramverma1-93/+101
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-25Adding more examples to apex-pdpramverma13-0/+1047
- 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-10Create docker image for apex-pdpmmis4-4/+4
Issue-ID: POLICY-866 Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-07-09Fixing Multi JVM Tests and sonar bugswaqas.ikram10-1/+1
Change-Id: I02df58695b44d5768410a0eaccb090cda7eb85ba Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>