Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added CAPTURE_USER_PROFILE and CAPTURE_ORGANISATION_NAME config #12

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 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,5 @@ 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') }}"
2 changes: 2 additions & 0 deletions ansible/roles/ml-analytics-service/templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ survey_druid_data = {{ml_analytics_survey_batchupdate_output_dir}}

program_text_file = {{ml_analytics_project_program}}

CAPTURE_USER_PROFILE = {{ ml_capture_user_profile }}

[SLACK]

token = {{ml_slack_token}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ 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') }}

[SLACK]

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