1. 23 5月, 2019 1 次提交
  2. 21 5月, 2019 1 次提交
  3. 20 5月, 2019 1 次提交
  4. 19 5月, 2019 1 次提交
  5. 17 5月, 2019 1 次提交
  6. 11 5月, 2019 1 次提交
    • E
      config: PropertyResolver · 21cfdf9c
      elandau 提交于
      Further decouple Ribbon's config from a property source by introducing using a PropertyResolver abstraction.
      21cfdf9c
  7. 10 5月, 2019 2 次提交
    • E
      Add missing default values · 53516cdf
      elandau 提交于
      53516cdf
    • E
      config: custom types with valueOf · 7274de5e
      elandau 提交于
      Supporting collections and custom types with dynamic config requires a great deal of custom code.  This can be greatly simplified by supporting deserialization using a valueOf static method of any type.
      7274de5e
  8. 04 5月, 2019 1 次提交
    • E
      config: Decouple dynamic config reloading from archaius · 7f071169
      elandau 提交于
      **What?**
      - New AbstractReloadableClientConfig class that implements its own version of dynamic configuration loading.
      - Allow for default values to be picked up dynamically
      
      **Why?**
      This is part of the effort to completely decouple ribbon from archaius to reduce dependencies and allow for easier integration with other configuration sub systems
      7f071169
  9. 30 4月, 2019 1 次提交
    • E
      Deprecate config apis · 6d2c3931
      elandau 提交于
      **What?**
      - Deprecate all `DefaultClientConfigImpl` static defaults in favor of `CommonClientConfigKey` contain the default values
      - Deprecate `IClientConfig#[setProperty, withProperty, containsProperty, setProperty, getPropertyAsInteger, getPropertyAsString, getPropertyAsBoolean]` all of which are replaced by `get` and `set`.
      - Eliminate the awkward pattern of excessive conversion to and parsing of config string
      - Leverage Java8 Optional to simplify config loading code
      
      **Why?**
      This is part of a long needed cleanup to simplify configuration loading
      6d2c3931
  10. 26 4月, 2019 1 次提交
  11. 18 4月, 2019 1 次提交
  12. 19 3月, 2019 1 次提交
    • E
      configuration: Decouple static archaius · 8d9d700b
      elandau 提交于
      **Motivation**
      Ribbon makes heavy use of Archaius in a static manner for configuration.  This pattern couple Ribbon with legacy archaius and its dependencies and makes it hard to run tests in parallel. By decoupling from both archaius and statics users can now provide alternative configuration mechanisms as well as improve testability.
      
      **Changes**
      - Introduce a new DynamicPropertyRepository abstraction to decouple from Archaius specific APIs
      - For legacy support make the ArchaiusDynamicPropertyRepository discoverable via the service loader.
      - Allow a non-static DynamicPropertyRepository to be associated with a IClientConfig.  This is a bit of a hack but minimizes code changes.
      - Decouple all build.gradle dependencies from archaius, except for the ribbon-archaius subproject
      - Pick up @zone from DynamicPropertyRepository and NOT from archaius's DeploymentContext
      - Remove configuration for PollingServerListUpdater as it is not used and would always require static configuration
      8d9d700b
  13. 26 1月, 2019 1 次提交
  14. 25 1月, 2019 1 次提交
    • E
      **What?** · e90ef807
      elandau 提交于
      Decouple core library from archaius1
      
      **Why?**
      Archaius1 is a deprecated library that also promotes static access patterns.  This PR is a first step of many to first decouple the library.  Subsequent PRs will address static access patterns.
      
      **How?**
      - Upgrade from Java 1.7 to 1.8
      - Move all archaius specific code into ribbon-archaius
      - Static ClientConfigFactory discoverable via the ServiceLoader
      - Add default values to IClientConfigKey
      e90ef807