Feature #2570

Feature #2555: Allow easy debugging of RSB configuration

Allow easy debugging of RSB configuration [Java]

Added by J. Moringen almost 8 years ago. Updated over 7 years ago.

Status:ResolvedStart date:06/17/2016
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Java
Target version:rsb-0.15

Associated revisions

Revision ffa60e08
Added by J. Moringen over 7 years ago

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

Also available in: Atom PDF