From b111aaa31feb544948aae72bbbc16e6b551b91c3 Mon Sep 17 00:00:00 2001 From: JAGANNATH-OPTIT <73009211+JAGANNATH-OPTIT@users.noreply.github.com> Date: Thu, 26 Aug 2021 19:18:39 +0530 Subject: [PATCH] Update ml-core-service.env (#2857) * Update ml-core-service.env * Update ml-projects-service.env * Update ml-survey-service.env --- ansible/roles/stack-sunbird/templates/ml-core-service.env | 2 +- ansible/roles/stack-sunbird/templates/ml-projects-service.env | 2 +- ansible/roles/stack-sunbird/templates/ml-survey-service.env | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/stack-sunbird/templates/ml-core-service.env b/ansible/roles/stack-sunbird/templates/ml-core-service.env index a62d40db2..884545413 100755 --- a/ansible/roles/stack-sunbird/templates/ml-core-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-core-service.env @@ -10,7 +10,7 @@ APPLICATION_ENV={{ml_core_node_env|default("development")}} ENABLE_CONSOLE_LOGGING={{ml_core_enable_debug_logging | default("OFF")}} # Mongo DB Configuration -MONGODB_URL=mongodb://{{ml_core_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_core_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # Secure token access Admin related API's # The value of internal access token can be generated by command - "openssl rand -hex 10 diff --git a/ansible/roles/stack-sunbird/templates/ml-projects-service.env b/ansible/roles/stack-sunbird/templates/ml-projects-service.env index c041f2198..ae3db96f9 100644 --- a/ansible/roles/stack-sunbird/templates/ml-projects-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-projects-service.env @@ -11,7 +11,7 @@ INTERNAL_ACCESS_TOKEN={{ml_core_internal_access_token}} # Mongo db configurations # Mongodb host -MONGODB_URL=mongodb://{{ml_project_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_project_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # ML Core Service ML_CORE_SERVICE_URL={{ml_core_service_url | default("http://ml-core-service:3000")}} diff --git a/ansible/roles/stack-sunbird/templates/ml-survey-service.env b/ansible/roles/stack-sunbird/templates/ml-survey-service.env index 4241d0aea..2d6fab695 100644 --- a/ansible/roles/stack-sunbird/templates/ml-survey-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-survey-service.env @@ -6,7 +6,7 @@ APPLICATION_PORT={{ml_survey_port | default("3000")}} APPLICATION_ENV={{ml_survey_node_env|default("development")}} # Mongodb connection url -MONGODB_URL=mongodb://{{ml_survey_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_survey_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # Base url of the sunbird enviornment USER_SERVICE_URL={{ml_survey_user_service_URL | default("http://learner-service:9000")}} -- GitLab