forked from IBMStreams/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ankitp
committed
Oct 18, 2016
1 parent
7baa55a
commit 82c0d06
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// (C) Copyright IBM Corp. 2016 All Rights Reserved. | ||
|
||
namespace application ; | ||
|
||
use generated::HealthRules ; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This sample provides an application that demonstrates the use of ODM rules for managing patient vital statistics. It is the sample that is used in the StreamsDev article located at: https://developer.ibm.com/streamsdev/docs/rules-based-processing-in-real-time-streaming-applications | ||
|
||
The sample consists of 3 projects: | ||
|
||
1) health-xom: This project contains the Java model that is used in the ODM rules. The Patient class within this project represents a patient and their vital stats. | ||
|
||
2) HealthRules: This project contains the ODM rules that monitor the health of the patient and issue alerts when the stats are outside the "normal" range. | ||
|
||
3) HealthApplication: This SPL project contains the main SPL application that uses the rules written in the HealthRules project against input patient data flowing through the system as tuples. | ||
|
||
To see this sample in action, compile and submit the main application to a streams instance. | ||
|
||
To compile the application, you need: | ||
- Streams 4.2 - for the new com.ibm.streams.rulescompiler toolkit | ||
- Streams Studio: For editing the rules located in the HealthRules project. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters