[jboss-jira] [JBoss JIRA] (AS7-6377) Add runtime attribute "url" to /deployment=*/subsystem=web

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Thu Jan 24 02:43:47 EST 2013


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

Jean-Frederic Clere commented on AS7-6377:
------------------------------------------

There are so many case where the url could be wrong that I would prefer not to have this feature.
Looking to my previous comment how do you provide the url if the user is starting AS with bin/standalone.sh -b myhost?
How do I get myhost?
In case of an AJP connector how to guess the httpd server name?
                
> Add runtime attribute "url" to /deployment=*/subsystem=web
> ----------------------------------------------------------
>
>                 Key: AS7-6377
>                 URL: https://issues.jboss.org/browse/AS7-6377
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Domain Management, Web
>            Reporter: Harald Pehl
>            Assignee: Jean-Frederic Clere
>             Fix For: 7.3.0.Alpha1
>
>
> The resource /deployment=*/subsystem=web should contain an attribute "url" which contains the resolved absolute url to the web deployment.  
> The resource does contain the attribute "context-root". But this only provides a relative url. To make this absolute additional resource operations are necessary (like parsing interfaces, port offsets, ...)
> By having an absolute url the user can quickly access the deployment:
> 1. By copy/paste into the browser (when using the cli)
> 2. By following a hyperlink (when using the admin console)
> As an example the resources for webservice endpoints already contain an absolute url to the WSDL. This is used in the admin console to provide a hyperlink (see AS7-2152) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list