aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-23Update policy-keystore with newer certificatesguilinjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia67cb1486a5625385a710c5f6c2b4325ca108820 (cherry picked from commit 84be367144149644c5090f72bc0e02d95ef5811c)
2021-01-26Add logs for REST request/response in APEXa.sreekumar5-16/+29
Change-Id: Ibf2cf19a1ec91473d8c655b87a712aa8738848c8 Issue-ID: POLICY-3003 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit de9bb70b25d498e844c2c6205061aa9e5e9d8d7a)
2021-01-18Add exception to logsRam Krishna Verma2-8/+8
Fixing the comments from previous review - https://gerrit.onap.org/r/c/policy/apex-pdp/+/116833 Issue-ID: POLICY-2885 Change-Id: I85474b365d92771e6e1b56bba95bde6e319d4ec2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 514e435b6ad37525d781b383081cd10c12c2ce46)
2021-01-15Avoiding unwanted logging in APEX during event processinga.sreekumar12-127/+52
Change-Id: If0c93bfea08025c6c10e3f4572a14088990f415f Issue-ID: POLICY-2885 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 5f233e2e307e5202bfe1f319185f0880d354cb67)
2021-01-15Merge "Prune superfluous log and exception messages" into guilinAjith Sreekumar10-50/+58
2021-01-14Removing duplicate logging of single response eventa.sreekumar1-4/+2
Change-Id: I88c8f2eea9cb295e422d20222df21a46ef84cd4e Issue-ID: POLICY-2885 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 65450784b137f50442fdf170a2358c3953560d1d)
2021-01-14Prune superfluous log and exception messagesgregory.hayes10-50/+58
Large volume exception messages should not be repeated in log messages or in rethrown exceptions. Jira-Link: https://jira.onap.org/browse/POLICY-2885 Issue-ID: POLICY-2885 Signed-off-by: gregory.hayes <gregory.hayes@est.tech> Change-Id: I345531d3a7640cc5ad9dbfc367052b9c8cc19387 (cherry picked from commit a3979b8a14f6e67de406b29c3e0ad0c516c3bc54)
2020-11-16Bump apex-pdp guilin to 2.4.5-SNAPSHOTJim Hahn81-81/+81
Issue-ID: POLICY-2893 Change-Id: Iff8121d10d3603e2071bc2f0978208fb9617331a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-11-16Release apex-pdp 2.4.4 docker7.0.0-ONAPJim Hahn1-0/+8
Issue-ID: POLICY-2893 Change-Id: I63133f408d2c289d9e172d3b9a6dc51d4a226d15 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-11-16Release apex-pdp 2.4.4 artifactsJim Hahn1-0/+5
Issue-ID: POLICY-2893 Change-Id: Ief5eed296b23b2f90edbfa1f6b453a5c12b4a1f5 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-11-16Merge "Update gRPC example for JSON Stringify" into guilinJim Hahn2-5/+48
2020-11-16Merge "Apex CLI editor closes standard input/output/error" into guilinJim Hahn1-2/+9
2020-11-16Apex CLI editor closes standard input/output/errorliamfallon1-2/+9
The Apex CLI editor closes its input and output when it completes. This is correct behaviour when the input and output are files. However, if the input and output are tied to standard input, output, and error then if there are subsequent actions in the JVM (Such as continuing to run Apex as we do in tests), then any output such as logging is lost. This fix checks for standard input/output/error before closing the input and output. Issue-ID: POLICY-2897 Change-Id: Ifa20b62511f770197f30c4a817212a92876dd6a6 Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit 17527ee82c63b8671224b3340e379e0bfcce6ba1)
2020-11-16Update vCPE example for JSON Stringifyliamfallon6-9/+30
The JSON.stringify() call in the Rhino Javascript interpreter is not working correctly. A previous patch introduced a method into the Apex execution context to provide an alternative method for stringifying JSON. This patch updates the vCPE example in apex to use that new method. Issue-ID: POLICY-2463 Change-Id: I85cc33dc4633b1b6f4c4db3d5ad8579c66d7c18c Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit da12c1c622ebc2304965ff1f646dc9783c5363c6)
2020-11-16Update gRPC example for JSON Stringifyliamfallon2-5/+48
The JSON.stringify() call in the Rhino Javascript interpreter is not working correctly. A previous patch introduced a method into the Apex execution context to provide an alternative method for stringifying JSON. This patch updates the gRPC example in apex to use that new method. Issue-ID: POLICY-2463 Change-Id: I7f789c000d53dec60020fda2a6fccd71ef18edc3 Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit fd5ee076b2ecf9fc5151090cf8a9b49fac6cf055)
2020-11-12Add method to allow JSON conversion to execution context for logicliamfallon5-63/+147
The Rhino JSON.Stringify() method does not work well. This patch allows the user to call schema specific or generic JSON conversion using the schema handling in Apex or not as the developer chooses. Added a single argument stringify2Json() method. Issue-ID: POLICY-2463 Change-Id: I9ec1e0dea2f6cd153b73b2eace63d8806674884d Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit 90bc246ffec30f7d97474d772d8bad73715cdd45)
2020-10-27Point to guilin branchRam Krishna Verma1-1/+1
Issue-ID: POLICY-2875 Change-Id: I228c3301562d11a0ac7c894791a7a31ed132451e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump apex-pdp to 2.4.4-SNAPSHOTa.sreekumar81-81/+81
Change-Id: I5e2cd92ee3620dea4070d9fa3aeb5ffd65f9412c Issue-ID: POLICY-2869 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-10-20Release apex-pdp 2.4.3 dockera.sreekumar1-0/+8
Change-Id: I08f7984cbc4f3b00f1720f21f27b6d019f90490e Issue-ID: POLICY-2869 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-10-20Release apex-pdp 2.4.3 artifactsa.sreekumar1-0/+5
Change-Id: I57e11b3993c2b97450ba8cd82872bcce466c2ee5 Issue-ID: POLICY-2869 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-10-20Point apex to models 2.3.5Pamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: I9880a3571da66390999f174ea2101a5e93280ac2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-16Merge "Remove apex asciidoc documents"Jim Hahn291-32377/+0
2020-10-16Remove apex asciidoc documentsliamfallon291-32377/+0
Apex documentation has now all been ported to use the ONAP recommended rst format. This review removes the old asciidoc documents. Issue-ID: POLICY-2824 Change-Id: I562bd344cb7d6ff36e7d54bdb8f95e3b656468f8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-10-08Bump apex-pdp to 2.4.3-SNAPSHOTRam Krishna Verma81-81/+81
Issue-ID: POLICY-2839 Change-Id: Ia7c847b3dafd28958d5df209af95cac19fa480a0 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Release apex-pdp 2.4.2 docker artifactsRam Krishna Verma1-0/+8
Issue-ID: POLICY-2839 Change-Id: I5b7ee8e97fd47896877e3eadc8ebb61e60b082fa Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Release apex-pdp 2.4.2 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-2839 Change-Id: I003109f4b999efaf57aba8a880f1800438baddf6 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-07Point to models 2.3.2 releaseRam Krishna Verma1-1/+1
Issue-ID: POLICY-2839 Change-Id: Icb05b2c63cf760f8b8e02731e235041d7430a06e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-05Remove legacy operational policy type from apex-pdpRam Krishna Verma7-14/+46
The legacy operational policy type for apex has been removed in Guilin release. Removing it fron supported policy type and other places in apex-pdp. Issue-ID: POLICY-2857 Change-Id: I41d58bf7e82292e11ff752f61dbe9be96a8a7af4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-28Fixing APEX eventName handling to avoid duplicate requestsa.sreekumar1-26/+48
Change-Id: I6ee50fb455424ae1f241b7a12d1cdbf0e6ee4011 Issue-ID: POLICY-2815 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-24update default keystoresjhh2-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7cde8197621ccc3d366baab952243c7b7894a29b
2020-09-17Cleanup related to removal of legacy format support in APEXa.sreekumar94-95/+2
This review basically just removes all "policyModelFileName" occurences which are not used anymore. Change-Id: Ibac8ec776dd989a5d677ff27a99eb7a36110773f Issue-ID: POLICY-2835 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I28b4c8acdef0302b6419a07c4445d60c398c4f73 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-10Bump APEX version to 2.4.2-SNAPSHOTa.sreekumar81-81/+81
Change-Id: Idde5050b425eb1bebe312e80e795c21513367a1b Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-10Release APEX docker 2.4.1a.sreekumar1-0/+8
Change-Id: Ief1025869ee480fe0d43063c2590d74c6de2c77d Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-10Release APEX maven 2.4.1a.sreekumar1-0/+5
Change-Id: I50a84d9abbb8563d1886f1ef199a79f1cc99b4ff Issue-ID: POLICY-2789 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-09Delete apex-client from packagingJim Hahn1-7/+1
The "stage-release" failed due to: 18:51:12 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (copy-fat-jars) on project apex-pdp-package-full: Unable to find/resolve artifact. Could not find artifact org.onap.policy.apex-pdp.client:apex-client-full:jar:full:2.4.1 in release-mirror (https://nexus.onap.org/content/repositories/public/) -> [Help 1] Removed it from the package, as it is no longer part of apex-pdp. Issue-ID: POLICY-2789 Change-Id: I4089096ab9668af33e885c70e140ce8fc1f51939 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Remove deleted dependency from apex-pdpJim Hahn1-5/+1
One of the poms refers to core-deployment, which has been deleted from apex-pdp. Deleted it from the pom. Issue-ID: POLICY-2789 Change-Id: Ie9d9265ad61808ca0d5dbf8ea3e772ac7348edbb Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-09Pointing to released common & modelsRam Krishna Verma1-2/+2
Issue-ID: POLICY-2789 Change-Id: Ibaaf533f79cf2bc98090b2933392945ef8bb06ef Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-09APEX standalone support for ToscaPolicy formata.sreekumar192-6904/+476542
Legacy format support is removed, and Tosca format support is added. Change-Id: I3cfc181ccb5471a5d224c0162af18c1fa0fdbc70 Issue-ID: POLICY-2812 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-08Merge "Remove client code from apex-pdp"Ram Krishna Verma157-44525/+40
2020-09-04point to 2.1.0 policy-alpine base - apexTaka Cho1-1/+2
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: Ieff7433ab0c85abca218032a0a3c91bb42081a80 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-09-04Remove client code from apex-pdpliamfallon157-44525/+40
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-09-03Merge "Sonar Bug fixes"Pamela Dragosh5-11/+11
2020-09-03Sonar Bug fixeswaynedunican5-11/+11
Removal of remaining bugs in apex-pdp Issue-ID: POLICY-2774 Change-Id: I370796e7c8a41c116155155c33176512e9e0cd91 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-09-03Clean up warnings and SONAR issuesliamfallon20-304/+245
Issue-ID: POLICY-2654 Change-Id: Ifd391ea9141d37cfd3ca4110d66c667962230ae1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-02Sonar Build Fixwaynedunican3-5/+5
Issue-ID: POLICY-2611 Change-Id: I125e2e4be8e8f3f5e8bb67b282c134a51f1cd255 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-09-01JavaScript Sonar Coverage setupwaynedunican4-0/+22
Sonar properties added to apex-pdp in order to pick up JavaScript coverage in SonarCloud Issue-ID: POLICY-2611 Change-Id: Ia9c5837bc18a34722437b2b299e85c6a8a67088d Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-26Update apex JRuby joni dependency for securityliamfallon1-2/+12
Issue-ID: POLICY-2799 Change-Id: Ifdc16e99093995665db61329f61455fc0f327386 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-24Correct directory permission check in apexliamfallon1-19/+27
Apex checked if the current directory is writable when it starts, it is corrected to just check that the directory is readable and executable. Issue-ID: POLICY-2791 Change-Id: I794f836cabfde0f6f78392b3c9e1de364d76e5f6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-08-18Merge "SONAR fixes - assert dissimiliar types"Ram Krishna Verma22-34/+27