@Test public void testFromWildcards() { OverrideSource overrideSource = OverrideSources.create(Map.of(WILDCARDS, "localhost")); assertThat(overrideSource.load() .get() .data() .data() .stream() .findFirst() .get() .getKey() .test(Config.Key.create("prod.tenant1.audit.host")), is(true)); }
public static OverrideSource create(Map<String, String> overrideValues) { return InMemoryOverrideSource.builder(overrideValues).build(); }
OverrideSources { public static OverrideSource create(Map<String, String> overrideValues) { return InMemoryOverrideSource.builder(overrideValues).build(); } }
OverrideSources { public static OverrideSource create(Map<String, String> overrideValues) { return InMemoryOverrideSource.builder(overrideValues).build(); } private  OverrideSources(); }
OverrideSources { public static OverrideSource create(Map<String, String> overrideValues) { return InMemoryOverrideSource.builder(overrideValues).build(); } private  OverrideSources(); static OverrideSource empty(); static OverrideSource create(Map<String, String> overrideValues); static ClasspathOverrideSource.Builder classpath(String resourceName); static FileOverrideSource.Builder file(String file); static UrlOverrideSource.Builder url(URL url); }
OverrideSources { public static OverrideSource create(Map<String, String> overrideValues) { return InMemoryOverrideSource.builder(overrideValues).build(); } private  OverrideSources(); static OverrideSource empty(); static OverrideSource create(Map<String, String> overrideValues); static ClasspathOverrideSource.Builder classpath(String resourceName); static FileOverrideSource.Builder file(String file); static UrlOverrideSource.Builder url(URL url);  }