Eric D. Schabell: October 2011

Tuesday, October 25, 2011

jBPM Web Designer integrates jBPM Migration Tooling in the OpenShift Cloud

New migration feature
Last week the jBPM Web Designer screen-casted the release of a new version (well, a beta anyway) that includes some pretty neat features. The one we here in the jBPM Migration Project team are most proud of is that they have exposed the jBPM Migration Tooling!

paste in jpdl3.2 + gpd files
We thought it would be nice to provide a playground in the OpenShift Cloud for you the public to give it a try. Here are a few screenshots showing the designer, the import pop-up with a jBPM3.2 process definition and the corresponding gpd file containing positioning information and finally the migrtated BPMN2 process definition.

Here are the example jPDL and GPD sources so you can directly cut&paste them into the migration pop-up to test it:


jPDL3.2 process definition source


 
  
 

 
  
   A human task.
  
  
   
    A test task.
   
   
  
  
 

 



GPD location information source

  
    
      
  
  
    
      
  
  

You can't save the process, but you can view the source in various forms with the tabs at the bottom of the screen. Give the BPMN2 tab a try!

View source tabs

I will be presenting this and more on the current status of the jBPM Migration Project in London next week at JUDCon. The session is entitled, Launching into the future with jBPM Migration Project.

See you there? ;-)



Tuesday, October 18, 2011

London JBug - JBoss jBPM Night (slides)

I gave the talk entitled, JBoss jBPM, the future is now for all your Business Processes tonight for about 30 attendees. It was pretty interactive with the audience showing a real interest in the new jBPM5 tooling, flexible processes and migration tooling.

Thanks again to all who turned up and the pizza was great afterwards!

Here are the slides:



A few pictures were taken while I was talking:

Tuesday, October 11, 2011

From Code to Cloud - PHP on Red Hat's OpenShift (Slides)

As posted previously, I spoke at the International PHP Conference and Web Technology Conference in Mainz, Germany today. Here are the slides from the session, which included the audience participating directly in deploying Zend, Cake and Symfony frameworks into the OpenShift Express solution!


Friday, October 7, 2011

OpenShift Express - how to get started with Symfony PHP framework

I pulled together an installation howto for Symfony PHP Framework on OpenShift Express, you can follow the Readme file to push this into your very own OpenShift Express instance!




# Create an account at http://openshift.redhat.com/
#
# Create a php-5.3 application.
#
$ rhc-create-app -a symfonyphp -t php-5.3

# Add this upstream openshift-symfony repo
#
$ cd symfonyphp
$ git remote add upstream -m master git://github.com/eschabell/openshift-symfony.git
$ git pull -s recursive -X theirs upstream master

# Then push the repo upstream
#
git push

That's it, you can now checkout your application at http://sympfonyphp-$your_domain.rhcloud.com, isn't that easy!

NOTES:

GIT_ROOT/.openshift/action_hooks/build: This has a few lines to ensure that the cache dir exists and is writable for the web server.

Security: Nothing has been done to secure this installation.

Wednesday, October 5, 2011

jBPM Migration Tooling available in the OpenShift Cloud!

After our latest evening of coding on the jBPM Migration project we were able to fix quite a few bugs and pushed a web based jBPM Migration application into the cloud that enables everyone to play with the migration tooling right now!

I admit, it is in a crude form, but I am a fan of release early (if not often due to real life!). We will be massaging this to spiffy it up a bit, but the idea is there. You can upload your jBPM 3.2 process definition file (processdefinition.xml) and on the results page you will find a copy of your jPDL and below that the resulting BPMN2 XML. This is not formatted, but you can paste it into your IDE for formatting, viewing in the diverse jBPM5 editor tools and verify your process is migrated.

Even better, you can replicate this setup by following our Readme in the jBPM Migration Upload project. The basic steps to setup an OpenShift JBoss AS 7 instance and deploy the jBPM Migration Tool is as follows:

jBPM Migration Tooling on OpenShift Express
Installing the jBPM Migration tool on OpenShift was never easier! This git repository helps you get up and running quickly with the jBPM Migration Tooling.

# Running on OpenShift.
# Create an account at http://openshift.redhat.com/
#
# Create a jbossas-7.0 application
#
$ rhc-create-app -l $username -a jbpmmigration -t jbossas-7.0

# Add this upstream openshift-jbpmmigration repo.
#
$ cd jbpmmigration
$ git remote add upstream -m master git://github.com/eschabell/openshift-jbpmmigration.git
$ git pull -s recursive -X theirs upstream master
    
# Then push the repo upstream.
#
$ git push

That's it, you can now checkout your application at: http://jbpmmigration-$your_domain.rhcloud.com/jbpmmigration_upload-0.1

Usage notes: You can submit a jBPM jPDL 3.2 process definition as an xml file upload, the resulting page will show you first your submitted file (if all goes well) and the resulting BPMN2 process definition. This can be cut and paste into your IDE for formatting and testing against the jBPM5 editor(s).

I will be discussing this tooling at JUDCon in London and the London JBUG, drop by and we can chat about it. For now, get busy and start testing your process definitions before migration to jBPM5! ;-)

OpenShift Express - how to get started with ZendFramework

I was looking to upgrade a rough draft article in the Express forums and place it into a structured git repo howto form so I put the following together. You can follow the Readme file to push this into your very own OpenShift Express instance!








# Create an account at http://openshift.redhat.com/
#
# Create a php-5.3 application.
#
$ rhc-create-app -l $username -a zendphp -t php-5.3

# Add this upstream zendphp repo.
#
$ cd zendphp
$ git remote add upstream -m master git://github.com/eschabell/openshift-zendframework.git
$ git pull -s recursive -X theirs upstream master
# note that the git pull above can be used later to pull updates to zendphp

# Then push the repo upstream.
#
$ git push

That's it, you can now checkout your application at: http://zendphp-$your_domain.rhcloud.com, easy isn't it! ;-)