[forge-issues] [JBoss JIRA] (FORGEPLUGINS-177) Run tests against WildFly on OpenShift

Arun Gupta (JIRA) issues at jboss.org
Sun Nov 16 19:17:39 EST 2014


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

Arun Gupta updated FORGEPLUGINS-177:
------------------------------------
    Description: 
For using WildFly running on OpenShift, the dependencies look like ...

{code}
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-openshift</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<scope>test</scope>
</dependency>
{code}

but this adapter is not shown in arquillian-addon extension.

I had to manually add the following code in pom.xml:

{code}
<profile>
           <id>arquillian-wildfly-openshift</id>
           <build>
               <plugins>
                   <plugin>
                       <artifactId>maven-surefire-plugin</artifactId>
                       <version>2.14.1</version>
                       <configuration>
                           <systemPropertyVariables>
                               <arquillian.launch>arquillian-wildfly-openshift</arquillian.launch>
                           </systemPropertyVariables>
                       </configuration>
                   </plugin>
               </plugins>
           </build>
           <dependencies>
               <dependency>
                   <groupId>org.jboss.arquillian.container</groupId>
                   <artifactId>arquillian-openshift</artifactId>
                   <version>1.0.0.Final-SNAPSHOT</version>
                   <scope>test</scope>
               </dependency>
               <dependency>
                   <groupId>org.jboss.resteasy</groupId>
                   <artifactId>resteasy-client</artifactId>
                   <version>3.0.5.Final</version>
                   <scope>test</scope>
               </dependency>
               <dependency>
                   <groupId>org.jboss.resteasy</groupId>
                   <artifactId>resteasy-jaxb-provider</artifactId>
                   <version>3.0.5.Final</version>
                   <scope>test</scope>
               </dependency>
           </dependencies>
       </profile>        
{code}

and the following in arquillian.xml

{code}
<container qualifier="arquillian-wildfly-openshift">
       <configuration>
           <property name="namespace">milestogo</property>
           <property name="application">cd</property>
           <property name="libraDomain">rhcloud.com</property>
           <property name="sshUserName">54686b2aecb8d46aa0000052</property>
           <property name="login">arungupta at redhat.com</property>
           <property name="deploymentTimeoutInSeconds">300</property>
           <property name="disableStrictHostChecking">true</property> 
       </configuration>
   </container>
{code}

It'll be great if the addon can show an option to add this adapter and update the files accordingly.

All the tests passed successfully after adding these fragments.

  was:
For using WildFly running on OpenShift, the dependencies look like ...

<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-openshift</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<scope>test</scope>
</dependency>

but this adapter is not shown in arquillian-addon extension.

I had to manually add the following code in pom.xml:

<profile>
           <id>arquillian-wildfly-openshift</id>
           <build>
               <plugins>
                   <plugin>
                       <artifactId>maven-surefire-plugin</artifactId>
                       <version>2.14.1</version>
                       <configuration>
                           <systemPropertyVariables>
                               <arquillian.launch>arquillian-wildfly-openshift</arquillian.launch>
                           </systemPropertyVariables>
                       </configuration>
                   </plugin>
               </plugins>
           </build>
           <dependencies>
               <dependency>
                   <groupId>org.jboss.arquillian.container</groupId>
                   <artifactId>arquillian-openshift</artifactId>
                   <version>1.0.0.Final-SNAPSHOT</version>
                   <scope>test</scope>
               </dependency>
               <dependency>
                   <groupId>org.jboss.resteasy</groupId>
                   <artifactId>resteasy-client</artifactId>
                   <version>3.0.5.Final</version>
                   <scope>test</scope>
               </dependency>
               <dependency>
                   <groupId>org.jboss.resteasy</groupId>
                   <artifactId>resteasy-jaxb-provider</artifactId>
                   <version>3.0.5.Final</version>
                   <scope>test</scope>
               </dependency>
           </dependencies>
       </profile>        

and the following in arquillian.xml

<container qualifier="arquillian-wildfly-openshift">
       <configuration>
           <property name="namespace">milestogo</property>
           <property name="application">cd</property>
           <property name="libraDomain">rhcloud.com</property>
           <property name="sshUserName">54686b2aecb8d46aa0000052</property>
           <property name="login">arungupta at redhat.com</property>
           <property name="deploymentTimeoutInSeconds">300</property>
           <property name="disableStrictHostChecking">true</property> 
       </configuration>
   </container>

It'll be great if the addon can automate this.

All the tests passed successfully after adding these fragments.



> Run tests against WildFly on OpenShift
> --------------------------------------
>
>                 Key: FORGEPLUGINS-177
>                 URL: https://issues.jboss.org/browse/FORGEPLUGINS-177
>             Project: Forge Plugins/Addons
>          Issue Type: Feature Request
>            Reporter: Arun Gupta
>
> For using WildFly running on OpenShift, the dependencies look like ...
> {code}
> <dependency>
> <groupId>org.jboss.arquillian.container</groupId>
> <artifactId>arquillian-openshift</artifactId>
> <version>1.0.0.Final-SNAPSHOT</version>
> <scope>test</scope>
> </dependency>
> {code}
> but this adapter is not shown in arquillian-addon extension.
> I had to manually add the following code in pom.xml:
> {code}
> <profile>
>            <id>arquillian-wildfly-openshift</id>
>            <build>
>                <plugins>
>                    <plugin>
>                        <artifactId>maven-surefire-plugin</artifactId>
>                        <version>2.14.1</version>
>                        <configuration>
>                            <systemPropertyVariables>
>                                <arquillian.launch>arquillian-wildfly-openshift</arquillian.launch>
>                            </systemPropertyVariables>
>                        </configuration>
>                    </plugin>
>                </plugins>
>            </build>
>            <dependencies>
>                <dependency>
>                    <groupId>org.jboss.arquillian.container</groupId>
>                    <artifactId>arquillian-openshift</artifactId>
>                    <version>1.0.0.Final-SNAPSHOT</version>
>                    <scope>test</scope>
>                </dependency>
>                <dependency>
>                    <groupId>org.jboss.resteasy</groupId>
>                    <artifactId>resteasy-client</artifactId>
>                    <version>3.0.5.Final</version>
>                    <scope>test</scope>
>                </dependency>
>                <dependency>
>                    <groupId>org.jboss.resteasy</groupId>
>                    <artifactId>resteasy-jaxb-provider</artifactId>
>                    <version>3.0.5.Final</version>
>                    <scope>test</scope>
>                </dependency>
>            </dependencies>
>        </profile>        
> {code}
> and the following in arquillian.xml
> {code}
> <container qualifier="arquillian-wildfly-openshift">
>        <configuration>
>            <property name="namespace">milestogo</property>
>            <property name="application">cd</property>
>            <property name="libraDomain">rhcloud.com</property>
>            <property name="sshUserName">54686b2aecb8d46aa0000052</property>
>            <property name="login">arungupta at redhat.com</property>
>            <property name="deploymentTimeoutInSeconds">300</property>
>            <property name="disableStrictHostChecking">true</property> 
>        </configuration>
>    </container>
> {code}
> It'll be great if the addon can show an option to add this adapter and update the files accordingly.
> All the tests passed successfully after adding these fragments.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list