From 9f56a142c38dde44464220bf7d264cb6846c44ac Mon Sep 17 00:00:00 2001 From: Patrick White Date: Tue, 4 Apr 2017 09:52:15 -0400 Subject: [PATCH] organizes repo secondary configs and makes deploy easier --- auditor/auditor.example.conf.yaml | 12 ++++++------ auditor/{ => configs}/consent_dates.yaml | 0 auditor/{ => configs}/empty.yaml | 0 auditor/{ => configs}/example_bad_subj.yaml | 0 auditor/{ => configs}/example_good_subj.yaml | 0 auditor/{ => configs}/example_labs.yaml | 0 auditor/{ => configs}/example_regex_capture.yaml | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename auditor/{ => configs}/consent_dates.yaml (100%) rename auditor/{ => configs}/empty.yaml (100%) rename auditor/{ => configs}/example_bad_subj.yaml (100%) rename auditor/{ => configs}/example_good_subj.yaml (100%) rename auditor/{ => configs}/example_labs.yaml (100%) rename auditor/{ => configs}/example_regex_capture.yaml (100%) diff --git a/auditor/auditor.example.conf.yaml b/auditor/auditor.example.conf.yaml index fd83037..aa15eb3 100644 --- a/auditor/auditor.example.conf.yaml +++ b/auditor/auditor.example.conf.yaml @@ -15,7 +15,7 @@ new_headers: key: *subject value: *consent_date default: null - lookup_file: &consent_dates_path ./consent_dates.yaml + lookup_file: &consent_dates_path configs/consent_dates.yaml # put expected headers here, any others will be ignored headers: &headers @@ -56,21 +56,21 @@ error_strings: # list of values that are whitelisted for each header whitelist: &whitelist_vals - header_name: *lab_type - vals_file_path: ./example_labs.yaml + vals_file_path: configs/example_labs.yaml - header_name: *subject - vals_file_path: ./example_good_subj.yaml + vals_file_path: configs/example_good_subj.yaml # list of values that are blacklisted blacklist: &blacklist_vals - header_name: *subject - vals_file_path: ./example_bad_subj.yaml + vals_file_path: configs/example_bad_subj.yaml - header_name: *value - vals_file_path: ./empty.yaml + vals_file_path: configs/empty.yaml # capture something and pass it along regexs: ®exs - header_name: *value - vals_file_path: ./example_regex_capture.yaml + vals_file_path: configs/example_regex_capture.yaml # mappings try to parse data to another form # will pass the value through the maps in left to right order diff --git a/auditor/consent_dates.yaml b/auditor/configs/consent_dates.yaml similarity index 100% rename from auditor/consent_dates.yaml rename to auditor/configs/consent_dates.yaml diff --git a/auditor/empty.yaml b/auditor/configs/empty.yaml similarity index 100% rename from auditor/empty.yaml rename to auditor/configs/empty.yaml diff --git a/auditor/example_bad_subj.yaml b/auditor/configs/example_bad_subj.yaml similarity index 100% rename from auditor/example_bad_subj.yaml rename to auditor/configs/example_bad_subj.yaml diff --git a/auditor/example_good_subj.yaml b/auditor/configs/example_good_subj.yaml similarity index 100% rename from auditor/example_good_subj.yaml rename to auditor/configs/example_good_subj.yaml diff --git a/auditor/example_labs.yaml b/auditor/configs/example_labs.yaml similarity index 100% rename from auditor/example_labs.yaml rename to auditor/configs/example_labs.yaml diff --git a/auditor/example_regex_capture.yaml b/auditor/configs/example_regex_capture.yaml similarity index 100% rename from auditor/example_regex_capture.yaml rename to auditor/configs/example_regex_capture.yaml