Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

OpenCMIS FileShare Repository

This repository is not indented intended for production use!

The FileShare repository uses the file system as its back-end store and provides read/write access to content and metadata. In other words, it puts a CMIS interface on top of your file system.

...

  1. Build OpenCMIS.
  2. A ready-to-use WAR file should now exist in /chemistry-opencmis-server/chemistry-opencmis-server-fileshare/target.
  3. Deploy the WAR file to your favorite servlet engine.
  4. AtomPub endpoint: http://<host>:<port>/<context>/atom
    Web Services endpoint: http://<host>:<port>/<context>/services/RepositoryService

Configure the Repository

The configuration file in the WAR file is /WEB-INF/classes/repository.properties.

No Format
# Don't touch this line
class=org.apache.chemistry.opencmis.fileshare.ServicesFactoryFileShareServiceFactory

# Login configuration
#  login.<no> = <user>:<password>
login.1 = test:test
login.2 = cmisuser:password
login.3 = reader:reader

# Type defintions (see example-type.xml)
#  type.<no> = <absolute path to type definition XML file>
type.1 = /home/cmistest/type1.xml
type.2 = /home/cmistest/type2.xml

# Repository configuration
#  repository.<repositoryId> = <absolute path to repository root folder>
#  repository.<repositoryId>.readwrite = <comma separated list of login names>
#  repository.<repositoryId>.readonly = <comma separated list of login names>
repository.test = /home/cmistest/myreproot 
repository.test.readwrite = test, cmisuser
repository.test.readonly = reader