[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1982) CLI reports incorrect access-type, value-type, restart-required values
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Fri Sep 30 05:33:27 EDT 2011
[ https://issues.jboss.org/browse/AS7-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631494#comment-12631494 ]
Thomas Diesler edited comment on AS7-1982 at 9/30/11 5:33 AM:
--------------------------------------------------------------
This is possibly related to a failure I see in [Jenkins|https://hudson.qa.jboss.com/hudson/view/JBossOSGi/job/jboss-as7-as1948/7/testReport/org.jboss.as.controller/ModelControllerImplUnitTestCase/testRestartRequired]
{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 [Jenkins|https://hudson.qa.jboss.com/hudson/view/JBossOSGi/job/jboss-as7-as1948/7/testReport/org.jboss.as.controller/ModelControllerImplUnitTestCase/testRestartRequired]
> 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 at 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/0a02801a18f58e6a9280006f29c0fdbdd3d7b0df/osgi/service/src/main/java/org/jboss/as/osgi/parser/OSGiSubsystemProviders.java]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list