App Dev Cloud with JBoss BPM Suite Install Demo
We have been discussing why application developers can’t ignore their stack anymore in the App Dev Cloud Stack series.
We talked about the various layers from the bottom up, but have yet to provide you with any application development tooling beyond the Red Hat Container Development Kit (CDK). All you have so far is an easy to install project called the Container Development Kit Install Demo.
That is about to change with this article, so read on.
We have been providing an array of JBoss BRMS and JBoss BPM Suite demo projects, mostly leveraged by application developers by installing them locally. We did provide a simple containerized installation generation option based on Docker, but this was also rather trivial to your local machine hosting the container.
Today we move into the Cloud to provide you with real application development based on the Cloud stack as described in our series. The first instalment is a basic JBoss BPM Suite product installation on they OpenShift Enterprise layer of your stack, provided by our Red Hat CDK installation.
|JBoss BPM Suite floating on OSE Cloud!|
You can now fully demo and leverage a JBoss BPM Suite through the business central web console running containerized on an OSE pod.
Jumping into the Cloud
We will be leveraging previous work that installs the Red Hat CDK. The Red Hat CDK is packaged into a RHEL 7 virtual machine that you can start on your machine after installing this project. There are several choices provided with pre-configured installations, but they all include the basic setup for Docker and the tools needed to start leveraging Docker based containers.
The following container must be started after installing this project for you to get started with our first JBoss BPM Suite application development demo:
- OpenShift Enterprise – a containerized version of OpenShift Enterprise can be started that can be accesses through a Web console in your browser or via the OpenShift command line tools. Explore your very own private PaaS developer experience with this container.
|Fully operational, imported existing project!|
Now that the you have the OpenShift Enterprise image up and running, you can start moving the JBoss BPM Suite install demo into the Cloud with the following steps:
Add products to installs directory.
To access CDK OSE installation, make sure your ~/.kube/config provides access, see example in support/kube-config-example file.
Install OpenShift Cient Tools if you have not done so previously.
Login to your CDK OpenShift instance:
$ oc login Authentication required for https://10.1.2.2:8443 (openshift) Username: admin Password: admin Login successful.
Setup your new project with following commands:
# create a new project. $ oc new-project rhcs-bpms-install-demo # setup our new build. $ oc new-build jbossdemocentral/developer:jdk8-uid --name=rhcs-bpms-install-demo --binary=true # start a build, run from root of rhcs-bpms-install-demo project, # this takes some time to upload all of the product sources for build. $ oc start-build rhcs-bpms-install-demo --from-dir=. # watch the build by running the following repeatedly until builds completes. $ oc logs rhcs-bpms-install-demo-1-build # create a new application. $ oc new-app rhcs-bpms-install-demo # expose business-central application. $ oc expose service rhcs-bpms-install-demo --hostname=rhcs-bpms-install-demo.10.1.2.2.xip.io
Login to JBoss BPM Suite to start developing your BPM projects:http://rhcs-bpms-install-demo.10.1.2.2.xip.io/business-central
( u:erics / p:bpmsuite1! )
Now you are up and running with a fully installed JBoss BPM Suite ready to start your process project. If you want to get started, check out this online workshop, helping you get started with JBoss BPM Suite:
For more information around containers, a Cloud stack and why you need to care about this containerized stack for your application development, see the App Dev Cloud Stack series that takes you on a tour of the Red Hat Cloud Suite.Stay tuned for more!