Skip to content

Retail online web shopping cart example, the Cool Store demo leverages JBoss BRMS, JBoss Developer Studio, and Vaadin UI framework.

Notifications You must be signed in to change notification settings

jbossdemocentral/brms-coolstore-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBoss BRMS Suite Cool Store Demo

This is a retail web store demo where you will find rules, decision tables, events, and a ruleflow that is leveraged by a web application. The web application is a WAR built using the JBoss BRMS generated project as a dependency, providing an example project showing how developers can focus on the application code while the business analysts can focus on rules, events, and ruleflows in the JBoss BRMS product web based dashboard.

This demo is self contained, it uses a custom maven settings to deploy all built JBoss BRMS knowledge artifacts into an external maven repository (not your local repository), in /tmp/maven-repo.

There are three options available to you for using this demo; local, Openshift and Containerized.

Option 1 - Install on your machine

  1. Download and unzip.

  2. Add products to installs directory.

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

  4. Start JBoss BRMS Server by running ./target/jboss-eap-6.4/bin/standalone.sh

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

    - login for admin and analyst roles (u:erics / p:jbossbrms1!)
    
  6. Build and deploy project.

  7. Open shopping cart and demo away (http://localhost:8080/brms-coolstore-demo)

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

After clicking button, ensure Gear size is set to large:

![Click to install OpenShift](http://launch-shifter.rhcloud.com/launch/light/Install brmsPaaS.svg)

Once installed you can use the JBoss BRMS logins:

  • u:erics p: jbossbrms1! (admin)

  • u: alan p: jbossbrms1! (analyst)

Current hosting of brmsPaaS is on JBoss BRMS 6.0.2 in OpenShift Online.

Option 3 - Generate containerized install

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

  1. Download and unzip.

  2. Add products installs directory.

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

  4. Build demo image

    docker build -t jbossdemocentral/brms-coolstore-demo .
    
  5. Start demo container

    docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/brms-coolstore-demo
    
  6. Login to http://<DOCKER_HOST>:8080/business-central

    - login for admin and analyst roles (u:erics / p:jbossbrms1!)
    
  7. Open shopping cart and demo away (http://<DOCKER_HOST>:8080/brms-coolstore-demo)

Additional information can be found in the jbossdemocentral container developer repository

Supporting Articles

3 shockingly easy ways into JBoss rules, events, planning & BPM

Jump Start Your Rules, Events, Planning and BPM Today

4 Foolproof Tips Get You Started With JBoss BRMS 6.0.3

How to Use Rules and Events to Drive JBoss BRMS Cool Store for xPaaS

Red Hat JBoss BRMS - all product demos updated for version 6.0.2.GA release

[Red Hat JBoss BRMS 6 - Demo Cool Store Dynamic Rule Updates (video)] (http://www.schabell.org/2014/05/redhat-jboss-brms6-demo-coolstore-dynamic-rule-updates.html)

[Red Hat JBoss BRMS 6 - The New Cool Store Demo] (http://www.schabell.org/2014/03/redhat-jboss-brms-v6-coolstore-demo.html)

[JBoss BRMS Cool Store Demo updated with EAP 6.1.1] (http://www.schabell.org/2013/09/jboss-brms-coolstore-demo-updated-eap-611.html)

[A shopping cart example in the Cool Store Demo] (http://www.schabell.org/2013/04/jboss-brms-coolstore-demo.html)

[Cool Store installation video part I] (http://www.schabell.org/2013/05/jboss-brms-coolstore-demo-video-partI.html)

[Cool Store CEP and Rules video part II] (http://www.schabell.org/2013/05/jboss-brms-coolstore-demo-video-partII.html)

[Cool Store BPM and Decision Tables video part III] (http://www.schabell.org/2013/05/jboss-brms-coolstore-demo-video-partIII.html)

Released versions

See the tagged releases for the following versions of the product:

  • v2.9 JBoss BRMS 6.1.1 (patch update applied) with cool store installed.

  • v2.8 JBoss BRMS 6.1 with cool store installed.

  • v2.7 JBoss BRMS 6.0.3 installer with cool store configured to scan external maven repository.

  • v2.6 JBoss BRMS 6.0.3 installer with cool store updated so that project unit tests running again.

  • v2.5 JBoss BRMS 6.0.3 with optional containerized installation.

  • v2.4 moved to JBoss Demo Central, with updated windows init.bat support and one click install button.

  • v2.3 JBoss BRMS 6.0.3 installer with cool store demo installed.

  • v2.2 JBoss BPM Suite 6.0.2, JBoss EAP 6.1.1, cool store demo installed.

  • v2.1 JBoss BPM Suite 6.0.1, JBoss EAP 6.1.1, cool store demo installed.

  • v2.0 JBoss BPM Suite 6.0.0, JBoss EAP 6.1.1, cool store demo installed.

  • v1.4 is BRMS 5.3.1 deployable, running on JBoss EAP 6.1.1, integrated BRMS maven repo into project so no longer need to add to personal settings configuration which fully automates project build.

  • v1.3 is BRMS 5.3.1 deployable, running on JBoss EAP 6.1.1, and added Forge Laptop Sticker to store.

  • v1.2 is BRMS 5.3.1 deployable, running on JBoss EAP 6.1, mavenized using JBoss repo.

  • v1.1 new welcome screen and doc fixes.

  • v1.0 is BRMS 5.3.1 deployable, running on JBoss EAP 6.

Announcement Sign

Video bpmPaaS CoolStore

Video bpmPaaS CoolStore

Decision Table

Domain Model

About

Retail online web shopping cart example, the Cool Store demo leverages JBoss BRMS, JBoss Developer Studio, and Vaadin UI framework.

Resources

Stars

Watchers

Forks

Packages

No packages published