summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-06Merge "Adding native policy type to the config file in APEX"Pamela Dragosh1-1/+10
2019-12-06Merge "Point to release versions of policy/parent and policy/common"Pamela Dragosh1-2/+2
2019-12-06Point to release versions of policy/parent and policy/commonHOCKLA1-2/+2
Issue-ID: POLICY-1583 Change-Id: I5dd6f77991bd5e8419176ea4cba751f58c05d501 Signed-off-by: HOCKLA <ah999m@att.com>
2019-12-06Merge "Minor changes for new Eclipse checkstyle checks"Pamela Dragosh52-418/+533
2019-12-06Adding native policy type to the config file in APEXa.sreekumar1-1/+10
Change-Id: If8167c837d7d28ec9049b00ff6ca314eb4199930 Issue-ID: POLICY-2279 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-05APEX-PDP remove supported policy types from heartbeata.sreekumar2-8/+13
Change-Id: Iafd2e2625cfabd89480ca1807eb1607788b30899 Issue-ID: POLICY-2235 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-04Minor changes for new Eclipse checkstyle checksliamfallon52-418/+533
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-28Replace getCaononicalName() with getName() in code baseliamfallon45-308/+371
Issue-ID: POLICY-1861 Change-Id: Iccbdcbc5b5978305c56ab74c01a52a562697bee1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-26Reduce verbosity of logging during unit testliamfallon30-169/+194
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-26Merge "Fixing Junit test cases causing too much logs output during APEX build"Ram Krishna Verma2-2/+2
2019-11-26Merge "Update vCPE example for A&AI custom query"Ram Krishna Verma19-615/+375
2019-11-26Fixing Junit test cases causing too much logs output during APEX builda.sreekumar2-2/+2
Change-Id: If0ad9c6b3a0f19ff3711d6230eb64e0dca1c1ef1 Issue-ID: POLICY-2272 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-11-25Update vCPE example for A&AI custom queryliamfallon19-615/+375
The change in policy-models to use custom queries means that the named queries used in apex examples must be updated to use custom queries. This review is the second of two reviews to implement this change. This patch updates the policy and its associated tests to work with A&AI custom queries. Issue-ID: POLICY-2125 Change-Id: I6a5b90002e43272e3cf296158f09f91a0f6d6907 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-21Apex PDP change to add PDP groupa.sreekumar9-4/+36
Change-Id: I6cff921bdc65fe505c0b5e7dba94a6cf9aa3ba91 Issue-ID: POLICY-2234 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-11-21Update vCPE example for A&AI custom queryliamfallon3-36/+3914
The change in policy-models to use custom queries means that the named queries used in apex examples must be updated to use custom queries. This review is the first of two reviews to implement this change. I thcnages the A&AI simulator, which will allow the apex-pdp to build again. A further change will bring in the policy changes to get the example implementation fixed. Issue-ID: POLICY-2125 Change-Id: I833c351b43995e648288cdf1c87c0abbe7a671cc Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-15Fix JRuby interpreter shutdown issueliamfallon5-29/+59
The new version of JRuby fixes this issue. Also amended unit test to check for shutdown and immediate recreation of JRuby interpreter. Issue-ID: POLICY-1276 Change-Id: I723e0396985d3163b483e52fdaceb4b4fab7274b Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-14Retaining context in APEX Engine based on policies received in PdpUpdatea.sreekumar25-397/+390
Change-Id: I73fad5bf76ed6b4979f5ab76013f204ea82da30b Issue-ID: POLICY-2215 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-11-11Merge "Do not hardcode io.fabric8 plugin"Pamela Dragosh1-1/+0
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-11-07Fix vCPE example apex-pdp policyliamfallon11-103/+96
The changes in policy-models for appclcm had knock-on impacts on the apex-pdp example policies. This patch fixes the vCPE policy to comply with the new APPCLCM POJOs. Issue-ID: POLICY-2043 Change-Id: Ieebc2cf97a05efde560a2f5a819924ff63dfd695 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-05Merge "Fixing multiple policies with optional event fields fails execution ↵Pamela Dragosh2-4/+2
in APEX"
2019-11-04Use jersey dependencies from policy-endpointsliamfallon14-172/+18
There is no need to have Jersey dependencies in the PDP POMs as they are inherited from the policy-endpoints POM. Issue-ID: POLICY-2209 Change-Id: I5c53e7b29f4df25fd730f7a521e149e4ee70d964 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-04Fixing multiple policies with optional event fields fails execution in APEXa.sreekumar2-4/+2
Policy execution fails when multiple policy models are running and the policies have optional fields. Change-Id: Ifb1a45a25e3a88b8707fb8b76f8279b6ec0b91ce Issue-ID: POLICY-2211 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-11-01Add common Jersey versionliamfallon19-48/+18
Add a common version of Jersey for all Policy Framework components. Issue-ID: POLICY-2209 Change-Id: I6282bc9938cbb63ddf3bf85e488f7b6be0dbdfc3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-01Resolve mapping between TOSCA policies and APEX policy modelsa.sreekumar29-510/+1665
Change-Id: Ifaedc5074bcc51a5d495e342feae89b6a2aac1cf Issue-ID: POLICY-1626 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-10-31Use updated APPC model code in apex vcpe exampleliamfallon4-32/+46
The APPC implementation was changed in a recent review, this review fixes the apex vcpe example to use this new model. Also fixes an an issue in the CLI editor where escape characters are not now required in example JSON. Issue-ID: POLICY-2043 Change-Id: Id251948c9de27f73ba48cec498e68a43f71c4062 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-10-16replace grizzly server with policy common endpointHenry.Sun9-111/+162
Issue-ID: POLICY-1915 Change-Id: I8702a8b54e158dfd0ac08140ca083f14f23963a2 Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
2019-10-02Add example for creating apex policy in Tosca formata.sreekumar3-0/+311
Change-Id: I30e7d162a2aecdfe5c51e920b48d659130ae74e4 Issue-ID: POLICY-2127 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
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-25Fix typos in dependenciesliamfallon2-3/+4
Dependencies were spelt incorrectly in the dependency management section of the main apex-pdp POM. Issue-ID: POLICY-2115 Change-Id: I622dafe9f74b82dcc1c094eaee4ec113fe7f9c99 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-09-25Upgrade dependency versions for securityliamfallon2-9/+29
This change upgrades dependencies to versions that ve no or lesser security issues than the current versions. Issue-ID: POLICY-1644 Change-Id: Ib6dc8193c8da2547046791d82956019e0c741544 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-09-19Use snapshot version of models in apex-pdpjrh31-2/+2
Issue-ID: POLICY-2065 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I25dd66ed23a8b4269f95034b50a6b7d90e22c30d
2019-09-18Upgrade jquery to 3.4.1 in jquery-uiliamfallon1-2/+2
Jquery 3.3.1 is embedded in jquery-ui 1.12.1. This review replaces the embedded jquery with version 3.4.1. This change is to remove security vulnerabilities in jquery 3.3.1. Issue-ID: POLICY-2083 Change-Id: I132dd83d2fc5add7df9988e21c663c17c5993aeb Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-09-16Merge "Disable Jython Excutor for security"Liam Fallon8-24/+32
2019-09-14Disable Jython Excutor for securityliamfallon8-24/+32
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 masterjrh388-88/+89
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-09-09Release apex-pdp 2.2.25.0.0-ONAPPamela Dragosh1-0/+4
Releasing 2.2.2 Issue-ID: POLICY-2045 Change-Id: If6f76a203edb2e7c285c2f637f3361b20d5e150d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-09Upgrade to released artifactsPamela Dragosh1-3/+3
Released parent, common and models. Issue-ID: POLICY-2045 Change-Id: Ia812c58673a1e271a3cf84c6b78e7274ef126e62 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-03Enable https support in ApexRestServera.sreekumar8-74/+264
Enable https support in ApexRestServer by using the RestServer from policy-common Change-Id: I3dc8d88a499dfa9f0a82585a083526e236420c6e Issue-ID: POLICY-2016 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-08-27add unit test for tools-commonshaoqiu4-2/+150
Issue-ID: POLICY-1992 Change-Id: I6935b24b11ce62a18ae3d45795ff53cb4fa60f8b Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-08-22update keystorejhh2-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-22test case of model generatorning.xi5-0/+1093
Issue-ID: POLICY-1992 Change-Id: I90143d9903e0ada74dd9efba80aa6589b9f3dff4 Signed-off-by: ning.xi <ning.xi@est.tech>
2019-08-21Fix checkstyle warnings in apex-pdpliamfallon24-88/+86
Unit tests introduced some checkstyle warnings, this review resolves those warnings. Issue-ID: POLICY-1942 Change-Id: I16438621c1db0adfbe70bc8b237d05bd7cc72697 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-08-16Update version of Kafka for securityliamfallon1-1/+1
Issue-ID: POLICY-1882 Change-Id: Ic26b0f43c27473e83b3c7a38019078d4db398b25 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-08-13Merge "add JUnit test in client deployment and client full"Pamela Dragosh15-15/+1682
2019-08-13Merge "Fix copy&paste typo in KeyedMapDifference"Pamela Dragosh1-1/+1
2019-08-13Fix copy&paste typo in AxEvent.compareToArtem Naluzhnyy1-1/+1
Coverity-scan: CID-229652 Issue-ID: POLICY-1961 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I29fa25d0ead6930dd47a0eed17d2a4dd6e489ee6