Hi,
i need to connect confluence to a jackrabbit jcr. all attachments should be uploaded in there. things like the confluence search should work as ussual.. i got a webservice running which provides interface to up / download and all the things i need to store and read data.
the main problem is, how to tell confluence to use this as its standard repository. i looked into the core sources, does somebody have experience with overloading the attachmentmanager? how would you start on this problem?
regards
Community moderators have prevented the ability to post new answers.
I've done this (and still in the middle of it in some ways) so happy to discuss with you. Confluence doesn't support this out of the box so you will need to modify a spring configuration file (attachmentSubsystemContext.xml) and supply some custom classes that will reside in WEB-INF/lib
One thing to think about is whether you are happy to have the attachment metadata still stored in Confluence or not. This means that only the actual data is stored elsewhere.
This can make it easier as less to implement I found. It involves then just providing a custom AttachmentDataDao (in our case, NonTransactionalAttachmentDataDao) implementor that will go off to your other repository to fetch/modify/delete the data. As Confluence doesn't know this, then all indexing/metadata access works as before.
Of course, you will need to consider the cases where the remote repository isn't available etc..
Sort of quick answer here, but happy to elaborate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.