[jboss-jira] [JBoss JIRA] (AS7-1982) CLI reports incorrect access-type, value-type, restart-required values

Brian Stansberry (Assigned) (JIRA) jira-events at lists.jboss.org
Thu Jan 5 11:45:10 EST 2012


     [ https://issues.jboss.org/browse/AS7-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned AS7-1982:
-------------------------------------

    Assignee: Kabir Khan  (was: Brian Stansberry)


Kabir, the issue here IIRC is the descriptions in the OSGi subsystem include stuff that the core operation handler writes based on flags. So, task is to update the subsystem to register with the appropriate flags.
                
> 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: Domain Management
>            Reporter: Thomas Diesler
>            Assignee: Kabir Khan
>             Fix For: 7.1.0.Final
>
>
> 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.
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