Skip to content

Commit

Permalink
added env for program join and entities enable and disable feature (#…
Browse files Browse the repository at this point in the history
…3936)

* added env variable for user delete flow

* Updating PR

* Added Manage learn in on and off

* added entities and program join enable and disable env keys

* Changed Config

---------

Co-authored-by: ankitshahu <[email protected]>
  • Loading branch information
ankit1shahu and ankitshahu authored Dec 11, 2023
1 parent 1b0dfd5 commit 59a2c5b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ansible/roles/stack-sunbird/templates/ml-core-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ PROGRAM_USERS_JOINED_TOPIC={{ml_core_program_users_joined_topic | default (env_n
#TimeOffset with respect to UTC
TIMEZONE_DIFFRENECE_BETWEEN_LOCAL_TIME_AND_UTC={{ml_core_timezone_diffrenece_between_local_time_and_utc | default ("+05:30")}}

#Validate Entities enable/Disable
VALIDATE_ENTITIES={{ml_service_validate_entities | default ("ON")}}

#User Delete on and off flow
USER_DELETE_ON_OFF={{manage_learn_ user_delete_on_off | default("ON")}}
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")}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ USER_SERVICE_URL={{ml_project_user_service_URL | default("http://userorg-service
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")}}
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")}}
Expand Down
8 changes: 7 additions & 1 deletion ansible/roles/stack-sunbird/templates/ml-survey-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ KEYCLOAK_PUBLIC_KEY_PATH={{ml_survey_keycloak_public_key_path|default("keycloak-
## portal url of env
APP_PORTAL_BASE_URL={{ proto }}://{{ domain_name }}

#Program join enable/disable
PROGRAM_JOIN_ON_OFF={{ml_program_join_on_off | default ("ON")}}

#validate entities enable/disable
VALIDATE_ENTITIES={{ml_service_validate_entities | default ("ON")}}

#User Delete on and off flow
USER_DELETE_ON_OFF={{manage_learn_ user_delete_on_off | default("ON")}}
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")}}
Expand Down

0 comments on commit 59a2c5b

Please sign in to comment.