"description":"Instantiate a server. If missing, 'storage-dict' must contain the necessary properties to mount the ZODB. For ZEO, the partition reference is 'zodb'. For NEO, they are 'neo-0', 'neo-1', ...",
"description":"Storage configuration. For NEO, 'logfile' is automatically set (see https://lab.nexedi.com/nexedi/neoppod/blob/master/neo/client/component.xml for other settings).",
"description":"Storage configuration. For NEO, 'logfile' is automatically set (see https://lab.nexedi.com/nexedi/neoppod/blob/master/neo/client/component.xml for other settings).",
"properties":{
"properties":{
...
@@ -300,8 +281,39 @@
...
@@ -300,8 +281,39 @@
"type":"string"
"type":"string"
},
},
"type":"object"
"type":"object"
},
"type":true,
"server":true
},
"oneOf":[
{
"title":"zeo",
"properties":{
"type":{
"description":"Storage type",
"const":"zeo"
},
"server":{
"description":"Instantiate a server. If missing, 'storage-dict' must contain the necessary properties to mount the ZODB. The partition reference is 'zodb'.",
"$ref":"./instance-zeo-schema.json"
}
}
}
},
},
{
"title":"neo",
"properties":{
"type":{
"description":"Storage type",
"const":"neo"
},
"server":{
"description":"Instantiate a server. If missing, 'storage-dict' must contain the necessary properties to mount the ZODB. Partitions references are 'neo-0', 'neo-1', ...",