weightwatcher is a demonstration application of a stateless Decision Server based on JBoss BRMS 6.1 and includes support for complex event processing (CEP) use cases based on a pseudo clock.
Examples provided include a (REST) client sending a time series of facts in the form of weight observations to the Decision Server. The Decision Server then reasons over the inputs to derive CEP insights such as average weight, least weight and weight change of a rolling time window. These insights are returned to the calling client as facts.
This project provides instructions to automate the deployment for both traditional and container based options. Instalation instructions for OpenShift V3 will be added later in H1, 2016. To inspect, clone this repository and review the documentation in the docs directory, summarised as follows.
Clone this repository.
Add product installers to installs directory.
Run 'init.sh'.
Login to http://localhost:8080/business-central (u:erics / p:jbossbrms1! )
Follow the quick start guide.
Enjoy installed and configured JBoss BRMS 6.
The following steps can be used to configure and run the demo in a docker container
docker pull spicozzi/weightwatcher .
Start demo container
docker run -it -p 8080:8080 -p 9990:9990 spicozzi/weightwatcher
Follow the quick start guide from section 5.
Enjoy installed and configured JBoss BRMS 6.
If using boot2docker locate your instance IP address using:
$ boot2docker ip
http://blog.emergitect.com/2015/05/09/weightwatcher/
http://blog.emergitect.com/2014/12/08/really-simple-rules-service/
- Guided decision table alternative to GAS scoring
- Redesign heartbeat.sh as container service