[jboss-jira] [JBoss JIRA] (AS7-2088) CLI usability: Parse compound operation parameters

Jason Greene (JIRA) jira-events at lists.jboss.org
Thu Feb 23 16:58:18 EST 2012


     [ https://issues.jboss.org/browse/AS7-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated AS7-2088:
------------------------------

    Fix Version/s: 7.1.2.Final
                       (was: 7.1.1.Final)


This issue is being relocated to 7.1.2 so that 7.1.1 only contains criticals, blockers, and EAP LA issues (which are probably not yet at the right status, or need an extra triage pass).

If these issues are completed in a 7.1.1 timeframe please change the fix version. Although if you forget I will bulk correct.
                
> CLI usability: Parse compound operation parameters
> --------------------------------------------------
>
>                 Key: AS7-2088
>                 URL: https://issues.jboss.org/browse/AS7-2088
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: CLI
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Dominik Pospisil
>            Assignee: Alexey Loubyansky
>             Fix For: 7.1.2.Final
>
>
> Currently, CLI does not parse compound operation parameters and relies on ModelNode.fromString() method.
> This means that an user have to use "key" => "value" notation to denote compound parameters. This is inconsistent with the rest of CLI using key="value" notation.
> As an example, to add https connector one needs to use:
> /subsystem=web/connector=https:add(socket-binding=https, scheme=https, protocol="HTTP/1.1", enabled=true, ssl={ "certificate-key-file" =>"/tmp/test.key"}))
> command instead of more straightforward:
> /subsystem=web/connector=https:add(socket-binding=https, scheme=https, protocol="HTTP/1.1", enabled=true, ssl={certificate-key-file="/tmp/test.key"}))
> This is never documented.
> Also any exceptions thrown by ModelNode.fromString() are discarded. I think they should be reported back to the user. (DefaultCallbackHandler lines 448-453)

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