Class FileConfigurationSource

java.lang.Object
com.github.cafapi.common.config.source.CafConfigurationSource
com.github.cafapi.common.config.sources.file.FileConfigurationSource
All Implemented Interfaces:
ConfigurationMetricsReporter, ConfigurationSource, HealthReporter, ManagedConfigurationSource

public class FileConfigurationSource extends CafConfigurationSource
This is a ConfigurationProvider that reads from a local disk file. If the bootstrap parameter config.path is set, it will read the config files from the specified directory, otherwise it will use the working dir. If retrieving the configuration class "TestConfiguration", using the ServicePath /a/b, it will expect the file to be called "cfg_a_b_TestConfiguration".