You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christian Stocker (Created) (JIRA)" <ji...@apache.org> on 2012/02/27 11:15:48 UTC

[jira] [Created] (JCR-3245) Make it possible to get multiple nodes by Identifier in one call via davex

Make it possible to get multiple nodes by Identifier in one call via davex
--------------------------------------------------------------------------

                 Key: JCR-3245
                 URL: https://issues.apache.org/jira/browse/JCR-3245
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr-server
            Reporter: Christian Stocker


Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.

Therefore I propose to add the possibility the get nodes directly by their UUIDs. A patch will implement that on top of JCR-3005 will follow soon.

--
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

        

[jira] [Commented] (JCR-3245) Make it possible to get multiple nodes by Identifier in one call via davex

Posted by "Christian Stocker (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217141#comment-13217141 ] 

Christian Stocker commented on JCR-3245:
----------------------------------------

Here's the first preview for a patch, it adds the possibility to add Identifiers via :id (in addition to  :include for absolute paths from the multi-get feature of JCR-3005)

https://github.com/jackalope/jackrabbit/compare/trunk...getNodesByIdentifier-remote

I'll add it as patch-file to this issue later
                
> Make it possible to get multiple nodes by Identifier in one call via davex
> --------------------------------------------------------------------------
>
>                 Key: JCR-3245
>                 URL: https://issues.apache.org/jira/browse/JCR-3245
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>            Reporter: Christian Stocker
>
> Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.
> Therefore I propose to add the possibility the get nodes directly by their UUIDs. A patch will implement that on top of JCR-3005 will follow soon.

--
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

        

[jira] [Commented] (JCR-3245) Make it possible to get multiple nodes by Identifier in one call via davex

Posted by "Christian Stocker (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217140#comment-13217140 ] 

Christian Stocker commented on JCR-3245:
----------------------------------------

I thought, this was already in JSR-333, but it wasn't. So I added an issue there

http://java.net/jira/browse/JSR_333-48


                
> Make it possible to get multiple nodes by Identifier in one call via davex
> --------------------------------------------------------------------------
>
>                 Key: JCR-3245
>                 URL: https://issues.apache.org/jira/browse/JCR-3245
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>            Reporter: Christian Stocker
>
> Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.
> Therefore I propose to add the possibility the get nodes directly by their UUIDs. A patch will implement that on top of JCR-3005 will follow soon.

--
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

        

[jira] [Updated] (JCR-3245) Make it possible to get multiple nodes by Identifier in one call via davex

Posted by "Christian Stocker (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Stocker updated JCR-3245:
-----------------------------------

    Attachment: JCR-3245.patch

Here's the patch as attachment
Tests still run through, in trunk and 2.4 branch

I didn't add any new tests, if someone could point me to where I should add them I could give it a try
                
> Make it possible to get multiple nodes by Identifier in one call via davex
> --------------------------------------------------------------------------
>
>                 Key: JCR-3245
>                 URL: https://issues.apache.org/jira/browse/JCR-3245
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>            Reporter: Christian Stocker
>         Attachments: JCR-3245.patch
>
>
> Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.
> Therefore I propose to add the possibility the get nodes directly by their UUIDs. A patch will implement that on top of JCR-3005 will follow soon.

--
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

        

[jira] [Updated] (JCR-3245) Make it possible to get multiple nodes by Identifier in one call via davex

Posted by "Christian Stocker (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Stocker updated JCR-3245:
-----------------------------------

    Description: 
Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.

Therefore I propose to add the possibility the get nodes directly by their UUIDs. 

  was:
Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.

Therefore I propose to add the possibility the get nodes directly by their UUIDs. A patch will implement that on top of JCR-3005 will follow soon.


Any chance to get this into trunk for the next "bigger" release? Would be great. Feedback would be very welcome
                
> Make it possible to get multiple nodes by Identifier in one call via davex
> --------------------------------------------------------------------------
>
>                 Key: JCR-3245
>                 URL: https://issues.apache.org/jira/browse/JCR-3245
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>            Reporter: Christian Stocker
>         Attachments: JCR-3245.patch
>
>
> Currently, it's not possible to get one or multiple nodes directly by UUID via davex. One has to do a REPORT call for each node to get the absolute path and then doing a multi-get request to get all those nodes. This is quite some overhead if you have (weak) reference lists with many entries.
> Therefore I propose to add the possibility the get nodes directly by their UUIDs. 

--
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