Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remap the ports returned by the Container in the ProtocolMetaData #13

Merged
merged 1 commit into from
Nov 8, 2014

Commits on Nov 8, 2014

  1. Remap the ports returned by the Container in the ProtocolMetaData

    The Container only knows about the ports it self is bound to,
    not how Docker is remapping them from the outside.
    
    When e.g. the Container is bound to port 8080 inside Docker
    and Docker PortForward from external port 8081 to internal
    8080 the ProtocolMetaData is of. This effects the ServletProtocol
    which is attempting to use this information to communicate with
    the in-container test case as well as URL injection on the client
    side via @ArquillianResource.
    
    When the ProtocolMetaData is created, the object is intercepted
    bu Cube to update the data based on the port we know are being
    forwarded.
    
    fixes arquillian#12
    aslakknutsen committed Nov 8, 2014
    Configuration menu
    Copy the full SHA
    c26c94f View commit details
    Browse the repository at this point in the history