OK, that sounds fine in general, but I am still nervous about something
from the classpath being at the top of the list and therefore not
overridable.  I will file a follow up issue to move config.properties into
application config or something similar.
On Jun 25, 2013 12:13 AM, "allenxwang" <notifications@github.com> wrote:

> In
> archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java:
>
> >              indexForContainerConfig = config.getIndexOfConfiguration(defaultURLConfig);
> >          } catch (Throwable e) {
> >              logger.warn("Failed to create default dynamic configuration", e);
> >          }
> > -        if (!Boolean.getBoolean(DynamicPropertyFactory.DISABLE_DEFAULT_SYS_CONFIG)) {
> > -            SystemConfiguration sysConfig = new SystemConfiguration();
> > -            config.addConfiguration(sysConfig, DynamicPropertyFactory.SYS_CONFIG_NAME);
> > +        if (!Boolean.getBoolean(DISABLE_DEFAULT_ENV_CONFIG)) {
>
> Actually URL should have the highest priority, as it is the most dynamic
> one, which is backed by a URLConfigurationSource that polls every 30
> seconds. These have the same nature as the properties that are served by a
> service.
>
> The default config (config.properties) is just there as a start place.
> Note that you can define a series of additional URLs loaded by this
> configuration. We should really treat it as a dynamic configuration source.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Netflix/archaius/pull/115/files#r4860331>
> .
>