diff --git a/cms/envs/common.py b/cms/envs/common.py index 5857fa6ba4..3de5453055 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1006,9 +1006,6 @@ INSTALLED_APPS = [ # Signals 'openedx.core.djangoapps.signals.apps.SignalConfig', - # Monitoring signals - 'openedx.core.djangoapps.monitoring', - # Course action state 'course_action_state', diff --git a/lms/envs/common.py b/lms/envs/common.py index bbba794cc7..fa3961713b 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2199,9 +2199,6 @@ INSTALLED_APPS = [ # Country embargo support 'openedx.core.djangoapps.embargo', - # Monitoring functionality - 'openedx.core.djangoapps.monitoring', - # Course action state 'course_action_state', diff --git a/openedx/core/djangoapps/monitoring/README.rst b/openedx/core/djangoapps/monitoring/README.rst deleted file mode 100644 index 4b7617d88b..0000000000 --- a/openedx/core/djangoapps/monitoring/README.rst +++ /dev/null @@ -1,6 +0,0 @@ -This djangoapp is incorrectly named 'monitoring'. - -The name is related to old functionality that used to be a part of this app. - -TODO: The current contents of this app should be joined with other generic -platform utilities and renamed appropriately. diff --git a/openedx/core/djangoapps/monitoring/__init__.py b/openedx/core/djangoapps/monitoring/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/openedx/core/djangoapps/monitoring/startup.py b/openedx/core/djangoapps/monitoring/startup.py deleted file mode 100644 index 108f290772..0000000000 --- a/openedx/core/djangoapps/monitoring/startup.py +++ /dev/null @@ -1,5 +0,0 @@ -""" -Registers signal handlers at startup. -""" -# pylint: disable=unused-import -import openedx.core.djangoapps.monitoring.exceptions diff --git a/openedx/core/djangoapps/util/apps.py b/openedx/core/djangoapps/util/apps.py index 2fc4224a0b..852f4dbd09 100644 --- a/openedx/core/djangoapps/util/apps.py +++ b/openedx/core/djangoapps/util/apps.py @@ -7,8 +7,15 @@ from django.apps import AppConfig class UtilConfig(AppConfig): """ - Let Django know that this is an app with management commands. + Configuration class for the openedx.core.djangoapps.util Django application """ label = 'open_edx_util' name = 'openedx.core.djangoapps.util' verbose_name = 'Open edX Utilities' + + def ready(self): + """ + Registers signal handlers at startup. + """ + # pylint: disable=unused-import + import openedx.core.djangoapps.util.signals diff --git a/openedx/core/djangoapps/monitoring/exceptions.py b/openedx/core/djangoapps/util/signals.py similarity index 100% rename from openedx/core/djangoapps/monitoring/exceptions.py rename to openedx/core/djangoapps/util/signals.py