Enhancement #916
Factor out configuration cascade to RSC
Status: | Resolved | Start date: | 03/02/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | C++ | |||
Target version: | rsb-0.9 |
Description
ParticipantConfig and logging configuration need the same cascade of files to read from. However, this is currently tightly integrate in ParticipantConfig.
Extract the common cascade we use (to RSC) and let a method provide a list of ConfigFileSources. PArticipantConfig and logging configuration just iterate over this list.
Related issues
Associated revisions
Use rsc::config::configure for logging, participant configs
fixes #916
- src/rsb/Factory.cpp: in Factory constructor, use
rsc::config::configure instead of configureSubsystem; removed
configureSubsystem - src/rsb/ParticipantConfig.{h,cpp}: removed fromFile,
fromEnvironment, fromConfiguration - test/rsb/ParticipantConfigTest.cpp: construct ConfigFileSource
objects manually instead of using fromFile - test/rsb/FactoryTest.cpp: do not test any assumptions regarding the
default configuration
Use rsc::config::configure for logging, participant configs
fixes #916
- src/rsb/Factory.cpp: in Factory constructor, use
rsc::config::configure instead of configureSubsystem; removed
configureSubsystem - src/rsb/ParticipantConfig.{h,cpp}: removed fromFile,
fromEnvironment, fromConfiguration - test/rsb/ParticipantConfigTest.cpp: construct ConfigFileSource
objects manually instead of using fromFile - test/rsb/FactoryTest.cpp: do not test any assumptions regarding the
default configuration
History
#1 Updated by J. Moringen almost 12 years ago
- Target version changed from rsb-0.7 to rsb-0.9
#2 Updated by J. Moringen over 11 years ago
- Status changed from New to In Progress
- Assignee set to J. Moringen
#3 Updated by J. Moringen over 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-cpp|commit:c3c4f0c666487d285f1135545edc150fee5e5906.