Since WildFly 8.1.0.CR1 was released last week, the OpenShift WildFly cartridge has been updated as well.

 

Create a new WildFly 8.1.0.CR1 app

 

To create a new WildFly 8.1.0.CR1 application on OpenShift, you can either use the OpenShift Web Console or the following RHC command:

rhc app create <NEW_WILDFLY_APP> https://cartreflect-claytondev.rhcloud.com/reflect?github=openshift-cartridges/openshift-wildfly-cartridge

 

Create a new WildFly 8.1.0.CR1 app based on an existing app (takes a bit longer)

 

If you already have an existing WildFly 8.0.0.Final OpenShift application, you can try out a brand new RHC command that creates an application based on an existing one:


1. Upgrade to the latest version of the OpenShift command line tools:

gem update rhc

 

2. Create your WildFly 8.1.0.CR1 application using the new --from-app command:

rhc app create <NEW_WILDFLY_APP> --from-app <OLD_WILDFLY_APP>

 

This creates an application that's a clone of your existing one (i.e., same gear size, scaling configuration, environment variables, git repository, etc.). This means that your new WildFly 8.1.0.CR1 application will have the same configuration and deployment(s) as your existing application. However, because the --from-app command relies on an application snapshot, it will take some time to complete (be patient!). This should improve going forward since snapshot exclusions have now been added to the WildFly cartridge to reduce its snapshot footprint.


Be sure to check out the cartridge documentation for more information about the cartridge. Please try it out and provide feedback. Enjoy!