Class CconfigConfiguration

java.lang.Object
org.chenile.cconfig.configuration.CconfigConfiguration

@Configuration public class CconfigConfiguration extends Object
Initialize all the Chenile config related services.
  • Field Details

    • configPath

      @Value("${chenile.config.path:org/chenile/config}") private String configPath
      Chenile Config will scan this path for all config JSONs. All configs are expected to be of the form {module}.{key}.
      A JSON file module.json file must exist in this path.
      It should contain "key" at the root level. See test cases for more info.
    • modules

      @Value("${chenile.config.modules:}") private List<String> modules
      Pass all the modules whose values are needed in this instance of the config.
    • customAttributes

      @Value("${chenile.config.customAttributes:}") private List<String> customAttributes
      Pass all the modules whose values are needed in this instance of the config.
  • Constructor Details

    • CconfigConfiguration

      public CconfigConfiguration()
  • Method Details