Netflix / archaius

Library for configuration management API
Apache License 2.0
2.46k stars 485 forks source link

Allow Configuration Source Updates #616

Closed mpaauw closed 1 year ago

mpaauw commented 3 years ago

Due to the issues raised in this discussion, it makes sense to allow the underlying property source to be modified or refreshed after it has already been initialized. Not allowing modification in the underlying source results in convoluted test setups, which can add both complexity and unnecessary execution time when requiring each test to run in a separate JVM in order to be able to change the underlying config source.

Simply giving public access to the DynamicProperty.updateProperty and DynamicProperty.updateAllProperties here should be sufficient.

rgallardo-netflix commented 1 year ago

V1 is no longer maintained.