Jump to revision: | |
---|---|
Author: | pje |
Date: | Fri Jan 30 00:28:02 2004 UTC (20 years, 2 months ago) |
Log Message:
Added '[Named Services]' section parser to 'peak.ini'. This new section type functions almost identically to '[Component Factories]', except that the keys are property names rather than references to interfaces or other component keys. This should be helpful for configuring shared services that all implement the same interface, such as SQL connection objects. Note that to look up a named service, you simply use the appropriate property name, as usual. The difference is that you are guaranteed to always use the same *instance* of the service, within a given service area. Also, added 'ddt.SQLChecker()', which verifies SQL results against a test document. 'SQLChecker' makes use of the new "Named Services" feature in order to ensure it's accessing the database you intend to test (as opposed to say, the nearest SQL connection object).
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/TODO.txt | modified | X | (diff to previous) | |
PEAK/src/peak/config/ini_files.py | modified | X | (diff to previous) | |
PEAK/src/peak/ddt/processors.py | modified | X | (diff to previous) | |
PEAK/src/peak/peak.ini | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |