/
repository.json
37 lines (37 loc) · 1.19 KB
/
repository.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name" : "repo",
"jndiName" : "",
"workspaces" : {
"predefined" : ["default"],
"default" : "default",
"allowCreation" : true
},
"clustering" : {
"clusterName" : "fcrepo-cluster",
"configuration" : "${fcrepo.jgroups.configuration:config/jgroups-fcrepo-tcp.xml}"
},
"storage" : {
"persistence": {
"type" : "db",
"connectionUrl": "jdbc:mysql://${fcrepo.mysql.host}:${fcrepo.mysql.port:3306}/fcrepo?createDatabaseIfNotExist=true",
"driver" : "com.mysql.jdbc.Driver",
"username" : "${fcrepo.mysql.username}",
"password" : "${fcrepo.mysql.password}"
},
"binaryStorage" : {
"type" : "file",
"directory" : "${fcrepo.binary.directory:nfs/binaries}",
"minimumBinarySizeInBytes" : 4096
}
},
"security" : {
"anonymous" : {
"roles" : ["readonly","readwrite","admin"],
"useOnFailedLogin" : false
},
"providers" : [
{ "classname" : "org.fcrepo.auth.common.BypassSecurityServletAuthenticationProvider" }
]
},
"node-types" : ["fedora-node-types.cnd"]
}