Skip to content
4 changes: 3 additions & 1 deletion ansible/roles/ml-analytics-service/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,6 @@ ml_analytics_batch_cron_hour: "{{ ml_batch_cron_hour | default('18') }}"
ml_analytics_nvsk_cron_minute: "{{ ml_nvsk_cron_minute | default('30') }}"
ml_analytics_nvsk_cron_hour: "{{ ml_nvsk_cron_hour | default('7') }}"
ml_analytics_nvsk_cron_weekday: "{{ ml_nvsk_cron_weekday | default('4') }}"
ml_analytics_faust_applications_list: "'observations/py_observation_streaming observations/', 'observations/py_observation_evidence_streaming observations/', 'survey/py_survey_streaming survey/', 'survey/py_survey_evidence_streaming survey/'"
ml_analytics_faust_applications_list: "'observations/py_observation_streaming observations/', 'observations/py_observation_evidence_streaming observations/', 'survey/py_survey_streaming survey/', 'survey/py_survey_evidence_streaming survey/'"
ml_capture_user_profile : "{{ ml_capture_user_profile | default('True') }}"
ml_capture_organisation_name : "{{ ml_capture_organisation_name | default('True') }}"
6 changes: 5 additions & 1 deletion ansible/roles/ml-analytics-service/templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ survey_rollup = {{ ml_analytics_survey_rollup_output_dir }}

survey_status = {{ ml_analytics_survey_status_output_dir }}

observation_sub_ids = {{ ml_analytics_observation_submission_id_filepath }}
observation_sub_ids = {{ ml_analytics_observation_submission_id_filepath }}

observation_druid_data = {{ ml_analytics_observation_batchupdate_output_dir }}

Expand All @@ -188,6 +188,10 @@ survey_druid_data = {{ml_analytics_survey_batchupdate_output_dir}}

program_text_file = {{ml_analytics_project_program}}

CAPTURE_USER_PROFILE = {{ ml_capture_user_profile }}

CAPTURE_ORGANISATION_NAME = {{ ml_capture_organisation_name }}

[SLACK]

token = {{ml_slack_token}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ survey_druid_data = /opt/sparkjobs/source/survey/

program_text_file = /opt/sparkjobs/ml-analytics-service/projects/program_ids.txt

CAPTURE_USER_PROFILE = {{ ml_capture_user_profile | default('True') }}

CAPTURE_ORGANISATION_NAME = {{ ml_capture_organisation_name | default('True') }}

[SLACK]

token = {{ ml_analytics_slack_token | default('') }}
Expand Down