[jboss-jira] [JBoss JIRA] (AS7-3692) Management: jgroups add stack operation does not work

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Feb 28 18:08:36 EST 2012


    [ https://issues.jboss.org/browse/AS7-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671874#comment-12671874 ] 

Richard Achmatowicz commented on AS7-3692:
------------------------------------------

I have implemented a first version of this, in which the stack add operation now takes two optional parameters:

{noformat}
/subsystem=jgroups/stack=myStack:add(transport=<DMR representation of transport>, protocols=<DMR representation of LIST of protocols>)
{noformat}

So, for example:
{noformat}
/subsystem=jgroups/stack=myStack:add(transport={"type" => "UDP", "socket-binding" => "some-binding"}, protocols=[{"type" => "MPING", "socket-binding" => "some-binding"}, {"type" => "FRAG", "socket-binding" => "some-binding"}])
{noformat}

The full resource description is attached, as it is quite large.

This version simply checks for the optional parameters, and as required executes the existing handlers for adding a transport and adding a protocol.

                
> Management: jgroups add stack operation does not work
> -----------------------------------------------------
>
>                 Key: AS7-3692
>                 URL: https://issues.jboss.org/browse/AS7-3692
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Clustering, Domain Management
>    Affects Versions: 7.1.0.Final
>            Reporter: Dominik Pospisil
>            Assignee: Richard Achmatowicz
>              Labels: eap6_prd_req
>             Fix For: 7.1.1.Final
>
>
> Management: jgroups add stack operation does not work. Add stack operation fails with:
> JBAS014746: type may not be null
> however, add operation does not accept such parameter.
> Steps to reproduce:
> 1) start domain
> 2) connect CLI
> 3) [standalone at localhost:9999 /] /subsystem=jgroups/stack=test:add()
> {
>     "outcome" => "failed",
>     "failure-description" => "JBAS014746: type may not be null",
>     "rolled-back" => true,
>     "response-headers" => {"process-state" => "reload-required"}
> }

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