Closed BK01 closed 7 years ago
DataBC to provide demo key.
I have modified the python script to accept two parameters:
-url [URL TO TEST] -o [OUTPUT FILENAME]
The script can now be used to test the heartbeat of arbitrary URLs. Pull request is here.
Note: the Jenkins job that calls Heartbeat.py must be modified to call the script one time for each API being tested. Each call must be made with appropriate parameters. Example calls are given in the comments at the top of the .py file.
Skills / SW:
Background: https://github.com/bcgov/dbcrss/blob/master/heartbeat/README.md
Description:
Current JavaScript files for reference: https://github.com/bcgov/dbcrss/tree/master/heartbeat/src/d3
Same JavaScript files, but used with heartbeat pages https://github.com/bcgov/dbcrss/tree/gh-pages/heartbeat
Potential references: https://github.com/d3/d3/wiki/Time-Scales https://www.dashingd3js.com/d3js-scales