Skip to content

COVSAFE Data Recorder - Store edge-side sensing data in a persistent database in the cloud

License

Notifications You must be signed in to change notification settings

Hitachi-CTI-Call-For-Code-COVID-19-Team/data-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Recorder

  • The data recorder, one of the back-end functions of the COVSAFE solution, runs on IBM Cloud Function.
  • The main function of the data recorder is to store edge-side sensing data in a persistent database in the cloud. The data recorder streams edge-side sensor data by consuming topics in the IBM Cloud Event Stream, and stores the updates sequentially in the cloudant database. 
    • The data recorder is triggered by a message trigger in Event Streams, gives a timestamp of the time the trigger was issued, and stores the triggered message count in bulk in the cloudant database, with one message and one document.
    • EventStream Topic: "covsafe"
    • Cloudant Database Name: "z_iotp_o9ypqz_default_YYYY-MM-DD"
      • YYYY: year, MM: Month, DD: date

How to Install and Setup

  • Run the script.
    • **NOTICE: **You will need to modify the variables to fit your environment in order for the script to run. If you build the COVSAFE solution by runnning the scripts of delivery repository, you need not modify it.
      $ ./cloud-functions/configure.sh

License

About

COVSAFE Data Recorder - Store edge-side sensing data in a persistent database in the cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published