[jboss-jira] [JBoss JIRA] (AS7-2364) CLI Response Verbosity

Rich Sharples (Created) (JIRA) jira-events at lists.jboss.org
Wed Oct 26 16:18:45 EDT 2011


CLI Response Verbosity
----------------------

                 Key: AS7-2364
                 URL: https://issues.jboss.org/browse/AS7-2364
             Project: Application Server 7
          Issue Type: Clarification
          Components: CLI
    Affects Versions: 7.1.0.Alpha1
         Environment: all
            Reporter: Rich Sharples
            Assignee: Alexey Loubyansky
             Fix For: 7.1.0.Beta1


The output of the CLI easily interpreted by a machine. Not so easy for a human.

For example, typical error :

{
    "outcome" => "failed",
    "failure-description" => "No handler for read-operation-namess at address [
    (\"server-group\" => \"main-server-group\"),
    (\"jvm\" => \"default\")
]",
    "rolled-back" => true
}

could be translated to :

ERROR : No handler for "read-operation-namess" command at address server-group=main-server-group, jvm=default

I suggest two modes of operation - human readable responses and verbose (machine readable) responses.



--
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

        


More information about the jboss-jira mailing list