]
Thomas Diesler edited comment on AS7-1982 at 9/30/11 5:33 AM:
--------------------------------------------------------------
This is possibly related to a failure I see in
[
]
{code}
org.junit.ComparisonFailure: expected:<[restart-requir]ed> but
was:<[undefin]ed>
at org.junit.Assert.assertEquals(Assert.java:123)
at org.junit.Assert.assertEquals(Assert.java:145)
at
org.jboss.as.controller.ModelControllerImplUnitTestCase.testRestartRequired(ModelControllerImplUnitTestCase.java:461){code}
was (Author: thomas.diesler):
This is possibly related to a failure I see in
[
CLI reports incorrect access-type, value-type, restart-required
values
----------------------------------------------------------------------
Key: AS7-1982
URL:
https://issues.jboss.org/browse/AS7-1982
Project: Application Server 7
Issue Type: Bug
Components: CLI, Domain Management
Reporter: Thomas Diesler
Assignee: Brian Stansberry
read-resource-description reports attribute values that are different from what is
specified in code.
Below in brackets the expected value
{code}
[standalone@localhost:9999 /] /subsystem=osgi:read-resource-description(recursive=true)
{
"outcome" => "success",
"result" => {
"description" => "The the OSGi subsystem configuration.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:osgi:1.0",
"attributes" => {"activation" => {
"description" => "Activation flag for the OSGi subsystem.
Possible values: lazy, eager.",
"type" => STRING,
"default" => "LAZY",
"access-type" => "read-write",
[RESTART_JVM] "restart-required" => "no-services",
"storage" => "configuration"
}},
"children" => {
"configuration" => {
"description" => "A configuration entry.",
"model-description" => {"*" => {
"description" => "A configuration entry.",
"attributes" => {"entries" => {
"description" => "The list of configuration
entries.",
"required" => true,
"type" => LIST,
[PROPERTY] "value-type" => UNDEFINED,
[read-write] "access-type" => "read-only",
"restart-required" =>
"RESTART_ALL_SERVICES",
"storage" => "configuration"
}}
}}
},
"framework-property" => {
"description" => "A framework property.",
"model-description" => {"*" => {
"description" => "A framework property.",
"attributes" => {"value" => {
"description" => "The framework property
value.",
"type" => STRING,
"required" => true,
[read-write] "access-type" => "read-only",
"restart-required" =>
"RESTART_ALL_SERVICES",
"storage" => "configuration"
}}
}}
},
"capability" => {
"description" => "A framework capability.",
"model-description" => {"*" => {
"description" => "A framework capability.",
"attributes" => {"startlevel" => {
"description" => "The startlevel for the
capability.",
"type" => INT,
"required" => false,
[read-write] "access-type" => "read-only",
"restart-required" =>
"RESTART_ALL_SERVICES",
"storage" => "configuration"
}}
}}
}
}
}
}
{code}
See the description setup in
[
OSGiSubsystemProviders|https://github.com/tdiesler/jboss-as/blob/0a02801a...]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: