Risk notifier generates notification and pushes them to database and devices. It has two parts:
Risk-notifier reads the data from log_risk_calculation
database and generates parameteric values for creating notifications based on the latest entries in the risk-calculation database. Then it writes generated notifications to risk notification database log_risk_notification
.
Based on new entries in risk notification database, notfications are prepared for device push( Mesh-device led/sensor and smartphone notifications.
This implementation comprises of smaller sequences, actions and some default openwhisk-cloudant actions.
For implementation, copy the repository and follow steps in indvidual directories.
-
Clone the risk-notifier repository.
git clone https://github.com/Hitachi-CTI-Call-For-Code-COVID-19-Team/risk-notifier.git
REQUIRED SETTING:
You can gets your Cloudant credentials by delivery scripts or as obtained in (Cloudant-binding) steps here.