[jboss-jira] [JBoss JIRA] (AS7-2514) Deployment name attribute is superfluous

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Feb 20 13:18:36 EST 2012


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

Brian Stansberry resolved AS7-2514.
-----------------------------------

    Fix Version/s: No Release
       Resolution: Won't Fix


I agree with your viewpoint Stan, but there was not time to find and remove these before 7.1.0 and now I consider the existing ones to be a stable API.
                
> Deployment name attribute is superfluous
> ----------------------------------------
>
>                 Key: AS7-2514
>                 URL: https://issues.jboss.org/browse/AS7-2514
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Stan Silvert
>            Priority: Minor
>             Fix For: No Release
>
>
> The name attribute on deployments is not needed.  For instance, here the name is jsfwithjsp.war.  But that name is already bound to the deployment as its key and it can not change.  Since the name attribute servers no purpose it should be removed.
> {code}[standalone at localhost:9999 /] ./deployment=jsfwithjsp.war/:read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "content" => [{
>             "path" => "deployments/jsfwithjsp.war",
>             "relative-to" => "jboss.server.base.dir",
>             "archive" => true
>         }],
>         "enabled" => true,
>         "name" => "jsfwithjsp.war",
>         "persistent" => false,
>         "runtime-name" => "jsfwithjsp.war",
>         "subdeployment" => undefined,
>         "subsystem" => {"web" => undefined}
>     }
> }{code}

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