Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07B0C9E76 for ; Fri, 15 Jun 2012 14:46:43 +0000 (UTC) Received: (qmail 40726 invoked by uid 500); 15 Jun 2012 14:46:43 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 40656 invoked by uid 500); 15 Jun 2012 14:46:42 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 40643 invoked by uid 99); 15 Jun 2012 14:46:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 14:46:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BC28B1404B9 for ; Fri, 15 Jun 2012 14:46:42 +0000 (UTC) Date: Fri, 15 Jun 2012 14:46:42 +0000 (UTC) From: "Stefan Guggisberg (JIRA)" To: oak-dev@jackrabbit.apache.org Message-ID: <1668226050.18958.1339771602774.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1096023033.18754.1339767942547.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (OAK-142) MicroKernel API: returning the :hash property should be optional MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Guggisberg updated OAK-142: ---------------------------------- Summary: MicroKernel API: returning the :hash property should be optional (was: MicroKernel API: returning the :hash should be optional) > MicroKernel API: returning the :hash property should be optional > ---------------------------------------------------------------- > > Key: OAK-142 > URL: https://issues.apache.org/jira/browse/OAK-142 > Project: Jackrabbit Oak > Issue Type: Improvement > Reporter: Stefan Guggisberg > > the {{:hash}} property represents the content hash of node tree rooted at the property's parent node. > the {{:hash}} property is by default not included in the json tree returned by the {{getNodes(..)}} method but can be enabled by explicitly specifying it in the {{filter}} parameter. > returning the {{:hash}} property should be optional since it might be a too heavy requirement on some MicroKernel implementations. an implementation might e.g. choose to include the {{:hash}} property only on certain nodes or it might choose to not support it at all. > if however a {{:hash}} property is returned it has to obey the content hash contract, i.e. identical node trees must have identical {{:hash}} values and non-identical node trees must have different {{:hash}} values. -- 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