Building an online retail web shop

This workshop will teach you how to build an online retail web shop by designing various rules, events and more. The results will be your very own online retail store front.
Prerequisites: Java 8+, Maven 3.2+, Red Hat Decision Manager 7.1, Red Hat Decision Manager Kie Server 7.1, JBoss EAP 7.1

Lab 1 - Install Red Hat Decision Manager

Lab Goal

To install and login to Red Hat Decision Manager product

Download Project

Started by downloading the easy installation project:

Prepare Project

Place all product downloads into the installs directory:
  • cp jboss-eap-7.1.0.zip rhdm-install-demo-master/installs/
  • cp rhdm-7.1.0-decision-central-eap7-deployable.zip rhdm-install-demo-master/installs/
  • cp rhdm-7.1.0-kie-server-ee7.zip rhdm-install-demo-master/installs/

Install Decision Manager

From directory rhdm-install-demo-master run install:
  • $ ./init.sh


Upon install completion start Decision Manager:
  • $ ./target/jboss-eap-7.1/bin/standalone.sh

Decision Manager

Standalone Configuration

Some properties set to lock location git repository are found in standalone-full.xml
  • $ cat rhdm-install-demo-master/support/standalone-full.xml
  • <property name="org.uberfire.nio.git.dir" value="${jboss.home.dir}/bin"/>


Means all projects stored in .niogit/* can be found here:
  • rhdm-install-demo-master/target/jboss-eap-7.1/bin/.niogit/

Decision Manager

User Configuration

User configuration was automated during installation
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u erics -p redhatdm1! -ro analyst,admin,manager,user,kie-server,kiemgmt,rest-all --silent
  • target/jboss-eap-7.1/bin/add-user.sh -a -r ApplicationRealm -u kieserver -p kieserver1! -ro kie-server --silent


Users configuration generated in to:
  • target/jboss-eap-7.1/standalone/configuration/application-{users|roles}.properties

Decision Manager Users

The user and password for all roles in this workshop:
  • u: erics
  • p: redhatdm1!

Decision Manager

Log in to Decision Central

Access to Decision Manager is through the decision central console:



  • user: erics
  • password: redhatdm1!

Lab results...

Eric D. Schabell
Global Technology Evangelist & Portfolio Architect Director
@ericschabell
http://schabell.org
More Red Hat Decision Manager Workshops

Red Hat Decision Manager Articles

Red Hat Decision Manager Demos

Decision Manager Workshop

Up next...

Lab 02 - Create a new project

(coming soon...)