vyommani opened a new pull request, #1361: URL: https://github.com/apache/ranger/pull/1361
…itions (#1267) * RANGER-5813: Close script engines used for resource expressions * RANGER-5813: Close GraalJS bindings and share polyglot engine * RANGER-5813: Hide evaluator close from scripts and fix test style Backport notes for ranger-2.10: - Adapted to 2.10 formatting; GraalScriptEngineCreator keeps the existing buildContextBuilder() name (newContextBuilder() on master). - TestRangerScriptConditionEvaluator and TestGraalScriptEngineCreator do not exist on 2.10 (and GraalJS is not a test dependency), so only the RangerRequestExprResolverTest additions are ported (as JUnit 4). (cherry picked from commit 9a8d6b880126ec7e1e01206a9a020d2a6e3769ab) ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix. Create an issue in ASF JIRA before opening a pull request and set the title of the pull request which starts with the corresponding JIRA issue number. (e.g. RANGER-XXXX: Fix a typo in YYY)) ## How was this patch tested? (Please explain how this patch was tested. Ex: unit tests, manual tests) (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
