Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://docs.jboss.org/infinispan/5.3/configdocs/

...

Repository Config Options

These configuration files are copied to WEB-INF/classes from fcrepo-configs/src/main/resources upon build.

...

.

...


...

 

/config/

...

clustered-

...

mysql/repository.json

  • Default configuration with servlet authentication enabled

    Configuration for clustered repositories with a centralized MySQL object store.

/config/

...

file-simple/repository.json

  • Default configuration with repository clustering enabled. By default, uses /config/infinispan/clustered/infinispan.xml persistence configuration.

Infinispan configurations

These configuration files are copied to WEB-INF/classes from fcrepo-configs/src/main/resources upon build.

/config/infinispan/leveldb-default/infinispan.xml

  • Default configuration with leveldb object storage

/config/infinispan/clustered/infinispan.xml

  • Example clustering configuration. Replicates object storage, distributes 2 copies of binary storage.

/config/infinispan/file/infinispan.xml

  • Configuration with filecachestore

/config/infinispam/ram/infinispan.xml

  • In-memory configuration for object storage (useful for testing)

Repository Config Options

Code Block
fcrepo.modeshape.index.directory:target/indexes
fcrepo.infinispan.configuration:config/infinispan/leveldb-default/infinispan.xml

Fedora 4 can be configured to use different Infinispan configurations. By default, Fedora 4 configurations use the leveldb-default configuration.

Code Block
fcrepo.ispn.repo.cache:target/FedoraRepository/storage
  • Configuration for file-based object store for testing, not recommended for production. 

 

/config/jdbc-mysql/repository.json 

 

  • Configuration for MySQL-based object store.

 

/config/fdbc-postgresql/repository.json

 

  • Configuration for PostgreSQL-based object store.

/config/servlet-auth/repository.json

  • Configuration with servlet authentication enabled.

Fedora 4 will store object properties to the configured backend datastoreFedora 4 will store object properties to fcrepo.ispn.repo.cache. These probably won't be very large, and should be stored on fast disk. The object properties are stored as binary JSON documents within the given cache store configuration.

Binary storage

Code Block
fcrepo.binary.directory:target/binaries
fcrepo.ispn.binary.cache:target/FedoraRepositoryBinaryData/storage

...

Fedora 4 stores binary content separately (to one of the above paths, depending on configuration). These files are stored hashed by the content SHA-1 hash. 

...