[arquillian-issues] [JBoss JIRA] (ARQ-781) openshift container - improve deployment url detection

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Mon Feb 27 07:56:36 EST 2012


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

Aslak Knutsen closed ARQ-781.
-----------------------------


    
> openshift container - improve deployment url detection
> ------------------------------------------------------
>
>                 Key: ARQ-781
>                 URL: https://issues.jboss.org/browse/ARQ-781
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: OpenShift Containers
>    Affects Versions: openshift_1.0.0.Alpha1
>            Reporter: Jan Papousek
>            Assignee: Karel Piwko
>             Fix For: openshift_1.0.0.Alpha2
>
>
> Consider the following configuration:
> {code:title=WEB-INF/jboss-web.xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web>
>     <context-root>/</context-root>
> </jboss-web>
> {code}
> {code:title=SimpleTest.java}
> class SimpleTest {
>     ...
>     @ArquillianResource
>     private URL deployedURL;
>     ...
> }
> {code}
> The context-root is not detected and injected url can't be used in tests.
> The detection should be fixed in [ServletUtils|https://github.com/arquillian/arquillian-container-openshift/blob/master/openshift-express/src/main/java/org/jboss/arquillian/container/openshift/express/ServletUtils.java#L87].
> The example of a project with this type of configuration is Richfaces Showcase ([showcase.war|https://repository.jboss.org/nexus/content/groups/staging/org/richfaces/examples/richfaces-showcase/4.2.0.Final/richfaces-showcase-4.2.0.Final-openshift.war]).

--
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 arquillian-issues mailing list