This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch bound-diagnostic-and-script-caches
in repository https://gitbox.apache.org/repos/asf/unomi.git
omit 9a4f6b65b Bound diagnostic type tracking and the MVEL expression cache.
omit 1ee5c319d Deny public MVEL eval APIs from the scripting class loader.
omit cdf479c2e Keep personalization fallback when mixed contents include a
script value.
omit ecb2b3c82 Write filtered personalization contents back onto the
request.
omit 81504c791 UNOMI-978: Gate cross-profile merge and systemProperties
writes on a trusted caller
add ab028177a UNOMI-982: Drop a condition whose optional parameter the
context does not supply (#864)
add aab6c9e5e Keep Jetty client types out of GraphQLWebSocketIT method
signatures (#882)
add 668a15fbf UNOMI-976: Restrict Groovy action upload to system
administrators (#852)
add ce3eff265 UNOMI-978: Gate cross-profile merge and systemProperties
writes on a trusted caller (#854)
add a51bf3c9e Write filtered personalization contents back onto the
request (#876)
add cf52160eb Deny public MVEL eval APIs from the scripting class loader
(#877)
new e683891d1 Bound diagnostic type tracking and the MVEL expression cache.
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 (9a4f6b65b)
\
N -- N -- N refs/heads/bound-diagnostic-and-script-caches
(e683891d1)
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.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
THREAT_MODEL.md | 5 +-
.../karaf-kar/src/main/feature/feature.xml | 2 +
extensions/groovy-actions/rest/pom.xml | 10 +
.../groovy/actions/rest/GroovyActionsEndPoint.java | 5 +
.../rest/GroovyActionsEndPointRoleTest.java} | 28 +--
.../services/impl/GroovyActionsServiceImpl.java | 23 +-
.../impl/GroovyActionsServiceImplTest.java | 49 ++++
...Action.groovy => fieldInitializerAction.groovy} | 22 +-
.../test/java/org/apache/unomi/itests/AllITs.java | 1 +
.../test/java/org/apache/unomi/itests/BaseIT.java | 17 ++
.../test/java/org/apache/unomi/itests/BasicIT.java | 7 +-
.../org/apache/unomi/itests/ContextServletIT.java | 4 +
.../apache/unomi/itests/CorePersistenceITs.java | 1 +
.../GroovyActionsEndpointRoleSecurityIT.java | 113 +++++++++
.../org/apache/unomi/itests/ProfileMergeIT.java | 20 +-
.../unomi/itests/PropertiesUpdateActionIT.java | 69 ++++--
.../unomi/itests/graphql/GraphQLWebSocketIT.java | 29 ++-
manual/src/main/asciidoc/builtin-event-types.adoc | 11 +-
manual/src/main/asciidoc/configuration.adoc | 28 ++-
.../asciidoc/migrations/migrate-3.0-to-3.1.adoc | 3 +-
manual/src/main/asciidoc/recipes.adoc | 6 +-
manual/src/main/asciidoc/samples/login-sample.adoc | 6 +-
.../main/resources/etc/custom.system.properties | 10 +-
.../ConditionESQueryBuilderDispatcher.java | 18 +-
.../ConditionOSQueryBuilderDispatcher.java | 18 +-
.../spi/conditions/ConditionContextHelper.java | 28 ++-
.../impl/ConditionEvaluatorDispatcherImpl.java | 15 +-
.../spi/conditions/ConditionContextHelperTest.java | 33 ++-
.../impl/ConditionEvaluatorDispatcherImplTest.java | 48 ++++
.../plugins/baseplugin/actions/IdentityTrust.java | 44 ++++
.../actions/MergeProfilesOnPropertyAction.java | 38 ++-
.../baseplugin/actions/UpdatePropertiesAction.java | 68 +++---
.../actions/ActionIdentityIntrusionTest.java | 271 +++++++++++++++++++++
.../actions/MergeProfilesOnPropertyActionTest.java | 44 +++-
.../actions/UpdatePropertiesActionTest.java | 88 +++++++
samples/login-integration/setup.sh | 6 +-
.../apache/unomi/samples/login/LoginServlet.java | 10 +-
.../unomi/samples/login/LoginServletTest.java | 149 +++++++++++
.../apache/unomi/scripting/MvelScriptExecutor.java | 59 +++--
.../scripting/SecureFilteringClassLoader.java | 14 +-
.../internal/ExpressionFilterFactoryImpl.java | 19 +-
.../unomi/scripting/MvelScriptExecutorTest.java | 72 +++++-
.../scripting/SecureFilteringClassLoaderTest.java | 27 ++
.../internal/ExpressionFilterFactoryImplTest.java | 87 +++++++
44 files changed, 1383 insertions(+), 242 deletions(-)
copy
extensions/{json-schema/services/src/main/java/org/apache/unomi/schema/api/ValidationException.java
=>
groovy-actions/rest/src/test/java/org/apache/unomi/groovy/actions/rest/GroovyActionsEndPointRoleTest.java}
(51%)
copy
extensions/groovy-actions/services/src/test/resources/META-INF/cxs/actions/{testSaveAction.groovy
=> fieldInitializerAction.groovy} (64%)
create mode 100644
itests/src/test/java/org/apache/unomi/itests/GroovyActionsEndpointRoleSecurityIT.java
create mode 100644
plugins/baseplugin/src/main/java/org/apache/unomi/plugins/baseplugin/actions/IdentityTrust.java
create mode 100644
plugins/baseplugin/src/test/java/org/apache/unomi/plugins/baseplugin/actions/ActionIdentityIntrusionTest.java
create mode 100644
scripting/src/test/java/org/apache/unomi/scripting/internal/ExpressionFilterFactoryImplTest.java