Transactions Explorer collector for Backdrop
NOTE - Before running it be sure to add new quarters and seasonally adjusted fields to the application - see commit by way of example and discuss which dates should be added with the Performance Platform On-boarding team.
- Get yourself a virtualenv (optional)
pip install --allow-external argparse -r requirements_for_tests.txt
If you are using Mac OSX 10.x.x and encounter an error around the including of
ffi.h during the build, try running
xcode-select --install in your terminal.
Run the thing
From here on "The Spreadsheet" refers to the transaction volume data maintained by "Registers" at the time of writing.
- Ensure you're in a virtualenv context.
- Download the
TX_Data(so named at time of writing) sheet from The Spreadsheet as a csv as
./run.sh <backdrop_write_fqdn> <backrop_write_token>.
- Commit the resulting files (
tools/data/transaction-volumes.csv) into Spotlight (
assets/data) and re-release Spotlight.
<backdrop_write_fqdn> is the fully qualified domain name of the backdrop write
performance-platform-backdrop-write-staging.cloudapps.digital for staging).
<backdrop_write_token> is the bearer token as specified in the stagecraft management
Stagecraft -> Data sets ->
transactional_services_summaries -> Bearer token.