summaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2020-03-25Reduce size of client artifactsliamfallon6-217/+19
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-23Adding example for APEX gRPC plugin for CDS interactiona.sreekumar1-0/+23
Change-Id: I8361eb0cbe74c3548ca98f3005bc37f5a1f91747 Issue-ID: POLICY-2436 Signed-off-by: a.sreekumar <ajith.sreekumar@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-03-05Adding gRPC plugin to dependencies in APEXa.sreekumar1-2/+6
Change-Id: Iee8fdca9f23b432188a61054fe177283fdddc1ba Issue-ID: POLICY-1656 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
policy/docker is released. Issue-ID: POLICY-2378 Change-Id: If3ed5a595f9e6138c18ed8d7386e07a776d7c903 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-06Updating module names to resolve conflictsRam Krishna Verma3-14/+14
Issue-ID: POLICY-2355 Change-Id: I67f0ca2ced9cbe37a3d00d9f312101e756454107 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-01-23Run apex-pdp in Java 11: base changesliamfallon1-22/+33
This change brings in the minimum changes to get apex-pdp running in Java 11. Other reviews will bring in changes to remove Java 11 warnings and to convert apex-pdp Javascript handling from the now deprecated nashorn engine. Issue-ID: POLICY-1581 Change-Id: I879bbae08d4e67aca3f1bfeedeca639d8dbbc281 Signed-off-by: liamfallon <liam.fallon@est.tech>
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>
2020-01-06Changing ownership of configuration files in APEXa.sreekumar1-2/+3
Default user when logging into APEX container is apexuser. Updating the ownership of configuration files such as logback.xml and key files so that these can be updated at runtime. Change-Id: Icf21e0b408d3b4ef829e1b1c5505f142a7d08adc 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-11-22Build tar.gz without requiring docker image buildjhh1-0/+3
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5c4aa52b6cd599b3b4a8f537d927631a14036dfc
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this plugin defined Issue-ID: POLICY-2222 Change-Id: I2cc318e0f46f1ae9b9bda23a160c6db55003eca9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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-09-16Merge "Disable Jython Excutor for security"Liam Fallon1-2/+3
2019-09-14Disable Jython Excutor for securityliamfallon1-2/+3
The Jython interpreter pulls in many dependencies that are flagged as having security problems. We will disable Python support in apex-pdp until Frankfurt, users can compile from source if they wish to re-enable python support. Issue-ID: POLICY-1509 Change-Id: I84215ba8d1009cb7af99cd98ba19008fdff5c378 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-09-12Bump version in apex-pdp masterjrh33-3/+3
Also added defaultbranch to the .gitreview file to make it easier to change it when apex-pdp is branched in the future. Issue-ID: POLICY-2045 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: Ib2570fd395aae38862299f2193b07ab06e32ace5
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-08-07Bump version of apex-pdpjrh33-3/+3
Issue-ID: POLICY-1965 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: Icd437f10c4d991030652ffa1abf48b7b5738145c
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-06-28Bump apex-pdp to 2.2.1-SNAPSHOTPamela Dragosh3-3/+3
Released 2.2.0 Issue-ID: POLICY-1737 Change-Id: I144a3c07d3eaf8c53d339eecedf2b3d8d3ce3c7e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-19Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar4-65/+132
Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ia3c7c2d6b77d87848c344f212f4a0266db90426e
2019-06-06Removing rpm build option from apex-pdpramverma1-153/+2
Removing the commented rpm profile from pom of apex-pdp-package-full as the rpm build is no longer needed. Also, in ONAP build servers the rpm package is missing which leads to build failure. However, I have created a wiki under Policy R5 collboration area to document the steps needed to generate a rpm build if needed in fture. Change-Id: Ie3703f7bcf7b07d23c2d9de813583c29ea2af720 Issue-ID: POLICY-1121 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-06-04Fix apex docker chmodjrh31-1/+1
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the apex docker file to use "755" instead. Issue-ID: POLICY-1829 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I99faa8a31e92243bcc28207afba40b2b680ba1bf
2019-06-03Remove POLICY_APEX_PDP_HOME in Dockerfileshaoqiu1-7/+6
To use POLICY_HOME not POLICY_XXX_HOME Issue-ID: POLICY-1702 Change-Id: I145164f662d2d0fdd94875e8bcacd4f7a669309a Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-05-30Bump apex-pdp to version 2.2.0Jim Hahn3-3/+3
Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Iba1c6a80917a37cc63e2250a32df40046df9ee4f
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-16Step snapshot version of apex-pdpliamfallon3-3/+3
Issue-ID: POLICY-1630 Change-Id: I6dfce7eb33d9bc41caabf6b8842377b486de672d Signed-off-by: liamfallon <liam.fallon@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-05-01Fix docker version for Apexliamfallon1-1/+1
Docker build is breaking, version of base alpine set in this review. Changed to use version 1.4.0. Issue-ID: INT-997 Change-Id: Icacb31e1fa9abef29930507fab7d53af125588e3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-30Rebase image on policy-base-alpineDmitry Puzikov1-15/+26
Issue-ID: INT-997 Change-Id: I1a39eaf9cc0fc546eafde10d0b81a90ed5d32b13 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-16Merge "ONAP BBS: Apex Nomadic ONT Policy Implementation"Pamela Dragosh1-0/+23
2019-04-16Merge "One year cert with new component names"Pamela Dragosh1-0/+0
2019-04-16Fix Security and Unit Test DB issuesliamfallon1-10/+0
This review removes more links to the Zookeeper version 3.5.4-beta with Zookeeper version 3.4.14. It also replaces the Derby in-memory database with the H2 in memory database for unit tests. Issue-ID: POLICY-1540 Change-Id: Ic44f2e866644114b7c0cf66aac7e528017b8206b 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-15ONAP BBS: Apex Nomadic ONT Policy Implementations003703461-0/+23
Issue-ID: DCAEGEN2-1237 Change-Id: I81831f6498b6c47c0a43215e0445c791b12dac6e Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
2019-04-11Changes for packaging services-onappf and some refactoringa.sreekumar5-1/+137
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>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+2
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk. Added some other libraries to aid when debugging. Change-Id: I80ba6a4e145f107219f4380da1cb90ede5ccc056 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-28Use Alpine as base docker imageHengye1-13/+5
change docker base image from ubuntu 16.04 to Alpine 3.9 Issue-ID: POLICY-1555 Change-Id: Ia21f5e8185bd26f4b04276eed204ac358f655a59 Signed-off-by: Hengye <yehui.wang@est.tech>
2018-12-19Add SSL keystore/truststore to Apex packageliamfallon5-2/+33
Issue-ID: POLICY-1222 Change-Id: I4409b88d1a9439492f9aac6c3b971bae7dc04b19 Signed-off-by: liamfallon <liam.fallon@est.tech>
2018-11-20Refactor Apex benchmark testsliamfallon7-93/+278
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-12Clean up eclipse and document warningsliamfallon1-1/+1
Parent versions in some POMs only called on the test profile were incorrect Warnings in Eclipse on POM including from outside its project are fixed Some checkstyle fixes Some javadoc warnings fixed Issue-ID: POLICY-954 Change-Id: I640bc842dc79a9fa580015abb9a76c84a7845efe 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-10-31Set new master version for Dublinliamfallon3-12/+7
Issue-ID: POLICY-1232 Change-Id: If43c40e9e13bd9387e2b6ee876717f8413a17e34 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-10-24Fix refering to snapshot in policy/apex-pdp2.0.1ramverma3-3/+3
Issue-ID: POLICY-1213 Change-Id: I9187462aa470cff6ca7adc750c8a666bf8e15429 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-10-19Add utility packages to Apex docker imageliamfallon1-0/+1
Add zip/curl/ping/vi to the image for debugging Issue-ID: POLICY-812 Change-Id: I31b156aedd1500ef0ae50a45354f033b057dc7e4 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-09-27Add missing example policy models to installliamfallon1-0/+27
The policy models for the decision maker, periodic, and vCPE examples were not included in the install because the policy model json files are generated from CLI commands. THis review installs the generated policy models. Issue-ID: POLICY-954 Change-Id: Ie2076ddfb6199dac0c8b272de8d7c47f1652485e 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>