-
Bug
-
Resolution: Done
-
Major
-
7.0.0.Final
-
None
You can execute this op:
/host=master/server=server-one:reload
But if you try and tab complete the op name, the reload op does not appear.
Same thing with suspend.
Further, with suspend if you do:
/host=master/server=server-one:suspend(timeout=10)
the CLI will reject the op complaining that param 'timeout' is invalid. Disable validation in jboss-cli.xml though and it will work.
The reason for all this is that the read-operation-names and read-operation-description ops the CLI invokes in the background before executing an op are aimed at /host=master/server=server-one, and on the domain server root resource the 'reload' and 'suspend' operation definitions are marked with setPrivateEntry.
When the user actually executes the ops, the handler is actually on the HC, so it works fine. It's just that the CLI can't see the description of the op.