Demo based on JBoss BPM Suite and JBoss Fuse products to highlight migration to micro-services. The installation will take some time as the Fuse containers are provisioned automatically for you during the installation phase so that the micro-services only need to be started before running the JBoss Travel Agency process.
Add products to installs directory.
Run 'init.sh' or 'init.bat' file. 'init.bat' must be run with Administrative privileges.
Start the JBoss BPM Suite server, login, build and deploy JBoss BPM Suite process project at http://localhost:8080/business-central (u:erics/p:bpmsuite1!).
Add fabric server passwords for Maven Plugin to your ~/.m2/settings.xml file the fabric server's user and password so that the maven plugin can login to the fabric.
<!-- Server login to upload to fabric. -->
<servers>
<server>
<id>fabric8.upload.repo</id>
<username>admin</username>
<password>admin</password>
</server>
</servers>
Start Fuse Server, by running 'fuse' or 'fuse.bat':
Login to Fuse management console at: http://localhost:8181 (u:admin/p:admin).
Under Services -> Containers tab, you will see 6 containers, select and start each one.
Check if web services are available under Services -> APIs tab.
Enjoy the demo!
Build & deploy project.
Start process with following data in start form (either from JBoss BPM Suite dashboard or using external client UI deployed at http://localhost:8080/external-client-ui-form-1.0):
Name: [your-name]
Email Adress: [any-email]
Number of Travellers: 2
From Destination: London
To Destination: Edinburgh
Preferred Date of Departure: 2014-12-20
Preferred Data of Arrival: 2014-12-29
Other Details / Notes: [any-text]
Login to http://localhost:8080/business-central
- login for admin role (u:erics / p:bpmsuite1!)
Two web services will be run and a sub-process to calculate the cost before deciding it is not needed that this booking be reviewed on pricing, so you will find a task 'Employee Booking' for you to process.
Navigate to the "Tasks" tab and click on it. From the task in the list, click on the "Lock" icon to claim the task
Click on the "Work" tab from the resulting right-side pane window that opened.
Fill in the form provided for the task, it allows review of all the booking data submitted, generated by services and calculated by the rules. You can request a review to send it back for a pricing review or check the completed box to finish the task and process (isBookingConfirmed). All tasks have automated reassignment, meaning if not completed within 1 minute they will be put back into the group.
Enter credit card details (beginning with 1234...) for compensation to be triggered., Expiry details of the card (e.g. 12/12) and your full name.
Check the logs and you will see that the process has been compensated.
To trigger different path for successful booking of Flights, just change the 'Credit Card details' to use any card number that does not begin with 1234....
For details on demoing the compensation aspects of the Travel Agency demo project, see docs/compensation-howto/README-COMPENSATION.md
7 Steps to Your First Process with JBoss BPM Suite Starter Kit
A Microservices Migration Story with JBoss BPM Travel Agency (video)
Integration Project- Micro Services Migration Story with JBoss BPM Travel Agency - Part Five
Integration Project- Micro Services Migration Story with JBoss BPM Travel Agency - Part Four
Integration Project- Micro Services Migration Story with JBoss BPM Travel Agency - Part Three
Integration Project- Micro Services Migration Story with JBoss BPM Travel Agency - Part Two
Integration Project- Micro Services Migration Story with JBoss BPM Travel Agency - Part One
A Micro Services Migration Story with JBoss BPM Travel Agency
Webinar - How to Excite the Travel Industry with a BPM Story
Slides from webinar - How to excite the travel industry with a BPM story
See the tagged releases for the following versions of the product:
v1.2 - JBoss BPM Suite 6.2.0-BZ-1299002 on JBoss EAP 6.4.4 with JBoss Fuse 6.2 and micro-service migration from traditional web services for Travel Agency project.
v1.1 - JBoss BPM Suite 6.1 and JBoss Fuse 6.2 with micro-service migration from traditional web services for Travel Agency project.
v1.0 - JBoss BPM Suite 6.1 and JBoss Fuse 6.1.1 with micro-service migration from traditional web services for Travel Agency project.