[ https://issues.apache.org/jira/browse/OAK-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg updated OAK-75: --------------------------------- 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): <pre> { "path" : "/some/path", "incl" : [ ":hash", "*" ], "excl" : [ "tmp*" ] } </pre> name filter patterns should ideally be the same format as specified for JCR Node.getNodes/getProperties. was: 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. > specify format and semantics of 'filter' parameter in MicroKernel API > --------------------------------------------------------------------- > > Key: OAK-75 > URL: https://issues.apache.org/jira/browse/OAK-75 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: mk > Reporter: Stefan Guggisberg > > 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): > <pre> > { > "path" : "/some/path", > "incl" : [ ":hash", "*" ], > "excl" : [ "tmp*" ] > } > </pre> > name filter patterns should ideally be the same > format as specified for JCR Node.getNodes/getProperties. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira