[jboss-jira] [JBoss JIRA] (AS7-6477) /host=* has something called "server" that is neither child nor attribute

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Wed Feb 13 09:31:57 EST 2013


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

Emanuel Muckenhuber commented on AS7-6477:
------------------------------------------

Hmm, i see it in both operations:

{noformat}
[domain at localhost:9999 /] /host=master:read-children-types
{
    "outcome" => "success",
    "result" => [
        "core-service",
        "interface",
        "jvm",
        "path",
        "server",
        "server-config",
        "system-property"
    ]
}

and
[domain at localhost:9999 /] /host=master:read-resource-description
....
"children" => {
   "core-service" => {
      "description" => "Core services provided by the host's host controller.",
      "model-description" => undefined
   },
   "system-property" => {
      "description" => "A system property to set on all servers on the host.",
      "model-description" => undefined
   },
   "server" => {
       "description" => "Servers currently running on the host",
       "model-description" => undefined
   },
...

{noformat}

I guess i am missing something?
                
> /host=* has something called "server" that is neither child nor attribute
> -------------------------------------------------------------------------
>
>                 Key: AS7-6477
>                 URL: https://issues.jboss.org/browse/AS7-6477
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: Emanuel Muckenhuber
>             Fix For: 7.3.0.Alpha1
>
>
> Start a domain with a host called "master".  In CLI, do /host=master/:read-resource.  In the result, you will see a resource called "server".  
> However, if you do /host=master/:read-children-types it will not show up as a child type.
> If you do /host=master/:read-resource-description it will not show up as an attribute either.
> So what is "server"?  It's not a child and it's not an attribute.  Is it something that should not show up in read-resource?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list