Implementation of
ConfigurationSourceProvider which will try to locate configuration file
using 3 possibilities, in descending order of precedence
- Explicit System Property of form "stargate.configurationFile.${MODULENAME}" specifying
exact filename of the configuration file to use
- File "${CONFIG_NAME} (like
restapi-config.yaml -- same name as the default config
resource -- in the Current Working Directory: if found, will be used
- Classpath Resource with name "${CONFIG_NAME}"
(where "${MODULENAME}" and "${CONFIG_NAME} are passed as arguments; former typically being
something like
"restapi" (former) and
"restapi-config.yaml" (latter))