Skip to content

Commit 089b34a

Browse files
authored
feat: removing the demographics application stage 2 (#35186)
* removing the application folder * removing references in all other files FIXES: APER-3560
1 parent e9e4a3d commit 089b34a

24 files changed

+6
-316
lines changed

.github/workflows/pylint-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- module-name: lms-2
1919
path: "--django-settings-module=lms.envs.test lms/djangoapps/gating/ lms/djangoapps/grades/ lms/djangoapps/instructor/ lms/djangoapps/instructor_analytics/ lms/djangoapps/discussion/ lms/djangoapps/edxnotes/ lms/djangoapps/email_marketing/ lms/djangoapps/experiments/ lms/djangoapps/instructor_task/ lms/djangoapps/learner_dashboard/ lms/djangoapps/learner_home/ lms/djangoapps/lms_initialization/ lms/djangoapps/lms_xblock/ lms/djangoapps/lti_provider/ lms/djangoapps/mailing/ lms/djangoapps/mobile_api/ lms/djangoapps/monitoring/ lms/djangoapps/ora_staff_grader/ lms/djangoapps/program_enrollments/ lms/djangoapps/rss_proxy lms/djangoapps/static_template_view/ lms/djangoapps/staticbook/ lms/djangoapps/support/ lms/djangoapps/survey/ lms/djangoapps/teams/ lms/djangoapps/tests/ lms/djangoapps/user_tours/ lms/djangoapps/verify_student/ lms/djangoapps/mfe_config_api/ lms/envs/ lms/lib/ lms/tests.py"
2020
- module-name: openedx-1
21-
path: "--django-settings-module=lms.envs.test openedx/core/types/ openedx/core/djangoapps/ace_common/ openedx/core/djangoapps/agreements/ openedx/core/djangoapps/api_admin/ openedx/core/djangoapps/auth_exchange/ openedx/core/djangoapps/bookmarks/ openedx/core/djangoapps/cache_toolbox/ openedx/core/djangoapps/catalog/ openedx/core/djangoapps/ccxcon/ openedx/core/djangoapps/commerce/ openedx/core/djangoapps/common_initialization/ openedx/core/djangoapps/common_views/ openedx/core/djangoapps/config_model_utils/ openedx/core/djangoapps/content/ openedx/core/djangoapps/content_libraries/ openedx/core/djangoapps/content_staging/ openedx/core/djangoapps/contentserver/ openedx/core/djangoapps/cookie_metadata/ openedx/core/djangoapps/cors_csrf/ openedx/core/djangoapps/course_apps/ openedx/core/djangoapps/course_date_signals/ openedx/core/djangoapps/course_groups/ openedx/core/djangoapps/courseware_api/ openedx/core/djangoapps/crawlers/ openedx/core/djangoapps/credentials/ openedx/core/djangoapps/credit/ openedx/core/djangoapps/dark_lang/ openedx/core/djangoapps/debug/ openedx/core/djangoapps/demographics/ openedx/core/djangoapps/discussions/ openedx/core/djangoapps/django_comment_common/ openedx/core/djangoapps/embargo/ openedx/core/djangoapps/enrollments/ openedx/core/djangoapps/external_user_ids/ openedx/core/djangoapps/zendesk_proxy/ openedx/core/djangolib/ openedx/core/lib/ openedx/core/tests/ openedx/core/djangoapps/course_live/"
21+
path: "--django-settings-module=lms.envs.test openedx/core/types/ openedx/core/djangoapps/ace_common/ openedx/core/djangoapps/agreements/ openedx/core/djangoapps/api_admin/ openedx/core/djangoapps/auth_exchange/ openedx/core/djangoapps/bookmarks/ openedx/core/djangoapps/cache_toolbox/ openedx/core/djangoapps/catalog/ openedx/core/djangoapps/ccxcon/ openedx/core/djangoapps/commerce/ openedx/core/djangoapps/common_initialization/ openedx/core/djangoapps/common_views/ openedx/core/djangoapps/config_model_utils/ openedx/core/djangoapps/content/ openedx/core/djangoapps/content_libraries/ openedx/core/djangoapps/content_staging/ openedx/core/djangoapps/contentserver/ openedx/core/djangoapps/cookie_metadata/ openedx/core/djangoapps/cors_csrf/ openedx/core/djangoapps/course_apps/ openedx/core/djangoapps/course_date_signals/ openedx/core/djangoapps/course_groups/ openedx/core/djangoapps/courseware_api/ openedx/core/djangoapps/crawlers/ openedx/core/djangoapps/credentials/ openedx/core/djangoapps/credit/ openedx/core/djangoapps/dark_lang/ openedx/core/djangoapps/debug/ openedx/core/djangoapps/discussions/ openedx/core/djangoapps/django_comment_common/ openedx/core/djangoapps/embargo/ openedx/core/djangoapps/enrollments/ openedx/core/djangoapps/external_user_ids/ openedx/core/djangoapps/zendesk_proxy/ openedx/core/djangolib/ openedx/core/lib/ openedx/core/tests/ openedx/core/djangoapps/course_live/"
2222
- module-name: openedx-2
2323
path: "--django-settings-module=lms.envs.test openedx/core/djangoapps/geoinfo/ openedx/core/djangoapps/header_control/ openedx/core/djangoapps/heartbeat/ openedx/core/djangoapps/lang_pref/ openedx/core/djangoapps/models/ openedx/core/djangoapps/monkey_patch/ openedx/core/djangoapps/oauth_dispatch/ openedx/core/djangoapps/olx_rest_api/ openedx/core/djangoapps/password_policy/ openedx/core/djangoapps/plugin_api/ openedx/core/djangoapps/plugins/ openedx/core/djangoapps/profile_images/ openedx/core/djangoapps/programs/ openedx/core/djangoapps/safe_sessions/ openedx/core/djangoapps/schedules/ openedx/core/djangoapps/service_status/ openedx/core/djangoapps/session_inactivity_timeout/ openedx/core/djangoapps/signals/ openedx/core/djangoapps/site_configuration/ openedx/core/djangoapps/system_wide_roles/ openedx/core/djangoapps/theming/ openedx/core/djangoapps/user_api/ openedx/core/djangoapps/user_authn/ openedx/core/djangoapps/util/ openedx/core/djangoapps/verified_track_content/ openedx/core/djangoapps/video_config/ openedx/core/djangoapps/video_pipeline/ openedx/core/djangoapps/waffle_utils/ openedx/core/djangoapps/xblock/ openedx/core/djangoapps/xmodule_django/ openedx/core/tests/ openedx/features/ openedx/testing/ openedx/tests/ openedx/core/djangoapps/learner_pathway/ openedx/core/djangoapps/notifications/ openedx/core/djangoapps/staticfiles/ openedx/core/djangoapps/content_tagging/"
2424
- module-name: common

.github/workflows/unit-test-shards.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"openedx/core/djangoapps/course_live/",
107107
"openedx/core/djangoapps/dark_lang/",
108108
"openedx/core/djangoapps/debug/",
109-
"openedx/core/djangoapps/demographics/",
110109
"openedx/core/djangoapps/discussions/",
111110
"openedx/core/djangoapps/django_comment_common/",
112111
"openedx/core/djangoapps/embargo/",
@@ -187,7 +186,6 @@
187186
"openedx/core/djangoapps/credit/",
188187
"openedx/core/djangoapps/dark_lang/",
189188
"openedx/core/djangoapps/debug/",
190-
"openedx/core/djangoapps/demographics/",
191189
"openedx/core/djangoapps/discussions/",
192190
"openedx/core/djangoapps/django_comment_common/",
193191
"openedx/core/djangoapps/embargo/",

lms/envs/common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3350,9 +3350,6 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
33503350
# Management of external user ids
33513351
'openedx.core.djangoapps.external_user_ids',
33523352

3353-
# Provides api for Demographics support
3354-
'openedx.core.djangoapps.demographics',
3355-
33563353
# Management of per-user schedules
33573354
'openedx.core.djangoapps.schedules',
33583355

lms/urls.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@
129129
),
130130
),
131131

132-
# Demographics API RESTful endpoints
133-
path('api/demographics/', include('openedx.core.djangoapps.demographics.rest_api.urls')),
134-
135132
# Courseware search endpoints
136133
path('search/', include('search.urls')),
137134

openedx/core/djangoapps/demographics/README.rst

Lines changed: 0 additions & 19 deletions
This file was deleted.

openedx/core/djangoapps/demographics/__init__.py

Whitespace-only changes.

openedx/core/djangoapps/demographics/admin.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

openedx/core/djangoapps/demographics/api/__init__.py

Whitespace-only changes.

openedx/core/djangoapps/demographics/api/status.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

openedx/core/djangoapps/demographics/docs/decisions/0001-demographics-djangoapp-api.rst

Lines changed: 0 additions & 22 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/0001_initial.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/0002_clean_duplicate_entries.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/0003_auto_20200827_1949.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/0004_alter_historicaluserdemographics_options.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/0005_remove_demographics_models.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

openedx/core/djangoapps/demographics/migrations/__init__.py

Whitespace-only changes.

openedx/core/djangoapps/demographics/models.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

openedx/core/djangoapps/demographics/rest_api/__init__.py

Whitespace-only changes.

openedx/core/djangoapps/demographics/rest_api/urls.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

openedx/core/djangoapps/demographics/rest_api/v1/__init__.py

Whitespace-only changes.

openedx/core/djangoapps/demographics/rest_api/v1/urls.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

openedx/core/djangoapps/demographics/rest_api/v1/views.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

scripts/user_retirement/retire_one_learner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
lms: http://localhost:18000/
1111
ecommerce: http://localhost:18130/
1212
credentials: http://localhost:18150/
13-
demographics: http://localhost:18360/
1413
retirement_pipeline:
1514
- ['RETIRING_CREDENTIALS', 'CREDENTIALS_COMPLETE', 'CREDENTIALS', 'retire_learner']
1615
- ['RETIRING_ECOM', 'ECOM_COMPLETE', 'ECOMMERCE', 'retire_learner']
17-
- ['RETIRING_DEMOGRAPHICS', 'DEMOGRAPHICS_COMPLETE', 'DEMOGRAPHICS', 'retire_learner']
1816
- ['RETIRING_LICENSE_MANAGER', 'LICENSE_MANAGER_COMPLETE', 'LICENSE_MANAGER', 'retire_learner']
1917
- ['RETIRING_FORUMS', 'FORUMS_COMPLETE', 'LMS', 'retirement_retire_forum']
2018
- ['RETIRING_EMAIL_LISTS', 'EMAIL_LISTS_COMPLETE', 'LMS', 'retirement_retire_mailings']

0 commit comments

Comments
 (0)