From ae6914fe3dbe526684b8014d5b2c4e5f3f5765d0 Mon Sep 17 00:00:00 2001 From: Leangseu Kim Date: Mon, 27 Nov 2023 11:51:05 -0500 Subject: [PATCH] chore: add ora mfe url env --- lms/envs/common.py | 7 +++++++ lms/envs/devstack.py | 3 +++ lms/envs/test.py | 1 + 3 files changed, 11 insertions(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 820e4ecd9f..59377b67cc 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -4949,6 +4949,13 @@ LEARNING_MICROFRONTEND_URL = None # .. setting_warning: Also set site's openresponseassessment.enhanced_staff_grader # waffle flag. ORA_GRADING_MICROFRONTEND_URL = None +# .. setting_name: ORA_MICROFRONTEND_URL +# .. setting_default: None +# .. setting_description: Base URL for modern openassessment app. +# This is will be show in the open response tab list data. +# .. setting_warning: Also set site's openresponseassessment.mfe_views +# waffle flag. +ORA_MICROFRONTEND_URL = None # .. setting_name: DISCUSSIONS_MICROFRONTEND_URL # .. setting_default: None # .. setting_description: Base URL of the micro-frontend-based discussions page. diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py index 44b5446f4c..525d8d2dad 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -281,6 +281,9 @@ WRITABLE_GRADEBOOK_URL = 'http://localhost:1994' ########################## ORA STAFF GRADING APP ############################## ORA_GRADING_MICROFRONTEND_URL = 'http://localhost:1993' +########################## ORA MFE APP ############################## +ORA_MICROFRONTEND_URL = 'http://localhost:1992' + ########################## LEARNER HOME APP ############################## LEARNER_HOME_MICROFRONTEND_URL = 'http://localhost:1996' diff --git a/lms/envs/test.py b/lms/envs/test.py index 7d50c943a3..9e18344aa1 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -605,6 +605,7 @@ LEARNING_MICROFRONTEND_URL = "http://learning-mfe" DISCUSSIONS_MICROFRONTEND_URL = "http://discussions-mfe" LEARNER_HOME_MICROFRONTEND_URL = "http://learner-home-mfe" ORA_GRADING_MICROFRONTEND_URL = "http://ora-grading-mfe" +ORA_MICROFRONTEND_URL = "http://ora-mfe" ########################## limiting dashboard courses ######################