Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
7f2e296f
Commit
7f2e296f
authored
Jan 09, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new naming of ZConfig schema components.
parent
7f73797d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
57 deletions
+62
-57
src/ZODB/config.xml
src/ZODB/config.xml
+62
-57
No files found.
src/ZODB/config.xml
View file @
7f2e296f
<schema
type=
"database"
>
<schema
type=
"database"
prefix=
"ZODB.config"
>
<
sectiongroup
type=
"storage"
>
<
abstracttype
name=
"storage"
/
>
<sectiontype
type=
"filestorage"
datatype=
"ZODB.config.FileStorage"
>
<key
name=
"path"
required=
"yes"
/>
<key
name=
"create"
datatype=
"boolean"
default=
"true"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"false"
/>
<key
name=
"stop"
/>
<key
name=
"quota"
datatype=
"integer"
/>
</sectiontype>
<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"
/>
<key
name=
"stop"
/>
<key
name=
"quota"
datatype=
"integer"
/>
</sectiontype>
<sectiontype
type=
"mappingstorage"
datatype=
"ZODB.config.MappingStorage"
>
<key
name=
"name"
default=
"Mapping Storage"
/>
</sectiontype>
<sectiontype
name=
"mappingstorage"
datatype=
".MappingStorage"
implements=
"storage"
>
<key
name=
"name"
default=
"Mapping Storage"
/>
</sectiontype>
<sectiontype
type=
"fullstorage"
datatype=
"ZODB.config.BDBStorage"
>
<key
name=
"name"
required=
"yes"
/>
<key
name=
"interval"
datatype=
"time-interval"
default=
"2m"
/>
<key
name=
"kbyte"
datatype=
"integer"
default=
"0"
/>
<key
name=
"min"
datatype=
"integer"
default=
"0"
/>
<key
name=
"logdir"
/>
<key
name=
"cachesize"
datatype=
"byte-size"
default=
"128MB"
/>
<key
name=
"frequency"
datatype=
"time-interval"
default=
"0"
/>
<key
name=
"packtime"
datatype=
"time-interval"
default=
"4h"
/>
<key
name=
"classicpack"
datatype=
"integer"
default=
"0"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<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"
/>
<key
name=
"min"
datatype=
"integer"
default=
"0"
/>
<key
name=
"logdir"
/>
<key
name=
"cachesize"
datatype=
"byte-size"
default=
"128MB"
/>
<key
name=
"frequency"
datatype=
"time-interval"
default=
"0"
/>
<key
name=
"packtime"
datatype=
"time-interval"
default=
"4h"
/>
<key
name=
"classicpack"
datatype=
"integer"
default=
"0"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<!-- XXX Fred promises to make it so minimal storage is just an
extension of fullstorage -->
<sectiontype
type=
"minimalstorage"
datatype=
"ZODB.config.BDBStorage"
>
<key
name=
"name"
required=
"yes"
/>
<key
name=
"interval"
datatype=
"time-interval"
default=
"2m"
/>
<key
name=
"kbyte"
datatype=
"integer"
default=
"0"
/>
<key
name=
"min"
datatype=
"integer"
default=
"0"
/>
<key
name=
"logdir"
/>
<key
name=
"cachesize"
datatype=
"byte-size"
default=
"128MB"
/>
<key
name=
"frequency"
datatype=
"time-interval"
default=
"0"
/>
<key
name=
"packtime"
datatype=
"time-interval"
default=
"4h"
/>
<key
name=
"classicpack"
datatype=
"integer"
default=
"0"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<!-- XXX Fred promises to make it so minimal storage is just an
extension of fullstorage -->
<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"
/>
<key
name=
"min"
datatype=
"integer"
default=
"0"
/>
<key
name=
"logdir"
/>
<key
name=
"cachesize"
datatype=
"byte-size"
default=
"128MB"
/>
<key
name=
"frequency"
datatype=
"time-interval"
default=
"0"
/>
<key
name=
"packtime"
datatype=
"time-interval"
default=
"4h"
/>
<key
name=
"classicpack"
datatype=
"integer"
default=
"0"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<sectiontype
type=
"zeoclient"
datatype=
"ZODB.config.ZEOClient"
>
<multikey
name=
"server"
datatype=
"socket-address"
required=
"yes"
/>
<key
name=
"storage"
default=
"1"
/>
<key
name=
"cache_size"
datatype=
"integer"
default=
"20000000"
/>
<key
name=
"name"
default=
""
/>
<key
name=
"client"
/>
<key
name=
"var"
/>
<key
name=
"min_disconnect_poll"
datatype=
"integer"
default=
"5"
/>
<key
name=
"max_disconnect_poll"
datatype=
"integer"
default=
"300"
/>
<key
name=
"wait"
datatype=
"boolean"
default=
"on"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
<key
name=
"read_only_fallback"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<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"
/>
<key
name=
"name"
default=
""
/>
<key
name=
"client"
/>
<key
name=
"var"
/>
<key
name=
"min_disconnect_poll"
datatype=
"integer"
default=
"5"
/>
<key
name=
"max_disconnect_poll"
datatype=
"integer"
default=
"300"
/>
<key
name=
"wait"
datatype=
"boolean"
default=
"on"
/>
<key
name=
"read_only"
datatype=
"boolean"
default=
"off"
/>
<key
name=
"read_only_fallback"
datatype=
"boolean"
default=
"off"
/>
</sectiontype>
<sectiontype
type=
"demostorage"
datatype=
"ZODB.config.DemoStorage"
>
<key
name=
"name"
default=
"Demo Storage"
/>
<section
type=
"storage"
name=
"*"
attribute=
"base"
/>
<key
name=
"quota"
datatype=
"integer"
/>
</sectiontype>
<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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment