Basic file-based LevelDB repository. Querying is ON.
The repository config file shown below is derived from /config/minimal-default/repository-basic.json.
Parameter | Suggested values | Notes |
---|---|---|
Modeshape configuration | minimal | Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json |
Infinispan configuration | basic | |
Is a federated component required? | No | |
Is a sequencing component required? | No | |
Is an authorization layer required? | No | |
Is versioning required? | No |
repository.json
{ "name" : "repo", "jndiName" : "", "workspaces" : { "predefined" : ["default"], "default" : "default", "allowCreation" : true }, "query" : { "enabled" : "${fcrepo.modeshape.query.enabled:true}", "indexStorage" : { "type" : "filesystem", "location" : "${fcrepo.modeshape.index.location:target/indexes}", "lockingStrategy" : "native", "fileSystemAccessType" : "auto" }, "rebuildUponStartup" : "if_missing", "indexing" : { "mode" : "${fcrepo.modeshape.query.mode:sync}" } }, "storage" : { "cacheName" : "FedoraRepository", "cacheConfiguration" : "${fcrepo.ispn.configuration:config/infinispan/leveldb-default/infinispan.xml}", "binaryStorage" : { "type" : "file", "directory" : "${fcrepo.binary.directory:target/binaries}", "minimumBinarySizeInBytes" : 4096 } }, "security" : { "anonymous" : { "roles" : ["readonly","readwrite","admin"], "useOnFailedLogin" : false }, "providers" : [ { "classname" : "org.fcrepo.http.commons.session.BypassSecurityServletAuthenticationProvider" } ] }, "node-types" : ["fedora-node-types.cnd"] }