[Zodb-checkins] CVS: Packages/ZConfig/tests/input - zope-allpopulated.conf:1.1.2.1 zope.xml:1.1.2.1

Chris McDonough chrism@zope.com
Thu, 19 Dec 2002 15:41:40 -0500


Update of /cvs-repository/Packages/ZConfig/tests/input
In directory cvs.zope.org:/tmp/cvs-serv28565/input

Added Files:
      Tag: zconfig-schema-devel-branch
	zope-allpopulated.conf zope.xml 
Log Message:
Checkpoint checkin (tests fail).


=== Added File Packages/ZConfig/tests/input/zope-allpopulated.conf ===
zope_home foo
instance_home bar
software_home foo/lib/python
client_home instance_home/var
debug_mode on
effective_user chrism
enable_product_installation on
#locale FR_fr
zserver_threads 4
python_check_interval 500
use_daemon_process on
zserver_read_only_mode off
pid_filename Z2.pid
lock_filename Z2.lock

<logger event>
  <handler>
    constructor ZConfig.tests.test_zopeschema.StreamHandler()
    formatter ZConfig.tests.test_zopeschema.Formatter()
  </handler>
  <handler>
    constructor ZConfig.tests.test_zopeschema.StreamHandler()
    formatter ZConfig.tests.test_zopeschema.Formatter()
  </handler>
</logger>

<logger trace>
  <handler>
    constructor ZConfig.tests.test_zopeschema.StreamHandler()
    formatter ZConfig.tests.test_zopeschema.Formatter()
  </handler>
</logger>

<logger access>
  <handler>
    constructor ZConfig.tests.test_zopeschema.StreamHandler()
    formatter ZConfig.tests.test_zopeschema.Formatter()
  </handler>
</logger>

structured_text_header_level 3
maximum_security_manager_stack_size 100
publisher_profile_file bleah
webdav_source_user_agents bloo
module Zope
cgi_environment_variable A 1
cgi_environment_variable B 2
dns_ip_address 127.0.0.1
ip_address 127.0.0.1
http_realm Zope
force_http_connection_close off

<http_server>
  port 8080
</http_server>

<ftp_server>
  port 8021
</ftp_server>

<fcgi_server>
  resource /foo/bar/fcgi.soc
</fcgi_server>

automatically_quote_dtml_request_data on
skip_authentication_checking on
skip_ownership_checking on
maximum_number_of_session_objects 1000
session_add_notify_script_path /flab
session_delete_notify_script_path /flab
session_timeout_minutes 20
suppress_all_access_rules on
suppress_all_site_roots on
database_quota_size 100
read_only_database off
zeo_client_name chris

<database>

  mount_point /
  db_class                       ZODB.DB
  cache_size                     5000
  pool_size                      7
  cache_deactivate_after         60
  version_pool_size              3
  version_cache_size             100
  version_cache_deactivate_after 10

  <storage>
    type FileStorage
    filename foo/bar
  </storage>

</database>

<database>

  <storage>
    type FileStorage
    filename foo/baz
  </storage>

  <storage>
    type FileStorage
    filename bar/baz
  </storage>

  mount_point /mount
  db_class ZODB.DB
  cache_size                     5000
  pool_size                      7
  cache_deactivate_after         60
  version_pool_size              3
  version_cache_size             100
  version_cache_deactivate_after 10

</database>


=== Added File Packages/ZConfig/tests/input/zope.xml ===
<schema prefix="ZConfig.tests.test_zopeschema">

  <!-- type definitions -->

  <sectiontype type="handler" datatype="null">
    <key name="constructor" datatype=".constructor" required="yes"/>
    <key name="formatter" datatype=".constructor"
         default="logging.Formatter()"/>
  </sectiontype>

  <sectiontype type="logger">
     <key name="level" datatype="logging-level" default="info"/>
     <multisection type="handler" attribute="handlers" name="*"/>
  </sectiontype>

  <sectiongroup type="server">

    <sectiontype type="http_server" handler=".http_server">
       <key name="port" datatype="port-number"/>
    </sectiontype>

    <sectiontype type="ftp_server" handler=".ftp_server">
       <key name="port" datatype="port-number"/>
    </sectiontype>

    <sectiontype type="webdav_source_server" handler=".webdav_source_server">
       <key name="port" datatype="port-number"/>
    </sectiontype>

    <sectiontype type="pcgi_server" handler=".pcgi_server">
      <key name="file" datatype="str"/>
    </sectiontype>

    <sectiontype type="fcgi_server" handler=".fcgi_server">
      <key name="resource" datatype="null"/>
    </sectiontype>

    <sectiontype type="monitor_server" handler=".monitor_server">
       <key name="port" datatype="port-number"/>
    </sectiontype>

    <sectiontype type="icp_server" handler=".icp_server">
       <key name="port" datatype="port-number"/>
    </sectiontype>

  </sectiongroup>

  <sectiongroup type="storage">

    <sectiontype type="filestorage" handler=".filestorage">
      <key name="file_name" datatype="str" required="yes"/>
      <key name="create" datatype="boolean"/>
      <key name="read_only" datatype="boolean"/>
      <key name="stop" datatype="str"/>
      <key name="quota" datatype="integer"/>
    </sectiontype>

    <sectiontype type="mappingstorage" handler=".mappingstorage">
      <key name="name" datatype="str" default="Mapping Storage"/>
    </sectiontype>

    <sectiontype type="clientstorage" handler=".clientstorage">
      <key name="addr" datatype="str" required="yes"/>
      <key name="storage" datatype="str" default="1"/>
      <key name="cache_size" datatype="integer" default="20000000"/>
      <key name="name" datatype="str" default=""/>
      <key name="client" datatype="str"/>
      <key name="debug" datatype="boolean"/>
      <key name="var" datatype="str"/>
      <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>

  </sectiongroup>

  <sectiontype type="database" datatype="null">

      <multisection type="storage" name="*" attribute="storages"/>

      <key name="mount_point" datatype="str"/>

      <key name="db_class" datatype="null" default="ZODB.DB"/>

      <key name="cache_size" datatype="integer" default="5000"/>

      <key name="pool_size" datatype="integer" default="7"/>

      <key name="cache_deactivate_after" datatype="integer" default="60"/>

      <key name="version_pool_size" datatype="integer" default="3"/>

      <key name="version_cache_size" datatype="integer" default="100"/>

      <key name="version_cache_deactivate_after" datatype="integer"
         default="10"/>

  </sectiontype>

  <!-- end of type definitions -->

  <!-- schema begins  -->

  <key name="zope_home" datatype="str"/>

  <key name="instance_home" datatype="str"/>

  <key name="software_home" datatype="str"/>

  <key name="client_home" datatype="str"/>

  <key name="debug_mode" datatype="boolean" default="on"/>

  <key name="effective_user" datatype="str"/>

  <key name="enable_product_installation" datatype="boolean" default="on"/>

  <key name="locale" datatype="locale"/>

  <key name="zserver_threads" datatype="integer" default="4"/>

  <key name="python_check_interval" datatype="integer" default="500"/>

  <key name="use_daemon_process" datatype="boolean" default="on"/>

  <key name="zserver_read_only_mode" datatype="boolean" default="off"/>

  <key name="pid_filename" datatype="str"/>

  <key name="lock_filename" datatype="str"/>

  <section type="logger" name="access"/>
 
  <section type="logger" name="event"/>

  <section type="logger" name="trace"/>

  <key name="structured_text_header_level" datatype="integer" default="3"/>

  <key name="maximum_security_manager_stack_size" datatype="integer"
       default="100"/>

  <key name="publisher_profile_file" datatype="str"/>

  <key name="webdav_source_user_agents" datatype="str"/>

  <key name="module" datatype="str"/>

  <multikey name="cgi_environment_variable" datatype="null"/>

  <key name="dns_ip_address" datatype="str"/>

  <key name="ip_address" datatype="str"/>

  <key name="http_realm" datatype="str" default="Zope"/>

  <key name="force_http_connection_close" datatype="boolean" default="off"/>

  <key name="default_servers" datatype="boolean" default="on"/>

  <multisection type="server" name="*" attribute="servers"/>

  <key name="automatically_quote_dtml_request_data" datatype="boolean"
     default="on"/>

  <key name="skip_authentication_checking" datatype="boolean"
     default="off"/>

  <key name="skip_ownership_checking" datatype="boolean"
     default="off"/>

  <key name="maximum_number_of_session_objects" datatype="integer"
     default="1000"/>

  <key name="session_add_notify_script_path" datatype="str"/>

  <key name="session_delete_notify_script_path" datatype="str"/>

  <key name="session_timeout_minutes" datatype="integer"
     default="20"/>

  <key name="suppress_all_access_rules" datatype="boolean"
     default="off"/>

  <key name="suppress_all_site_roots" datatype="boolean"
     default="off"/>

  <key name="database_quota_size" datatype="null"/>

  <key name="read_only_database" datatype="boolean"/>

  <key name="zeo_client_name" datatype="str"/>

  <multisection type="database" name="*" attribute="databases"/>

  <!-- schema begins  -->

</schema>