Skip to content

Commit

Permalink
suggested / needed to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aysim319 committed Nov 27, 2024
1 parent e97c3cc commit 26d69f3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- TODO: #527 Get this list automatically from python-ci.yml at runtime.
*/

def indicator_list = ['backfill_corrections', 'changehc', 'claims_hosp', 'google_symptoms', 'hhs_hosp', 'nchs_mortality', 'quidel_covidtest', 'sir_complainsalot', 'doctor_visits', 'nwss_wastewater', 'nssp']
def indicator_list = ['backfill_corrections', 'changehc', 'claims_hosp', 'google_symptoms', 'hhs_hosp', 'nchs_mortality', 'quidel_covidtest', 'sir_complainsalot', 'doctor_visits', 'nwss_wastewater', 'nssp', 'nhsn']
def build_package_main = [:]
def build_package_prod = [:]
def deploy_staging = [:]
Expand Down
30 changes: 30 additions & 0 deletions ansible/templates/nhsn-params-prod.json.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"common": {
"export_dir": "/common/covidcast/receiving/nhsn",
"backup_dir": "./raw_data_backups",
"log_filename": "/var/log/indicators/nhsn.log",
"log_exceptions": false
},
"indicator": {
"wip_signal": true,
"static_file_dir": "./static",
"socrata_token": "{{ nhsn_token }}"
},
"validation": {
"common": {
"data_source": "nhsn",
"api_credentials": "{{ validation_api_key }}",
"span_length": 15,
"min_expected_lag": {"all": "7"},
"max_expected_lag": {"all": "13"},
"dry_run": true,
"suppressed_errors": []
},
"static": {
"minimum_sample_size": 0,
"missing_se_allowed": true,
"missing_sample_size_allowed": true
},
"dynamic": {}
}
}
4 changes: 4 additions & 0 deletions ansible/templates/sir_complainsalot-params-prod.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
"nssp": {
"max_age":19,
"maintainers": []
},
"nhsn": {
"max_age":19,
"maintainers": []
}
}
}
3 changes: 3 additions & 0 deletions ansible/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ nwss_wastewater_token: "{{ vault_cdc_socrata_token }}"
# nssp
nssp_token: "{{ vault_cdc_socrata_token }}"

# nhsn
nhsn_token: "{{ vault_cdc_socrata_token }}"

# SirCAL
sir_complainsalot_api_key: "{{ vault_sir_complainsalot_api_key }}"
sir_complainsalot_slack_token: "{{ vault_sir_complainsalot_slack_token }}"
Expand Down

0 comments on commit 26d69f3

Please sign in to comment.