Commit 7f2e296f authored by Fred Drake's avatar Fred Drake

Update to new naming of ZConfig schema components.

parent 7f73797d
<schema type="database">
<schema type="database" prefix="ZODB.config">
<sectiongroup type="storage">
<abstracttype name="storage"/>
<sectiontype type="filestorage" datatype="ZODB.config.FileStorage">
<sectiontype name="filestorage" datatype=".FileStorage"
implements="storage">
<key name="path" required="yes"/>
<key name="create" datatype="boolean" default="true"/>
<key name="read_only" datatype="boolean" default="false"/>
......@@ -10,11 +11,13 @@
<key name="quota" datatype="integer"/>
</sectiontype>
<sectiontype type="mappingstorage" datatype="ZODB.config.MappingStorage">
<sectiontype name="mappingstorage" datatype=".MappingStorage"
implements="storage">
<key name="name" default="Mapping Storage"/>
</sectiontype>
<sectiontype type="fullstorage" datatype="ZODB.config.BDBStorage">
<sectiontype name="fullstorage" datatype=".BDBStorage"
implements="storage">
<key name="name" required="yes" />
<key name="interval" datatype="time-interval" default="2m" />
<key name="kbyte" datatype="integer" default="0" />
......@@ -29,7 +32,8 @@
<!-- XXX Fred promises to make it so minimal storage is just an
extension of fullstorage -->
<sectiontype type="minimalstorage" datatype="ZODB.config.BDBStorage">
<sectiontype name="minimalstorage" datatype=".BDBStorage"
implements="storage">
<key name="name" required="yes" />
<key name="interval" datatype="time-interval" default="2m" />
<key name="kbyte" datatype="integer" default="0" />
......@@ -42,7 +46,8 @@
<key name="read_only" datatype="boolean" default="off"/>
</sectiontype>
<sectiontype type="zeoclient" datatype="ZODB.config.ZEOClient">
<sectiontype name="zeoclient" datatype=".ZEOClient"
implements="storage">
<multikey name="server" datatype="socket-address" required="yes"/>
<key name="storage" default="1"/>
<key name="cache_size" datatype="integer" default="20000000"/>
......@@ -56,13 +61,13 @@
<key name="read_only_fallback" datatype="boolean" default="off"/>
</sectiontype>
<sectiontype type="demostorage" datatype="ZODB.config.DemoStorage">
<sectiontype name="demostorage" datatype=".DemoStorage"
implements="storage">
<key name="name" default="Demo Storage"/>
<section type="storage" name="*" attribute="base"/>
<key name="quota" datatype="integer"/>
</sectiontype>
</sectiongroup>
<!-- the rest is the actual configuration for the database -->
<section type="storage" name="*" attribute="storage"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment