[jboss-jira] [JBoss JIRA] (AS7-4025) resource-description for subsystem=jgroups not complete
Richard Achmatowicz (JIRA)
jira-events at lists.jboss.org
Mon Mar 5 15:26:36 EST 2012
[ https://issues.jboss.org/browse/AS7-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673754#comment-12673754 ]
Richard Achmatowicz commented on AS7-4025:
------------------------------------------
Looks like this has been fixed. Here is what I see on the latest master:
{noformat}
[standalone at localhost:9999 /] /subsystem=jgroups:read-resource()
{
"outcome" => "success",
"result" => {
"default-stack" => "udp",
"stack" => {
"udp" => undefined,
"tcp" => undefined
}
}
}
[standalone at localhost:9999 /] /subsystem=jgroups:read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the jgroups subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:jgroups:1.1",
"attributes" => {"default-stack" => {
"type" => STRING,
"description" => "The default jgroups protocol stack.",
"expressions-allowed" => true,
"nillable" => false,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
}},
"children" => {"stack" => {
"description" => "The configuration of a jgroups protocol stack.",
"min-occurs" => 1,
"max-occurs" => 2147483647,
"model-description" => {}
}}
}
}
{noformat}
> resource-description for subsystem=jgroups not complete
> -------------------------------------------------------
>
> Key: AS7-4025
> URL: https://issues.jboss.org/browse/AS7-4025
> Project: Application Server 7
> Issue Type: Bug
> Components: Clustering, Domain Management
> Affects Versions: 7.1.0.Final
> Reporter: Heiko Rupp
> Assignee: Richard Achmatowicz
> Labels: rhq
>
> read-resource shows a 'default-stack' that is not described
> [standalone at localhost:9999 subsystem=jgroups] :read-resource
> {
> "outcome" => "success",
> "result" => {
> "default-stack" => "udp",
> "stack" => {"udp" => undefined}
> }
> }
> [standalone at localhost:9999 subsystem=jgroups] :read-resource
> read-resource read-resource-description
> [standalone at localhost:9999 subsystem=jgroups] :read-resource-description
> {
> "outcome" => "success",
> "result" => {
> "description" => "The configuration of the jgroups subsystem.",
> "head-comment-allowed" => true,
> "tail-comment-allowed" => true,
> "namespace" => "urn:jboss:domain:jgroups:1.1",
> "children" => {"stack" => {
> "description" => "The configuration of a jgroups protocol stack.",
> "min-occurs" => 1,
> "max-occurs" => 2147483647,
> "model-description" => {}
> }}
> }
> }
> One level deeper:
> [standalone at localhost:9999 stack=udp] :read-resource
> {
> "outcome" => "success",
> "result" => {
> "protocols" => [
> "PING",
> "MERGE2",
> "FD_SOCK",
> "FD",
> "VERIFY_SUSPECT",
> "BARRIER",
> "pbcast.NAKACK",
> "UNICAST2",
> "pbcast.STABLE",
> "pbcast.GMS",
> "UFC",
> "MFC",
> "FRAG2",
> "pbcast.STATE_TRANSFER"
> ],
> "protocol" => {
> "PING" => undefined,
> "FD_SOCK" => undefined,
> "FD" => undefined,
> "VERIFY_SUSPECT" => undefined,
> "BARRIER" => undefined,
> "FRAG2" => undefined,
> "MERGE2" => undefined,
> "pbcast.GMS" => undefined,
> "pbcast.STATE_TRANSFER" => undefined,
> "UNICAST2" => undefined,
> "UFC" => undefined,
> "MFC" => undefined,
> "pbcast.NAKACK" => undefined,
> "pbcast.STABLE" => undefined
> },
> "transport" => {"TRANSPORT" => undefined}
> }
> }
> [standalone at localhost:9999 stack=udp] :read-resource
> read-resource read-resource-description
> [standalone at localhost:9999 stack=udp] :read-resource-description
> {
> "outcome" => "success",
> "result" => {
> "description" => "The configuration of a jgroups protocol stack.",
> "children" => {
> "transport" => {
> "description" => "The configuration of a transport for a protocol stack.",
> "min-occurs" => 0,
> "max-occurs" => 1,
> "allowed" => ["TRANSPORT"],
> "model-description" => undefined
> },
> "protocol" => {
> "description" => "The configuration of a protocol within a protocol stack.",
> "min-occurs" => 0,
> "max-occurs" => 2147483647,
> "model-description" => undefined
> }
> }
> }
> }
--
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