Skip to content

Instantly share code, notes, and snippets.

@panghy
Created March 8, 2013 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save panghy/5114017 to your computer and use it in GitHub Desktop.
Save panghy/5114017 to your computer and use it in GitHub Desktop.
modeshape configuration in JSON from RepositoryConfiguration class
{
"name": "dshell",
"jndiName": "",
"monitoring": {
"enabled": true
},
"workspaces": {
"allowCreation": true,
"default": "default"
},
"storage": {
"cacheName": "dshell",
"transactionManagerLookup": "org.infinispan.transaction.lookup.JBossTransactionManagerLookup",
"cacheConfiguration": "content",
"binaryStorage": {
"type": "file",
"directory": "\/Volumes\/Work\/libs\/jboss-as-7.1.1.Final\/domain\/servers\/server-one\/data\/modeshape\/dshell\/dshell\/binaries"
}
},
"query": {
"indexing": {
"rebuildOnStartup": {
},
"backend": {
"type": "lucene"
},
"analyzer": "org.apache.lucene.analysis.standard.StandardAnalyzer",
"threadPool": "modeshape-indexing-workers",
"batchSize": -1,
"readerStrategy": "SHARED",
"mode": "SYNC",
"asyncThreadPoolSize": 1,
"asyncMaxQueueSize": 1
},
"indexStorage": {
"type": "filesystem",
"location": "\/Volumes\/Work\/libs\/jboss-as-7.1.1.Final\/domain\/servers\/server-one\/data\/modeshape\/dshell\/indexes"
}
},
"security": {
"jaas": {
"policyName": "modeshape-security"
},
"anonymous": {
"username": "<anonymous>",
"useOnFailedLogin": false
},
"providers": [
{
"classname": "servlet",
"name": "Authenticator that uses the Servlet context"
}
]
},
"clustering": {
"clusterName": "modeshape-dshell"
},
"garbageCollection": {
"threadPool": "modeshape-gc",
"initialTime": "00:00",
"intervalInHours": 24
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment