Class CconfigConfiguration
java.lang.Object
org.chenile.cconfig.configuration.CconfigConfiguration
Initialize all the Chenile config related services.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ApplicationContextprivate StringChenile Config will scan this path for all config JSONs.Pass all the modules whose values are needed in this instance of the config.Pass all the modules whose values are needed in this instance of the config. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_cconfigQueryService_(CconfigClient client) (package private) CconfigHealthCheckerserverCconfigClient(OrchExecutor<ConfigContext> cconfigOrchExecutor)
-
Field Details
-
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
-
customAttributes
-
applicationContext
-
-
Constructor Details
-
CconfigConfiguration
public CconfigConfiguration()
-
-
Method Details
-
dbBasedCconfigRetriever
-
cconfigOrchExecutor
- Throws:
Exception
-
serverCconfigClient
@Bean public CconfigClient serverCconfigClient(@Autowired OrchExecutor<ConfigContext> cconfigOrchExecutor) -
_cconfigQueryService_
@Bean public CconfigQueryService _cconfigQueryService_(@Autowired @Qualifier("serverCconfigClient") CconfigClient client) -
_cconfigService_
-
cconfigHealthChecker
-