This is an automated email from the ASF dual-hosted git repository.
jsinovassin pushed a change to branch backport/bound-mvel-caches-3.0.x
in repository https://gitbox.apache.org/repos/asf/unomi.git
discard b4aa48cef Bound the MVEL expression cache (unomi-3.0.x)
add 6a947e3b6 Deny public MVEL eval APIs from the scripting class loader
(#877)
add b1c48faab Bound diagnostic type tracking and the MVEL expression cache
(#879)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b4aa48cef)
\
N -- N -- N refs/heads/backport/bound-mvel-caches-3.0.x
(b1c48faab)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
manual/src/main/asciidoc/configuration.adoc | 23 +++-
.../main/resources/etc/custom.system.properties | 6 +-
package/src/main/resources/etc/mvel-forbid.json | 2 +-
.../apache/unomi/scripting/ExpressionFilter.java | 15 ++-
.../apache/unomi/scripting/MvelScriptExecutor.java | 59 +++++----
.../scripting/SecureFilteringClassLoader.java | 130 +++++++++++++++-----
.../internal/ExpressionFilterFactoryImpl.java | 19 ++-
.../unomi/scripting/ExpressionFilterTest.java | 46 +++++++
.../unomi/scripting/MvelScriptExecutorTest.java | 135 ++++++++++++++++++---
.../scripting/SecureFilteringClassLoaderTest.java | 118 ++++++++++++++++++
.../internal/ExpressionFilterFactoryImplTest.java | 87 +++++++++++++
11 files changed, 550 insertions(+), 90 deletions(-)
create mode 100644
scripting/src/test/java/org/apache/unomi/scripting/ExpressionFilterTest.java
create mode 100644
scripting/src/test/java/org/apache/unomi/scripting/SecureFilteringClassLoaderTest.java
create mode 100644
scripting/src/test/java/org/apache/unomi/scripting/internal/ExpressionFilterFactoryImplTest.java