Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5134

temporarily allow prefiltering test mode to be configured via an osgi config

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.5.14
    • 1.5.15, 1.6.0
    • jcr
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: