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.2, Red Hat Decision Manager Kie Server 7.2, JBoss EAP 7.2

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 rhdm-install-demo-master/installs/
  • cp rhdm-install-demo-master/installs/
  • cp rhdm-install-demo-master/installs/

Install Decision Manager

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

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

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.2/bin/.niogit/

Decision Manager

User Configuration

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

Users configuration generated in to:
  • target/jboss-eap-7.2/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
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...)