[Subversion] / PEAK / src / peak / peak.ini  

Diff of /PEAK/src/peak/peak.ini

Parent Directory | Revision Log

version 1309, Fri Aug 1 22:24:30 2003 UTC version 1456, Sat Nov 22 00:02:52 2003 UTC
Line 111 
Line 111 
 XMLRPCRequest  = importString('peak.web.requests.XMLRPCRequest')  XMLRPCRequest  = importString('peak.web.requests.XMLRPCRequest')
   
   
   [peak.web.resource_packages]
   
   # Property names with true values under this namespace indicate packages that
   # are safe to publish resources from, e.g.:
   #
   #   peak.* = True
   #
   # would allow any data files in any peak.* package to be downloadable.  Be
   # careful what you define here.
   
 [peak.web.DOMlets]  [peak.web.DOMlets]
   
Line 118 
Line 127 
   
 text = importString('peak.web.templates.Text')  text = importString('peak.web.templates.Text')
 list = importString('peak.web.templates.List')  list = importString('peak.web.templates.List')
   url.*  = importString('peak.web.templates.URLTag')
   
   
 [peak.naming]  [peak.naming]
Line 153 
Line 162 
   
   
   
   
   
   
   
   
   
   
   
   
 [peak.naming.schemes]  [peak.naming.schemes]
   
 # This section defines naming context factories or URL.Base subclasses to  # This section defines naming context factories or URL.Base subclasses to
Line 177 
Line 177 
 ldap    = "peak.storage.LDAP:ldapURL"  ldap    = "peak.storage.LDAP:ldapURL"
 sybase  = "peak.storage.SQL:GenericSQL_URL"  sybase  = "peak.storage.SQL:GenericSQL_URL"
 pgsql   = "peak.storage.SQL:GenericSQL_URL"  pgsql   = "peak.storage.SQL:GenericSQL_URL"
   psycopg = "peak.storage.SQL:GenericSQL_URL"
   mockdb  = "peak.storage.SQL:GenericSQL_URL"
 gadfly  = "peak.storage.SQL:GadflyURL"  gadfly  = "peak.storage.SQL:GadflyURL"
 sqlite  = "peak.storage.SQL:SqliteURL"  sqlite  = "peak.storage.SQL:SqliteURL"
 cxoracle = "peak.storage.SQL:OracleURL"  cxoracle = "peak.storage.SQL:OracleURL"
Line 197 
Line 199 
 https   = "peak.naming.factories.openable:OpenableURL"  https   = "peak.naming.factories.openable:OpenableURL"
 file    = "peak.naming.factories.openable:FileURL"  file    = "peak.naming.factories.openable:FileURL"
 pkgfile = "peak.naming.factories.openable:PkgFileURL"  pkgfile = "peak.naming.factories.openable:PkgFileURL"
   icb     = "peak.net.icb:ICB_URL"
   
   
   
   tcp     = "peak.net.sockets.tcpudpURL"
   udp     = "peak.net.sockets.tcpudpURL"
   unix    = "peak.net.sockets.unixURL"
   unix.dg = "peak.net.sockets.unixURL"
   
 zconfig.schema = "peak.config.load_zconfig:ZConfigSchemaContext"  zconfig.schema = "peak.config.load_zconfig:ZConfigSchemaContext"
   shellcmd = "peak.naming.factories.shellcmd:ShellCommandCtx"
   
   
   # Data type conversion for database drivers
   
   [Sybase.sql_types]
   * = config.Namespace('peak.sql_types')
   
   [pgdb.sql_types]
   * = config.Namespace('peak.sql_types')
   
   [sqlite.sql_types]
   * = config.Namespace('peak.sql_types')
   
   [gadfly.sql_types]
   * = config.Namespace('peak.sql_types')
   
   [cx_Oracle.sql_types]
   * = config.Namespace('peak.sql_types')
   
   [DCOracle2.sql_types]
   * = config.Namespace('peak.sql_types')
   
   
   
   
   
   
   
   
   
   
   
 shellcmd = "peak.naming.factories.shellcmd:ShellCommandURL"  
   
   
 [peak.metamodels.mof1.3.writers]  [peak.metamodels.mof1.3.writers]
Line 227 
Line 268 
   
   
   
   [peak.running]
   
   # peak.running.mainLoop.signalHandler is used while the standard MainLoop runs
   mainLoop.signalHandler =
       importString('peak.running.scheduler:StopOnStandardSignals')(targetObj)
   
   # This setting only affects the 'UntwistedReactor'
   reactor.checkInterval = 3600    # if no scheduled tasks, do 1 select/hour
   
   
   
   
   
   
   
Line 266 
Line 307 
 # 'EventDriven' runs a 'running.commands.EventDriven' application, configured  # 'EventDriven' runs a 'running.commands.EventDriven' application, configured
 # via a ZConfig file using the 'peak.runnning/EventDriven.xml' schema.  This  # via a ZConfig file using the 'peak.runnning/EventDriven.xml' schema.  This
 # only supports PEAK built-in task types, so if you add your own task types  # only supports PEAK built-in task types, so if you add your own task types
 # you'll need to create a new schema and have it import EventDriven.xml.  # you'll need to create a new schema and have it extend EventDriven.xml.
 EventDriven =  EventDriven =
     naming.LinkRef('zconfig.schema:pkgfile:peak.running/EventDriven.xml')      naming.LinkRef('zconfig.schema:pkgfile:peak.running/EventDriven.xml')
   
Line 285 
Line 326 
   
   
   
   # PEAK versioning tool
   
   version-config =
       importString('peak.running.commands:Alias')(
           targetObj,
           command = [
               'runIni',
               config.fileNearModule('peak.running.tools.version','version.ini')
           ]
       )
   
   
   
 [peak.logs]  [peak.logs]
   
 # Routing for peak-supplied log messages - default is to log WARNING or  # Routing for peak-supplied log messages - default is to log WARNING or
Line 292 
Line 346 
   
 * = logs.LogStream(stream=importString('sys.stderr'), level=logs.WARNING)  * = logs.LogStream(stream=importString('sys.stderr'), level=logs.WARNING)
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 [Provide Utilities]  [Provide Utilities]
   
 # "Provide Utilities" sections define utilities by mapping from an import  # "Provide Utilities" sections define utilities by mapping from an import
Line 314 
Line 389 
   
 # Some similar services for peak.running:  # Some similar services for peak.running:
   
   peak.running.interfaces.ISignalManager =
       config.provideInstance('peak.running.process.SignalManager')
   
 peak.running.interfaces.IMainLoop =  peak.running.interfaces.IMainLoop =
     config.provideInstance('peak.running.scheduler.MainLoop')      config.provideInstance('peak.running.scheduler.MainLoop')
   
Line 326 
Line 404 
 peak.running.interfaces.ITwistedReactor =  peak.running.interfaces.ITwistedReactor =
     config.provideInstance('peak.running.scheduler.getTwisted')      config.provideInstance('peak.running.scheduler.getTwisted')
   
   
   
   
   
 [__main__]  [__main__]
 # The '__main__' namespace will be used by PEAK for global settings that  # The '__main__' namespace will be used by PEAK for global settings that
 # can be set either in the application's main startup script (i.e. the  # can be set either in the application's main startup script (i.e. the
Line 334 
Line 416 
 # namespace, so that anything not supplied by the startup script will  # namespace, so that anything not supplied by the startup script will
 # be supplied by the environment.  # be supplied by the environment.
   
 * = config.getProperty(  * = config.Namespace('environ.*')
         propertyMap, 'environ.'+propertyName.split('.',1)[1], default=NOT_FOUND  
     )  
   
 [Load Settings From]  [Load Settings From]
 # "Load Settings From" sections are processed in-line to load settings from  # "Load Settings From" sections are processed in-line to load settings from
Line 367 
Line 447 
         propertyMap, '__main__.PEAK_CONFIG', default=''          propertyMap, '__main__.PEAK_CONFIG', default=''
     ).split(importString('os.pathsep'))      ).split(importString('os.pathsep'))
   
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1309  
changed lines
  Added in v.1456

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help