- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for ClusterHealthResponse (0.49 seconds)
-
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
} @Test public void test_getStatus_returnsCorrectValue() { // Since we cannot easily create a real ClusterHealthResponse without a running cluster, // we'll test the class behavior through unit tests that verify the logic // The actual integration with ClusterHealthResponse is tested in integration tests // Test that the constructor and getters work with proper setupCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.7K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final AdminClient mockAdminClient = mock(AdminClient.class); final ClusterAdminClient mockClusterAdminClient = mock(ClusterAdminClient.class); final ClusterHealthResponse mockHealthResponse = mock(ClusterHealthResponse.class); final ActionFuture<ClusterHealthResponse> mockFuture = mock(ActionFuture.class); fesenClient.targetIndices = null; when(mockClient.admin()).thenReturn(mockAdminClient);
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
assertTrue(e.getMessage().contains("Connection failed")); } } // Helper method to create mock ClusterHealthResponse private ClusterHealthResponse createMockHealthResponse(String clusterName, ClusterHealthStatus status) { return new ClusterHealthResponse() { @Override public String getClusterName() { return clusterName; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
import org.opensearch.OpenSearchException; import org.opensearch.action.ActionRequest; import org.opensearch.action.ActionType; import org.opensearch.action.admin.cluster.health.ClusterHealthResponse; import org.opensearch.action.admin.indices.segments.IndicesSegmentResponse; import org.opensearch.action.admin.indices.segments.PitSegmentsRequest; import org.opensearch.action.bulk.BulkRequest;
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 26.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
import org.opensearch.action.ActionType; import org.opensearch.action.DocWriteRequest.OpType; import org.opensearch.action.DocWriteResponse.Result; import org.opensearch.action.admin.cluster.health.ClusterHealthResponse; import org.opensearch.action.admin.indices.alias.IndicesAliasesRequestBuilder; import org.opensearch.action.admin.indices.create.CreateIndexResponse;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1)