jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-5134) temporarily allow prefiltering test mode to be configured via an osgi config
Date Mon, 12 Dec 2016 14:37:01 GMT

     [ https://issues.apache.org/jira/browse/OAK-5134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davide Giannella closed OAK-5134.
---------------------------------

Bulk close for 1.5.15

> temporarily allow prefiltering test mode to be configured via an osgi config
> ----------------------------------------------------------------------------
>
>                 Key: OAK-5134
>                 URL: https://issues.apache.org/jira/browse/OAK-5134
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: jcr
>    Affects Versions: 1.5.14
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>            Priority: Trivial
>             Fix For: 1.5.15
>
>
> The prefiltering feature (of ChangeProcessor) currently has a System.property "{{oak.observation.prefilteringTestMode}}"
which allows turning on/off a so called _test mode_. In the test mode prefiltering is evaluated
but its result is not applied. Instead of applying, the prefiltering result (include vs exclude)
is compared to whether any event is actually delivered to the listener. If an event is delivered
and prefiltering result is _exclude_ then a log.warn is issued.
> While generally the System.property mechanism is slightly suboptimal, in this case it
makes testing in a broader (AEM) context more difficult. It would be useful to be able to
temporarily (ie until before 1.6) have an osgi config to turn this feature on or off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message