[jboss-jira] [JBoss JIRA] (AS7-4491) Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Apr 12 16:41:47 EDT 2012


Brian Stansberry created AS7-4491:
-------------------------------------

             Summary: Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names
                 Key: AS7-4491
                 URL: https://issues.jboss.org/browse/AS7-4491
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.1.Final
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Critical
             Fix For: 7.1.2.Final-redhat1


See "Multi-Server Responses" on https://docs.jboss.org/author/display/AS71/Management+API+reference#ManagementAPIreference-responseformat:

"server-groups" => {
        "groupA" => {
            "serverA-1" => {
                "host" => "host1",
                "response" => {
                    "outcome" => "success",
                    "result" => undefined
                }
            },
            "serverA-2" => {
                "host" => "host2",
                "response" => {
                    "outcome" => "success",
                    "result" => undefined
                }
            }
        },
        ....

What if on both hosts the server was named "serverA" ? The result for one would replace the result for the other.

It's important to allow hosts to re-use server names, as this makes it practical to re-use a host.xml across multiple installations; e.g. in single AMI used on many EC2 instances.

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