@Test public void configurationNames() { Map<String, String> entries = new HashMap<>(); entries.put("firehose.sampleservice.uri", "http: entries.put("another.sampleservice.uri", "http: entries.put("firehose.another.uri", "http: List<String> configurationNames = EnvironmentVariables.configurationNames(entries.keySet()); assertThat(configurationNames.size(), is(2)); assertThat(configurationNames, hasItems("sampleservice", "another")); }
public static List<String> configurationNames() { return configurationNames(System.getenv().keySet()); }
EnvironmentVariables { public static List<String> configurationNames() { return configurationNames(System.getenv().keySet()); } }
EnvironmentVariables { public static List<String> configurationNames() { return configurationNames(System.getenv().keySet()); }  }
EnvironmentVariables { public static List<String> configurationNames() { return configurationNames(System.getenv().keySet()); }  static Optional<String> getValue(String configuration, String key); static Optional<JsonObject> getConfiguration(String configurationName); static Optional<JsonObject> getAllConfigurations(); static List<String> configurationNames(); static Optional<JsonObject> getConfiguration(Map<String, String> environmentEntries, Predicate<Map.Entry<String, String>> filter); }
EnvironmentVariables { public static List<String> configurationNames() { return configurationNames(System.getenv().keySet()); }  static Optional<String> getValue(String configuration, String key); static Optional<JsonObject> getConfiguration(String configurationName); static Optional<JsonObject> getAllConfigurations(); static List<String> configurationNames(); static Optional<JsonObject> getConfiguration(Map<String, String> environmentEntries, Predicate<Map.Entry<String, String>> filter); static final String MANDATORY_KEY_PREFIX; }