ElasticsearchConfig extends MapConfig { public String getHTTPURL() { return get(CONFIG_KEY_HTTP_URL, "http: } ElasticsearchConfig(String name, Config config); String getHTTPURL(); AuthType getAuthType(); String getBasicAuthUser(); String getBasicAuthPassword(); int getConnectTimeoutMs(); int getReadTimeoutMs(); int getBulkFlushMaxActions(); Optional<Integer> getBulkFlushIntervalMS(); static final String CONFIG_KEY_FLUSH_MAX_ACTIONS; static final String CONFIG_KEY_FLUSH_INTERVALS_MS; static final String CONFIG_KEY_HTTP_URL; static final String CONFIG_KEY_HTTP_AUTH_TYPE; static final String CONFIG_KEY_HTTP_AUTH_BASIC_USER; static final String CONFIG_KEY_HTTP_AUTH_BASIC_PASSWORD; static final String CONFIG_KEY_HTTP_CONNECT_TIMEOUT_MS; static final String CONFIG_KEY_HTTP_READ_TIMEOUT_MS; }
@Test public void testHTTPURL() throws Exception { assertEquals("http: ElasticsearchConfig config = configForProperty("systems.es.http.url", "http: assertEquals("http: }