[jboss-jira] [JBoss JIRA] Created: (JBAS-9273) Support for ls of a leaf node in admin console equating to :read-resouce
Scott Stark (JIRA)
jira-events at lists.jboss.org
Thu Apr 7 22:39:33 EDT 2011
Support for ls of a leaf node in admin console equating to :read-resouce
------------------------------------------------------------------------
Key: JBAS-9273
URL: https://issues.jboss.org/browse/JBAS-9273
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: CLI
Affects Versions: 7.0.0.Beta2
Reporter: Scott Stark
I was taking the cli jboss-admin.sh tool for a test drive, and using ls and tab completion to navigate down to the socket-binding-group=standard-sockets/socket-binding=http leaf, and was expecting an ls or at least an ls -l to display the attributes. Brian noted this might be expected, so this request is to have the ls dump out the leaf attributes as though a :read-resource operation was performed on the node.
[localhost:9999 /] ls
extension path subsystem
deployment management-interfaces interface
socket-binding-group
[localhost:9999 /] ls socket-binding-group=standard-sockets/socket-binding=
socket-binding=http
socket-binding=https
socket-binding=jmx-connector-registry
socket-binding=jmx-connector-server
socket-binding=jndi
socket-binding=messaging
socket-binding=messaging-throughput
socket-binding=osgi-http
socket-binding=remoting
socket-binding=txn-recovery-environment
socket-binding=txn-socket-process-id
socket-binding=txn-status-manager
[localhost:9999 /] ls socket-binding-group=standard-sockets/socket-binding=http
[localhost:9999 /] ls -l socket-binding-group=standard-sockets/socket-binding=http
[localhost:9999 /]
[localhost:9999 /] /socket-binding-group=standard-sockets/socket-binding=http:read-resource
{
"outcome" => "success",
"result" => {
"name" => "http",
"interface" => undefined,
"port" => 8080,
"fixed-port" => undefined,
"multicast-address" => undefined,
"multicast-port" => undefined
},
"compensating-operation" => undefined
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list