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
The extra REST API to get commands for specific bean does not make sense.
Exactly same data can be extracted from the JSON returned by the `getCommands` REST API
Copy file name to clipboardExpand all lines: spring-integration-http/src/main/java/org/springframework/integration/http/management/ControlBusController.java
+18-27Lines changed: 18 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -82,33 +82,6 @@ public List<ControlBusBean> getCommands() {
Copy file name to clipboardExpand all lines: spring-integration-http/src/test/java/org/springframework/integration/http/management/ControlBusControllerTests.java
Copy file name to clipboardExpand all lines: src/reference/antora/modules/ROOT/pages/http/control-bus-controller.adoc
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,6 @@ The `/control-bus` GET request returns all the control bus commands for the appl
69
69
Essentially, a JSON-serialized list of `ControlBusController.ControlBusBean` instances.
70
70
Each entry is a bean with a list of control bus eligible methods (see `ControlBusMethodFilter` for more information) with their parameter types and description from the `@ManagedOperation` or `@ManagedAttribute` (falls back to method name otherwise).
71
71
72
-
The GET method of this REST controller for `/control-bus/\{beanName}` returns commands for specific bean.
73
-
74
72
The POST method to `/control-bus/{beanName.methodName}` invokes the command.
75
73
The body of the request may contain a list of values and their types for command to execute.
76
74
For example, the `operation` command with `int` argument for the class:
0 commit comments