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

Jan Papousek (JIRA) jira-events at lists.jboss.org
Fri Feb 24 09:26:36 EST 2012


Jan Papousek created ARQ-781:
--------------------------------

             Summary: 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)
            Reporter: Jan Papousek


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]

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