archaius
archaius copied to clipboard
Library for configuration management API
Affected version: archaius-core v0.7.6 Minimal example to reproduce the issue: ```java package com.example; import com.netflix.config.ConfigurationManager; import com.netflix.config.DynamicPropertyFactory; public class App { public static void main( String[] args ) throws Exception...
``` Caused by: java.lang.IllegalAccessException: access to public member failed: com.mypackage.MyInterface.getSomething()Set/invokeSpecial, from com.mypackage.MyInterface/2 (unnamed module @5a5c1ce0) at java.base/java.lang.invoke.MemberName.makeAccessException(MemberName.java:914) at java.base/java.lang.invoke.MethodHandles$Lookup.checkAccess(MethodHandles.java:2193) at java.base/java.lang.invoke.MethodHandles$Lookup.checkMethod(MethodHandles.java:2133) at java.base/java.lang.invoke.MethodHandles$Lookup.getDirectMethodCommon(MethodHandles.java:2282) at java.base/java.lang.invoke.MethodHandles$Lookup.getDirectMethodNoSecurityManager(MethodHandles.java:2276) at java.base/java.lang.invoke.MethodHandles$Lookup.unreflectSpecial(MethodHandles.java:1800) at com.netflix.archaius.ConfigProxyFactory.newProxy(ConfigProxyFactory.java:312) ......
The example shows how to register a dynamic config, yet the example differs from the actual API. The config name should be provided to "addConfig", not to PollingDynamicConfig instantiation.
I am looking for a feature within the netflix archius which would enable to load json based configuration file instantly once the changes have been made to the same.
init() does not handle the case where the Etcd object's list() command results in an error (maybe due to an empty configuration). A NullPointerException is thrown when cacheConfigValues tries to...
new DynamicStringListProperty("testprop", new ArrayList()).get() returning [ChildData{path=, stat=4294969976, 4295050172, 1535439839508, 1536035879078, 1, 0, 0, 0, 3, 0, 4294969976, data=[65, 69, 93]}]
Hi there! I'm using TwistLock to spot vulnerabilities in the dependencies we use in our projects. I'm currently using *hystrix-core:1.5.12* which has a dependency on *archaius-core*, this archaius-core use *commons-configuration:1.8*...
I find myself unable to disable default PropertiesConfigReader reader in InternalArchaiusModule which is package private and final. I think more suitable place for default reader config is in ArchaiusModule as...
per the code below: ```java /** * A configuration that waits for a watcher event from the specified config source. * * The property values in this configuration will be...