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 env variable for user delete flow for ml services #3921

Merged
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
17 changes: 16 additions & 1 deletion ansible/roles/stack-sunbird/templates/ml-core-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,19 @@ KAFKA_GROUP_ID={{ml_core_kafka_group_id | default("ml-core-service")}}
PROGRAM_USERS_JOINED_TOPIC={{ml_core_program_users_joined_topic | default (env_name+".programuser.info")}}

#TimeOffset with respect to UTC
TIMEZONE_DIFFRENECE_BETWEEN_LOCAL_TIME_AND_UTC={{ml_core_timezone_diffrenece_between_local_time_and_utc | default ("+05:30")}}
TIMEZONE_DIFFRENECE_BETWEEN_LOCAL_TIME_AND_UTC={{ml_core_timezone_diffrenece_between_local_time_and_utc | default ("+05:30")}}

#User Delete on and off flow
USER_DELETE_ON_OFF={{manage_learn_ user_delete_on_off | default("ON")}}

#Topic name for user delete event consumer Topic Name
USER_DELETE_TOPIC={{user_delete_topic_name | default(env_name+".delete.user")}}

#ml core service id
ID={{ml_core_service_id | default(env_name+"."+sunbird_instance+".ml.core.service")}}

#Telemetry enable/disbale service
TELEMETRY_ON_OFF={{manage_learn_telemetry_on_off | default("ON")}}

#Topic name for telemetry
TELEMETRY_TOPIC={{telemetry_raw_topic_name | default(env_name+".telemetry.raw")}}
15 changes: 15 additions & 0 deletions ansible/roles/stack-sunbird/templates/ml-projects-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,18 @@ USER_SERVICE_URL={{ml_project_user_service_URL | default("http://userorg-service

# certificate issuer KID value
CERTIFICATE_ISSUER_KID={{certificate_issuer_kid | default("")}}

#User Delete on and off flow
USER_DELETE_ON_OFF={{manage_learn_ user_delete_on_off | default("ON")}}

#Topic name for user delete event consumer Topic Name
USER_DELETE_TOPIC={{user_delete_topic_name | default(env_name+".delete.user")}}

#ml core service id
ID={{ml_core_service_id | default(env_name+"."+sunbird_instance+".ml.project.service")}}

#Telemetry enable/disbale service
TELEMETRY_ON_OFF={{manage_learn_telemetry_on_off | default("ON")}}

#Topic name for telemetry
TELEMETRY_TOPIC={{telemetry_raw_topic_name | default(env_name+".telemetry.raw")}}
15 changes: 15 additions & 0 deletions ansible/roles/stack-sunbird/templates/ml-survey-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,18 @@ KEYCLOAK_PUBLIC_KEY_PATH={{ml_survey_keycloak_public_key_path|default("keycloak-

## portal url of env
APP_PORTAL_BASE_URL={{ proto }}://{{ domain_name }}

#User Delete on and off flow
USER_DELETE_ON_OFF={{manage_learn_ user_delete_on_off | default("ON")}}

#Topic name for user delete event consumer Topic Name
USER_DELETE_TOPIC={{user_delete_topic_name | default(env_name+".delete.user")}}

#ml core service id
ID={{ml_core_service_id | default(env_name+"."+sunbird_instance+".ml.survey.service")}}

#Telemetry enable/disbale service
TELEMETRY_ON_OFF={{manage_learn_telemetry_on_off | default("ON")}}

#Topic name for telemetry
TELEMETRY_TOPIC={{telemetry_raw_topic_name | default(env_name+".telemetry.raw")}}