[
https://issues.jboss.org/browse/AS7-2333?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky resolved AS7-2333.
------------------------------------
Fix Version/s: 7.1.0.CR1
(was: 7.1.0.Final)
Resolution: Done
I am resolving this issue. Although, it's not been fixed as requested, there is
another way of getting this info.
There won't be changes to these *operations*.
Now about the way this info is supposed to be provided to the user (you find it not
convenient then feel free to create issues for this).
There is read-attribute *command*. Which by default returns just the value. But it also
has --verbose mode which will display all the information available in model description
for the given property. E.g.
[standalone@localhost:9999 /] read-attribute name --verbose
access-type read-write
description The name of this server. If not set, defaults to the runtime value of
InetAddress.getLocalHost().getHostName().
min-length 1
nillable true
required false
restart-required no-services
storage configuration
type STRING
value tstudio
This is for a specific attribute. You can also use 'ls -l' which be default will
display a table of attributes (and children) showing their names, types and values. You
can extend the default columns by specifying properties you want to see by prefixing them
with '--'. E.g.
[standalone@localhost:9999 /] ls -l --restart-required
ATTRIBUTE VALUE TYPE RESTART-REQUIRED
launch-type STANDALONE STRING n/a
name tstudio STRING no-services
namespaces [] OBJECT n/a
process-type Server STRING n/a
profile-name undefined STRING n/a
release-codename Tesla STRING n/a
release-version 7.1.0.CR1-SNAPSHOT STRING n/a
running-mode NORMAL n/a n/a
schema-locations [] OBJECT n/a
server-state running STRING n/a
:read-resource should also show r/w status and whether restart is
required
--------------------------------------------------------------------------
Key: AS7-2333
URL:
https://issues.jboss.org/browse/AS7-2333
Project: Application Server 7
Issue Type: Feature Request
Components: CLI, Domain Management
Affects Versions: 7.1.0.Alpha1
Environment: all
Reporter: Rich Sharples
Assignee: Alexey Loubyansky
Labels: eap6-ux
Fix For: 7.1.0.CR1
:read-resource could provide some more useful information :
some attributes can't be changed (eg. they are ports generated from an offset) -
:read-resource output should show the attributes that are read-only.
some attributes require a restart to take effect - :read-resource should make this clear.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira