Merge pull request #31676 from openedx/jhynes/aper-2240_remove-settings

fix: remove unused settings from edx-paltform related to learner record MFE
This commit is contained in:
Justin Hynes
2023-01-31 11:24:27 -05:00
committed by GitHub
3 changed files with 0 additions and 25 deletions

View File

@@ -4915,13 +4915,6 @@ DISCUSSIONS_MICROFRONTEND_URL = None
# .. setting_default: None
# .. setting_description: Base URL of the discussions micro-frontend google form based feedback.
DISCUSSIONS_MFE_FEEDBACK_URL = None
# .. setting_name: LEARNER_RECORD_MFE_URL
# .. setting_default: None
# .. setting_description: Base URL of the micro-frontend responsible for displaying Learner Record and Program record
# pages. This MFE replaces the legacy frontend originally offered in the Credentials IDA.
# .. setting_warning: In order to route requests to the MFE correctly you must also create and enable the credentials
# app's `USE_LEARNER_RECORD_MFE` waffle flag. See openedx/core/djangoapps/credentials/config.py.
LEARNER_RECORD_MICROFRONTEND_URL = None
# .. toggle_name: ENABLE_AUTHN_RESET_PASSWORD_HIBP_POLICY
# .. toggle_implementation: DjangoSetting
# .. toggle_default: False

View File

@@ -369,7 +369,6 @@ ACCOUNT_MICROFRONTEND_URL = 'http://localhost:1997'
COMMUNICATIONS_MICROFRONTEND_URL = 'http://localhost:1984'
AUTHN_MICROFRONTEND_URL = 'http://localhost:1999'
AUTHN_MICROFRONTEND_DOMAIN = 'localhost:1999'
LEARNER_RECORD_MICROFRONTEND_URL = 'http://localhost:1990'
################### FRONTEND APPLICATION DISCUSSIONS ###################
DISCUSSIONS_MICROFRONTEND_URL = 'http://localhost:2002'

View File

@@ -1,17 +0,0 @@
"""
This module contains various configuration settings via waffle switches for the Credentials app.
"""
from edx_toggles.toggles import WaffleSwitch
# Namespace
WAFFLE_NAMESPACE = 'credentials'
# .. toggle_name: credentials.use_learner_record_mfe
# .. toggle_implementation: WaffleSwitch
# .. toggle_default: False
# .. toggle_description: This toggle will inform the Program Dashboard to route to the Learner Record MFE over the
# legacy frontend of the Credentials IDA.
# .. toggle_use_cases: open_edx
# .. toggle_creation_date: 2022-09-07
USE_LEARNER_RECORD_MFE = WaffleSwitch(f"{WAFFLE_NAMESPACE}.use_learner_record_mfe", __name__)