0 Replies Latest reply on Dec 15, 2018 10:46 PM by Ramesh Sah

    Network aliases : How to specify them in arquillian.xml

    Ramesh Sah Newbie

      I am using CUBE format in my arquillian.xml and have something like this but alias does not seem to work, am I missing anything?

       

      tomcat:
        image: tutum/tomcat:8.0
        exposedPorts: [8089/tcp]
        env: [JAVA_OPTS=-Dcom.sun.management.jmxremote.port=8089 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false]
        portBindings: [8080/tcp, 8089/tcp]
        networkMode: automationNetwork*
        await:
        strategy: polling
        cart*:
        image: cicd/my-fake-service:latest
        portBindings: [8080/tcp]
        networks:
        automationNetwork*:
        aliases: cartHost
        await:
        strategy: polling
        slotService*:
        image: cicd/my-fake-service:latest
        portBindings: [8080/tcp]
        networks:
        automationNetwork*:
        aliases: slotHost
        await:
        strategy: polling
        shippngService*:
        image: cicd/my-fake-service:latest
        portBindings: [8080/tcp]
        await:
        strategy: polling
        paymentService*:
        image: cicd/my-fake-service:latest
        portBindings: [8080/tcp]
        await:
        strategy: polling
        </property>
        <property name="clean">true</property>
      </extension>

       

      from commandline I am able to run docker command and create alias and connect containers using alias.