[jboss-jira] [JBoss JIRA] (AS7-2278) JAXR configuration through the domain model

Thomas Diesler (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 04:25:45 EST 2011


    [ https://issues.jboss.org/browse/AS7-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640959#comment-12640959 ] 

Thomas Diesler edited comment on AS7-2278 at 11/8/11 4:25 AM:
--------------------------------------------------------------

Done for datasource

{code}
<subsystem xmlns="urn:jboss:domain:jaxr:1.0">
  <datasource jndi-name="java:jboss/datasources/ExampleDS"/>
</subsystem>
{code}

Here the current model + description

{code}
[standalone at localhost:9999 /] /subsystem=jaxr:read-resource
{
    "outcome" => "success",
    "result" => {"jndi-name" => "java:jboss/datasources/ExampleDS"}
}

[standalone at localhost:9999 /] /subsystem=jaxr:read-resource-description    
{
    "outcome" => "success",
    "result" => {
        "description" => "The JAXR subsystem",
        "head-comment-allowed" => true,
        "tail-comment-allowed" => true,
        "namespace" => "JAXR_1_0",
        "attributes" => {"jndi-name" => {
            "description" => "The datasource JNDI-NAME",
            "required" => true,
            "type" => STRING,
            "access-type" => "read-write",
            "restart-required" => "all-services",
            "storage" => "configuration"
        }}
    }
}
{code}
                
      was (Author: thomas.diesler):
    Done for datasource

{code}
        <subsystem xmlns="urn:jboss:domain:jaxr:1.0">
            <datasource jndi-name="java:jboss/datasources/ExampleDS"/>
        </subsystem>
{code}

Here the current model + description

{code}
[standalone at localhost:9999 /] /subsystem=jaxr:read-resource
{
    "outcome" => "success",
    "result" => {"jndi-name" => "java:jboss/datasources/ExampleDS"}
}

[standalone at localhost:9999 /] /subsystem=jaxr:read-resource-description    
{
    "outcome" => "success",
    "result" => {
        "description" => "The JAXR subsystem",
        "head-comment-allowed" => true,
        "tail-comment-allowed" => true,
        "namespace" => "JAXR_1_0",
        "attributes" => {"jndi-name" => {
            "description" => "The datasource JNDI-NAME",
            "required" => true,
            "type" => STRING,
            "access-type" => "read-write",
            "restart-required" => "all-services",
            "storage" => "configuration"
        }}
    }
}
{code}
                  
> JAXR configuration through the domain model
> -------------------------------------------
>
>                 Key: AS7-2278
>                 URL: https://issues.jboss.org/browse/AS7-2278
>             Project: Application Server 7
>          Issue Type: Task
>          Components: JAXR
>            Reporter: Thomas Diesler
>            Assignee: Kurt Stam
>             Fix For: 7.1.0.CR1
>
>
> All configuration is currently hard coded. This needs to be externalized to the subsystem config, parsed, and manageable through the domain model.

--
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