You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SwaggerCompliant(value = "System administration and configuration APIs", batch = 4)
40
49
@Path("/cluster")
41
50
@Tag(name = "Cluster Management")
42
51
publicclassClusterResource {
@@ -55,10 +64,30 @@ public class ClusterResource {
55
64
* @throws DotCacheException
56
65
* @throws DotSecurityException
57
66
*/
67
+
@Operation(
68
+
summary = "Get cluster nodes status",
69
+
description = "Returns a map of cache cluster nodes status including server health information and cluster state. Validates cache transport across all cluster members."
70
+
)
71
+
@ApiResponses(value = {
72
+
@ApiResponse(responseCode = "200",
73
+
description = "Cluster nodes status retrieved successfully",
description = "Returns Elasticsearch cluster configuration properties including bind address, cache port, and Elasticsearch transport TCP port for the current server."
@@ -191,8 +276,23 @@ public Response removeFromCluster(@Context HttpServletRequest request, @Context
191
276
* @param response
192
277
* @return
193
278
*/
279
+
@Operation(
280
+
summary = "Test cluster connectivity",
281
+
description = "Sends a cluster ping that is recorded in the logs to test cluster connectivity and validate that all cluster nodes are communicating properly."
282
+
)
283
+
@ApiResponses(value = {
284
+
@ApiResponse(responseCode = "200",
285
+
description = "Cluster test completed successfully (no content)"),
286
+
@ApiResponse(responseCode = "401",
287
+
description = "Unauthorized - backend user authentication required",
@SwaggerCompliant(value = "System administration and configuration APIs", batch = 4)
31
40
@Disabled
41
+
@Tag(name = "Testing")
32
42
@Path ("/testResource")
33
43
publicclassTestResource {
34
44
@@ -49,10 +59,30 @@ public class TestResource {
49
59
* @return
50
60
* @throws JSONException
51
61
*/
62
+
@Operation(
63
+
summary = "Test GET operation",
64
+
description = "Example method that handles a GET operation for testing purposes. Supports JSON, XML, and JSONP response formats. This endpoint is disabled in production."
description = "Example method that handles a POST operation for testing purposes. Supports JSON, XML, and JSONP response formats. This endpoint is disabled in production."
167
+
)
168
+
@ApiResponses(value = {
169
+
@ApiResponse(responseCode = "200",
170
+
description = "Test POST operation completed successfully",
0 commit comments