Exploring travel discount rules project
To explore JBoss BRMS project with travel discount rules and rule tests to understand how they work.
Deploy travel discount rules on OpenShift Container Platform
- Open project by clicking on menu entry Authoring -> Project Authoring:
Project opens with discount rules in decision table
- Table has rules for Flights, Cars and Hotels:
Flights: for diverse asian airport codes gets 10 discount
Cars: for Hertz car rental company gets 15 discount
Hotel: for length of stay six or more days gets 10 discount
Open the TEST SCENARIOS tab on right in Project Explorer and click on TestDiscountRules to open...
TEST RUN FAILS
Click on Run scenario button top righ to see test fail...
FIX RULE TEST
Note red failure, look where it failed and fix:
Infrastructure automation to deploy applications...
- You understand the discount rules and have tested them
- Going to use Ansible Playbooks to automate container deployments