[
https://issues.jboss.org/browse/AS7-1540?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz edited comment on AS7-1540 at 12/2/11 10:53 AM:
--------------------------------------------------------------------
This is fixed in the pull request which I am trying to get in today:
{noformat}
static ModelNode getSubsystemDescription(Locale locale) {
ResourceBundle resources = getResources(locale);
ModelNode description = createDescription(resources, "infinispan");
description.get(ModelDescriptionConstants.HEAD_COMMENT_ALLOWED).set(true);
description.get(ModelDescriptionConstants.TAIL_COMMENT_ALLOWED).set(true);
description.get(ModelDescriptionConstants.NAMESPACE).set(Namespace.CURRENT.getUri());
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
DESCRIPTION).set(resources.getString("infinispan.container"));
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER, MIN_OCCURS).set(1);
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
MAX_OCCURS).set(Integer.MAX_VALUE);
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
MODEL_DESCRIPTION).setEmptyObject();
return description;
}
{noformat}
was (Author: rachmato):
This is fixed in the pull request which I am trying to get in today:
static ModelNode getSubsystemDescription(Locale locale) {
ResourceBundle resources = getResources(locale);
ModelNode description = createDescription(resources, "infinispan");
description.get(ModelDescriptionConstants.HEAD_COMMENT_ALLOWED).set(true);
description.get(ModelDescriptionConstants.TAIL_COMMENT_ALLOWED).set(true);
description.get(ModelDescriptionConstants.NAMESPACE).set(Namespace.CURRENT.getUri());
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
DESCRIPTION).set(resources.getString("infinispan.container"));
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER, MIN_OCCURS).set(1);
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
MAX_OCCURS).set(Integer.MAX_VALUE);
description.get(CHILDREN, ModelKeys.CACHE_CONTAINER,
MODEL_DESCRIPTION).setEmptyObject();
return description;
}
Infinispan subsystem has no resource-description(s) at all
----------------------------------------------------------
Key: AS7-1540
URL:
https://issues.jboss.org/browse/AS7-1540
Project: Application Server 7
Issue Type: Bug
Components: Clustering, Domain Management
Reporter: Heiko Rupp
Assignee: Richard Achmatowicz
Priority: Blocker
Fix For: 7.1.0.CR1
[domain@localhost:9999 subsystem=infinispan] :read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the infinispan
subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:infinispan:1.0"
}
}
--
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