[jboss-jira] [JBoss JIRA] (AS7-2142) Domain model usability: missing :reset-attribute command

Radoslav Husar (Updated) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 08:51:45 EDT 2011


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

Radoslav Husar updated AS7-2142:
--------------------------------

    Summary: Domain model usability: missing :reset-attribute command  (was: CLI: missing :remove-attribute command)


I agree this is a usability issue, we need a way to reset attribute value to default.

(Fixed Jira summary to avoid confusion)
                
> Domain model usability: missing :reset-attribute command
> --------------------------------------------------------
>
>                 Key: AS7-2142
>                 URL: https://issues.jboss.org/browse/AS7-2142
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Rostislav Svoboda
>            Assignee: Brian Stansberry
>             Fix For: 7.1.0.CR1
>
>
> We have _:read-attribute_ and _:write-attribute_ commands but we do not have *:remove-attribute* command. It would be invoked on attributes which have flag required set to false.
> For example when I define socket-binding-port-offset for server-group I can't remove it and I can't set it to 0 using CLI.
> {code}
> /server-group=main-server-group:read-resource-description()
>             "socket-binding-port-offset" => {
>                 "description" => "The default offset to be added to the port values given by the socket binding group.",
>                 "type" => INT,
>                 "required" => false,
>                 "access-type" => "read-write",
>                 "storage" => "configuration",
>                 "restart-required" => "no-services"
>             },
> {code}

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