"description":"The family this partition is part of. For example: 'public', 'admin', 'backoffice', 'web-service'... Each family gets its own frontend (=client-facing ip & port). It has no special meaning for the system.",
"default":"default",
"type":"string"
},
"instance-count":{
"description":"Number of Zopes to setup on this partition",
"default":1,
"type":"integer"
},
"thread-amount":{
"description":"Number of worker threads for each created Zope process",
"default":1,
"type":"integer"
},
"timerserver-interval":{
"description":"Timerserver tick perdiod, in seconds, or 0 to disable",
"default":5,
"type":"integer"
},
"longrequest-logger-interval":{
"description":"Period, in seconds, with which LongRequestLogger polls worker thread stack traces, or -1 to disable",
"default":-1,
"type":"integer"
},
"longrequest-logger-timeout":{
"description":"Transaction duration after which LongRequestLogger will start logging its stack trace, in seconds",
"default":1,
"type":"integer"
},
"port-base":{
"allOf":[{
"$ref":"#/definitions/tcpv4port"
},{
"description":"Start allocating ports at this value. Useful if one needs to make several partitions share the same port range (ie, several partitions bound to a single address)",
"default":2200
}]
},
"computer-guid":{
"description":"GUID of computer instance must be requested on",
"type":"string"
}
},
"type":"object"
}
},
"type":"object"
},
"frontend":{
"additionalProperties":false,
"properties":{
"software-url":{
"description":"Software URL of an existing frontend, no frontend will be requested if this value is empty",
"default":"",
"type":"string"
},
"instance-guid":{
"description":"Frontend's instance GUID, required if software-url is non-empty (not perfect: if frontend is moved and its instance GUID changes, you need to update this value)",
"type":"string"
},
"software-type":{
"description":"Frontend software type in given software relase",
"default":"RootSoftwareInsance",
"type":"string"
},
"domain":{
"description":"Domain name belonging to this instance",
"default":"",
"type":"string"
}
},
"default":{},
"type":"object"
},
"kumofs-computer-guid":{
"description":"GUID of computer instance must be requested on",
"description":"Maps an export identifier to its settings",
"patternProperties":{
".*":{
"properties":{
"storage-family":{
"description":"Opaque name used to regroup/separate mountpoints under different ZEO processes (must be valid as a file name and as a ConfigParser section name)",
"default":"default",
"pattern":"^[^<>:\"/\\|?*\\]\\[ ]*$",
"type":"string"
},
"mount-point":{
"description":"Traversal path export should be mounted at (opaque to this software type)",
"default":"/",
"pattern":"^[^<>:\"/\\|?*]*$",
"type":"string"
},
"cache-size":{
"description":"Client-side cache size in object count (opaque to this software type)",
"default":-1,
"type":"integer"
},
"storage-dict":{
"default":{},
"properties":{
"path":{
"description":"FileStorage file path, '%(zodb)s' occurrences are replaced with the path to partition's srv/zodb directory",
"default":"%(zodb)s/<export identifier>.fs",
"type":"string"
},
"client":{
"description":"Client-side settings for this mountpoint",
"description":"Values returned by ZEO instanciation",
"properties":{
"zodb-storage-type":{
"description":"zope.cfg-friendly storage type",
"enum":["zeoclient"],
"type":"string"
},
"zodb-dict":{
"description":"Maps an export identifier to values received as parameters",
"patternProperties":{
".*":{
"description":"Contains the mount-point, cache-size and client-dict received as parameters for current export identifier (client-dict's 'storage' and 'server' entries are overwritten with actual values)",