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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment