Skip to content

A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.

Notifications You must be signed in to change notification settings

ljack/bpms-baggage-delivery-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBoss BPM Suite Baggage Delivery Demo

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.

Option 1 - Install on your machine

  1. Download and unzip.

  2. Add products to installs directory. For example download and add BPMS installer jar into the installs directory.

  3. Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.

  4. Start JBoss BPMS Server by running 'standalone.sh' or 'standalone.bat' in the /target/jboss-eap-6.1/bin directory.

  5. Login to http://localhost:8080/business-central

     - login for admin and other roles (u:erics / p:bpmsuite1!)
    

Option 2 - Install with one click in xPaaS (bpmPaaS)

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)

Option 3 - Generate docker install

The following steps can be used to configure and run the demo in a docker container

  1. Download and unzip.

  2. Add products to installs directory. For example download and add BPMS installer jar into the installs directory.

  3. Copy contents of support/docker directory to the project root.

  4. Build demo image.

    docker build -t jbossdemocentral/bpms-baggage-delivery-demo .
    
  5. Start demo container.

    docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/bpms-baggage-delivery-demo
    
  6. Login to http://<DOCKER_HOST>:8080/business-central (u:erics / p:bpmsuite1!)

  7. Enjoy demo!

Additional information can be found in the jbossdemocentral docker developer repository

Running the demo

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.

Supporting Articles

None yet...

Released versions

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.

Digital Sign

Baggage Process

Lost Form

About

A baggage delivery service using BPM. A business friendly demo using form modeler, bpm process, decisions table web, spreadsheet, dsl and bam.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 80.6%
  • Visual Basic .NET 11.1%
  • Java 8.3%