[jboss-jira] [JBoss JIRA] (AS7-6377) Add runtime attribute "url" to /deployment=*/subsystem=web
Jean-Frederic Clere (JIRA)
jira-events at lists.jboss.org
Wed Jan 23 04:38:47 EST 2013
[ https://issues.jboss.org/browse/AS7-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749821#comment-12749821 ]
Jean-Frederic Clere commented on AS7-6377:
------------------------------------------
basically doing ./deployment=myapp.war:read-resource(recursive=true) we have:
+++
"subsystem" => {"web" => {
"context-root" => "/myapp",
"virtual-host" => "default-host",
+++
So the webapp can be deployed on a virtual-host but a virtual-host may have several alias so there isn't a unique url.
> 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