{
"name" : "Test Repository",
"jndiName" : "jcr/Test Repository",
"monitoring" : {
"enabled" : true
},
"workspaces" : {
"default" : "defaultWorkspace",
"predefined" : ["otherWorkspace"],
"allowCreation" : true
},
"storage" : {
"cacheConfiguration" : "/path/to/infinispan/cache/configuration.xml",
"cacheName" : "Test Repository",
"transactionManagerLookup" : "org.infinispan.transaction.lookup.GenericTransactionManagerLookup",
"binaryStorage" : {
"minimumBinarySizeInBytes" : 4096,
"minimumStringSize" : 4096,
"type" : "file"
}
},
"security" : {
"jaas" : {
"policyName" : "modeshape-jcr"
}
"anonymous" : {
"roles" : ["readonly","readwrite","admin"],
"username" : "<anonymous>",
"useOnFailedLogin" : false
},
"providers" : [
{
"classname" : "org.example.MyAuthorizationProvider",
"member1" : "value of instance member1"
}
]
},
"query" : {
"enabled" : true,
"rebuildUponStartup" : "if_missing", //DEPRECATED use indexing/rebuildOnStartup,
"indexStorage" : {
"type" : "filesystem",
"location" : "/path/on/filesystem",
"lockingStrategy" : "simple",
"fileSystemAccessType" : "auto"
},
"indexing" : {
"rebuildOnStartup": {
"when" : "if_missing",
"includeSystemContent": true,
"mode": async
},
"threadPool" : "modeshape-workers",
"analyzer" : "org.apache.lucene.analysis.standard.StandardAnalyzer",
"similarity" : "org.apache.lucene.search.DefaultSimilarity",
"indexFormat" : "LUCENE_CURRENT",
"readerStrategy" : "shared",
"backend" : {
"type" : "lucene"
},
"batchSize" : -1,
"mode" : "sync",
"asyncThreadPoolSize" : 1,
"asyncMaxQueueSize" : 0
},
"extractors" : [MODE:ModeShape and JBoss AS7]
},
"sequencing" : {
"removeDerivedContentWithOriginal" : true,
"threadPool" : "modeshape-workers",
"sequencers" : [MODE:ModeShape and JBoss AS7] => /ddl"
},
{
"name" : "XSD sequencer",
"classname" : "xsd",
"pathExpressions" : [ "/(*.xsd)/jcr:content[@jcr:data]" ],
}
]
}
}