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

specify format and semantics of 'filter' parameter in MicroKernel API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • mk
    • None

    Description

      the following MicroKernel methods contain a 'filter' string parameter:

      • getJournal
      • diff
      • getNodes

      through the filter an API client could e.g. specify:

      • special 'meta' properties to be included (e.g. ":hash")
      • glob patterns on the names of properties/child nodes to be included/excluded
      • path filter (for getJournal and diff)

      format/detailed semantics TBD, here's an initial proposal (json):

       
      {
        "path" : "/some/path",
        "incl" : [ ":hash", "*" ],
        "excl" : [ "tmp*" ]
      }
      

      name filter patterns should ideally be the same
      format as specified for JCR Node.getNodes/getProperties.

      Attachments

        1. OAK-83.patch
          6 kB
          Stefan Guggisberg

        Issue Links

          Activity

            People

              stefan@jira Stefan Guggisberg
              stefan@jira Stefan Guggisberg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: