-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Checks
ken farmer edited this page Sep 23, 2015
·
11 revisions
- Identify the next partition for a set of checks to run against - just once, rather than in each check
- Identify whether or not to run checks at all - if no data has changed since the last run
- Prepare data for faster processing by table checks - perhaps by aggregating it, or extracting changed data from a large non-partitioned table into a smaller table
- Must be in check_dir
- Filename must start with 'setup_'
- Must be identified within registry file for table with a check_type of 'setup'
- Env Vars provided by runner: ** hapinsp_instance ** hapinsp_database ** hapinsp_table ** hapinsp_tablecustom_internal_rc_prior ** hapinsp_tablecustom_[setup var name]_prior
- json struct printed by setup: { "rc": "?", "hapinsp_tablecustom_[setup var name]": "foo", "hapinsp_tablecustom_[setup_var_name]": "bar" }