Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-579

We need to be able to override default protocol on a container level

    Details

      Description

      Using <defaultProtocol type="Servlet 3.0" /> makes it impossible to run tests on tomcat-embedded-6.
      We need to be able to override default protocol on a container level, so we can use defaultProtocol property and still share an arquillian.xml between older servers.

      This is just a matter of honoring the protocol element child of the container element, which is already in the schema:

      <container qualifier="jbossas-managed-7" default="true">
          <protocol type="Servlet 3.0"/>
      </container>
      

        Gliffy Diagrams

          Activity

          Hide
          aslak Aslak Knutsen added a comment -

          The container/protocol element is intended for configuring the protocol, e.g. override server ip, so the presence of the protocol type is not enough. We can follow the container way by adding a default=true|false.

          Show
          aslak Aslak Knutsen added a comment - The container/protocol element is intended for configuring the protocol, e.g. override server ip, so the presence of the protocol type is not enough. We can follow the container way by adding a default=true|false.
          Hide
          dan.j.allen Dan Allen added a comment -

          Yep, that makes sense.

          Show
          dan.j.allen Dan Allen added a comment - Yep, that makes sense.
          Hide
          kpiwko Karel Piwko added a comment -

          This represents an usability issue when trying to use Droidium (default protocol Android) with AS7/EAP with Servlet 3.0 protocol.

          Show
          kpiwko Karel Piwko added a comment - This represents an usability issue when trying to use Droidium (default protocol Android) with AS7/EAP with Servlet 3.0 protocol.

            People

            • Assignee:
              Unassigned
              Reporter:
              spinner José Freitas
            • Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Development