0

I am working on a Java solution which integrates with CMIS repositories. Having chosen OpenCMIS as my open source library, am trying to ensure all test scenarios are covered. I have explored few of the repositories (Alfresco, Chemistry InMemory, Chemistry Fileshare, OpenKM) and none of them seem to provide multiple repositories which I feel is required to be covered as a part of my testing.

Being more specific with the code, below works well with almost all repositories.

Repository soleRepository = sessionFactory.getRepositories(parameter).get(0);

But I want to know if any repository supports (or can be configured to support) this code: sessionFactory.getRepositories(parameter).get(1)

1
  • IIRC the Alfresco Cloud has one repo per network, so if you've got a developer key you could always try that for an Alfresco multi-repo setup
    – Gagravarr
    Commented Aug 28, 2014 at 10:12

1 Answer 1

3

There are many CMIS servers supporting more than one repository. SharePoint, FileNet, SAP Mobile Documents, ...

Even the OpenCMIS FileShare server supports more than one repository if you configure it. Just add the following lines to your repository.properties file and it will expose second repository:

repository.second = {user.home}
repository.second.readwrite = test, cmisuser
repository.second.readonly = reader
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.