Feature #2570
Feature #2555: Allow easy debugging of RSB configuration
Allow easy debugging of RSB configuration [Java]
Status: | Resolved | Start date: | 06/17/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Java | |||
Target version: | rsb-0.15 |
Associated revisions
Configuration debugging in rsb-java/src/main/java/rsb/util/ConfigLoader.java
fixes #2570
- rsb-java/src/main/java/rsb/util/ConfigLoader.java
(ConfigLoader::CONFIG_DEBUG_VARIABLE): new constant; name of
environment variable that enables configuration debugging
(ConfigLoader::DEBUG_INDENT_1): new constant; needed to shut up PMD
(ConfigLoader::DEBUG_INDENT_2): likewise
(ConfigLoader.debug): new member; controls configuration debugging
(ConfigLoader.ConfigLoader): set debug based on value of
environment variable named by CONFIG_DEBUG_VARIABLE
(ConfigLoader.load): added debug output
(ConfigLoader.loadFiles): likewise
(ConfigLoader.loadFileIfAvailable): likewise
(ConfigLoader.loadEnv): likewise - rsb-java/src/test/java/rsb/Utilities.java
(Utilities.createParticipantConfig): adapted to changed interface
History
#1 Updated by J. Moringen over 7 years ago
- Status changed from New to In Progress
- Assignee set to J. Moringen
#2 Updated by J. Moringen over 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-java|ffa60e08c53aa8b7874927421233dcefd7a28e8f.