PROJECT NOT UNDER ACTIVE MANAGEMENT
This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.
Contact: [email protected]
This is an app which allow you to run rules on data ingested, such as temperature is higher than 22 and if observation pass the conditions, will trigger an alert.
It is a part of IoT Analytics solution and previous deployment of dashboard and backend is required.
Currently it supports rules consisting of:
- Basic conditions (e.g. there was an observation with value highter than 25)
- Timebased conditions (e.g. temperature higher than 30C for at least 5 minutes)
- Statistics based conditions (e.g. there are observations with value higher than average plus/minus 2 or 3 standard deviations )
connected using AND or OR operators.
- Java 1.8 or higher
- Apache Maven 2.2.1 or higher
- Python 2.7
- Cloud Foundry CLI and Trusted Analytics Platform account (https://github.com/trustedanalytics)
On Trusted Analytics Platform (https://github.com/trustedanalytics)
Before installation, make sure that you are logged into Trusted Analytics Platform with command:
cf login
- Create instances with specified name for each of required services from marketplace:
- CDH broker with name mycdh
- Zookeeper WSSB broker with name myzookeeper
-
Create following user-provided services with properties filled with real values:
cf cups dashboard-endpoint-ups -p "{\"host\":\"${ADDRESS}\"}" cf cups rule-engine-credentials-ups -p "{\"username\":\"${USER}\",\"password\":\"${PASSWORD}\"}" cf cups installer-backend-ups -p "{\"host\":\"${ADDRESS}\",\"deviceMeasurementTableName\":\"${DEVICE_MEASUREMENT_TABLE}\"}"
-
Executing ./cf-deploy.sh in main repository catalog downloads and extracts dependencies and pushes application to CF with name {SPACE}-rule-engine where space is currently selected space by cf t -s "SPACE"
-
Check logs and wait for application start.