Skip to content

Commit

Permalink
Merge pull request #12 from prashanthShiksha/release-6.0.0
Browse files Browse the repository at this point in the history
added CAPTURE_USER_PROFILE and CAPTURE_ORGANISATION_NAME config
  • Loading branch information
aks30 authored Jul 31, 2024
2 parents d1a9dc0 + 7a54365 commit 41a0e06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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

0 comments on commit 41a0e06

Please sign in to comment.