A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.
There are three options available to you for using this demo; local, OpenShift and Docker.
-
Add products to installs directory. For example download and add BPMS installer jar into the installs directory.
-
Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.
-
Start JBoss BPMS Server by running 'standalone.sh' or 'standalone.bat' in the /target/jboss-eap-6.1/bin directory.
-
Login to http://localhost:8080/business-central
- login for admin and other roles (u:erics / p:bpmsuite1!)
After clicking button, ensure Gear
size is set to medium
:
![Click to install OpenShift](http://launch-shifter.rhcloud.com/launch/light/Install bpmPaaS.svg)
Once installed you can use the JBoss BPM Suite logins:
-
u:erics p: bpmsuite (admin)
-
u: alan p: bpmsuite (analyst)
-
u: daniel p: bpmsuite (developer)
-
u: ursla p: bpmsuite (user)
-
u: mary p: bpmsuite (manager)
The following steps can be used to configure and run the demo in a docker container
-
Add products to installs directory. For example download and add BPMS installer jar into the installs directory.
-
Copy contents of support/docker directory to the project root.
-
Build demo image.
docker build -t jbossdemocentral/bpms-baggage-delivery-demo .
-
Start demo container.
docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/bpms-baggage-delivery-demo
-
Login to http://<DOCKER_HOST>:8080/business-central (u:erics / p:bpmsuite1!)
-
Enjoy demo!
Additional information can be found in the jbossdemocentral docker developer repository
Build the project then kick off the process. An initial form will show for first name, last name, flyer status {None, Bronze, Silver, Gold}, Country Code, Zip if in US and number of bags lost.
If in US, will pass in zip code to zip code web service. Only the following zip codes will return states. Any other zip will return Texas.
//Park Ridge, IL
zipCodes.put("60068", "IL");
//Honolulu, HI
zipCodes.put("96801", "HI");
//New York, NY
zipCodes.put("10001", "NY");
//Bethel, AK
zipCodes.put("99559", "AK");
After zip code service is called, the state field on passenger is used in web decision table to determine the cost of shipping. Next, a DSL is used to figure out a surcharge for AK and HI.
If not in US, county code is looked up in spreadsheet decision table and sets shipping and surcharge.
Finally, DSL is used to apply a promotion of free shipping and surcharge if passenger is of status Gold. You are then shown the route the process took and the variables to confirm shipping and surcharges are correct.
See support directory for included spreadsheet decision table ( NonUSShippingCost.xls) and docs directory for an overview presentation of the project.
None yet...
See the tagged releases for the following versions of the product:
-
v1.1 - JBoss BPM Suite 6.0.3 and baggage delivery demo installed with optional generation of docker installation.
-
v1.0 - JBoss BPM Suite 6.0.3 and baggage delivery demo installed.