From cc8bc14f3fbae6af12aac128f120cc8afd326cd2 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Fri, 18 Jul 2025 10:25:59 +0500 Subject: [PATCH] chore: remove library authoring mfe --- .devcontainer/devcontainer.json | 3 +-- docker-compose-host.yml | 6 ------ docker-compose.yml | 18 ------------------ docs/service_list.rst | 3 --- options.mk | 2 +- py_configuration_files/cms.py | 1 - py_configuration_files/lms.py | 1 - repo.sh | 2 -- 8 files changed, 2 insertions(+), 34 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1741438..46ae76b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -37,7 +37,7 @@ "postStartCommand": ".devcontainer/postStartCommand.sh", "forwardPorts": [ 1976, 1984, 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 3001, 3406, 5335, 7474, 8000, 8081, 8734, 8735, 9021, 9201, 9202, + 2001, 3406, 5335, 7474, 8000, 8081, 8734, 8735, 9021, 9201, 9202, 9301, 9600, 18000, 18010, 18040, 18110, 18120, 18130, 18150, 18160, 18170, 18270, 18280, 18381, 18400, 18450, 18734, 18760, 18787, 19001, 27017, 44567 @@ -67,7 +67,6 @@ "1999": { "label": "frontend-app-authn" }, "18734": { "label": "registrar" }, "1976": { "label": "frontend-app-program-console" }, - "3001": { "label": "frontend-app-library-authoring" }, "2001": { "label": "frontend-app-course-authoring" }, "1997": { "label": "frontend-app-account" }, "1995": { "label": "frontend-app-profile" }, diff --git a/docker-compose-host.yml b/docker-compose-host.yml index 743891f..992b8b1 100644 --- a/docker-compose-host.yml +++ b/docker-compose-host.yml @@ -201,11 +201,6 @@ services: - ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning - frontend_app_learning_node_modules:/edx/app/frontend-app-learning/node_modules - ${DEVSTACK_WORKSPACE}/src:/edx/app/src - frontend-app-library-authoring: - volumes: - - ${DEVSTACK_WORKSPACE}/frontend-app-library-authoring:/edx/app/frontend-app-library-authoring - - frontend_app_library_authoring_node_modules:/edx/app/frontend-app-library-authoring/node_modules - - ${DEVSTACK_WORKSPACE}/src:/edx/app/src frontend-app-payment: volumes: - ${DEVSTACK_WORKSPACE}/frontend-app-payment:/edx/app/frontend-app-payment @@ -239,7 +234,6 @@ volumes: frontend_app_learner_dashboard_node_modules: frontend_app_learner_record_node_modules: frontend_app_learning_node_modules: - frontend_app_library_authoring_node_modules: frontend_app_payment_node_modules: frontend_app_program_console_node_modules: frontend_app_publisher_node_modules: diff --git a/docker-compose.yml b/docker-compose.yml index 27ab68a..664ca50 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1130,24 +1130,6 @@ services: depends_on: - lms - frontend-app-library-authoring: - extends: - file: microfrontend.yml - service: microfrontend - working_dir: '/edx/app/frontend-app-library-authoring' - container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-library-authoring" - environment: - PARAGON_BRAND_PACKAGE: '@edx/brand-edx.org@2.x' - networks: - default: - aliases: - - edx.devstack.frontend-app-library-authoring - ports: - - "3001:3001" - depends_on: - - lms - - cms - frontend-app-payment: extends: file: microfrontend.yml diff --git a/docs/service_list.rst b/docs/service_list.rst index 19a62de..59c4508 100644 --- a/docs/service_list.rst +++ b/docs/service_list.rst @@ -47,8 +47,6 @@ Instead of a service name or list, you can also run commands like ``make dev.pro +-------------------------------------------+-------------------------------------+----------------+--------------+ | `frontend-app-program-console`_ | http://localhost:1976/ | MFE (React.js) | Extra | +-------------------------------------------+-------------------------------------+----------------+--------------+ -| `frontend-app-library-authoring`_ | http://localhost:3001/ | MFE (React.js) | Extra | -+-------------------------------------------+-------------------------------------+----------------+--------------+ | `frontend-app-course-authoring`_ | http://localhost:2001/ | MFE (React.js) | Extra | +-------------------------------------------+-------------------------------------+----------------+--------------+ | `frontend-app-account`_ | http://localhost:1997/ | MFE (React.js) | Extra | @@ -106,7 +104,6 @@ Some common service combinations include: .. _frontend-app-learner-dashboard: https://github.com/openedx/frontend-app-learner-dashboard .. _frontend-app-learner-record: https://github.com/openedx/frontend-app-learner-record .. _frontend-app-learning: https://github.com/openedx/frontend-app-learning -.. _frontend-app-library-authoring: https://github.com/openedx/frontend-app-library-authoring .. _frontend-app-course-authoring: https://github.com/openedx/frontend-app-course-authoring .. _frontend-app-account: https://github.com/openedx/frontend-app-account .. _frontend-app-profile: https://github.com/openedx/frontend-app-profile diff --git a/options.mk b/options.mk index 0e317ce..a934498 100644 --- a/options.mk +++ b/options.mk @@ -67,7 +67,7 @@ credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-authn+frontend- # Separated by plus signs. # Separated by plus signs. Listed in alphabetical order for clarity. EDX_SERVICES ?= \ -analyticsapi+codejail+enterprise-subsidy+credentials+cms+cms-worker+cms_watcher+discovery+ecommerce+edx-exams+edx_notes_api+forum+frontend-app-account+frontend-app-learner-dashboard+frontend-app-learner-record+frontend-app-profile+frontend-app-authn+frontend-app-course-authoring+frontend-app-gradebook+frontend-app-ora-grading+frontend-app-learning+frontend-app-library-authoring+frontend-app-payment+frontend-app-program-console+frontend-app-publisher+insights+lms+lms-worker+lms_watcher+registrar+registrar-worker+xqueue+xqueue_consumer+enterprise-catalog+license-manager+designer+enterprise-access+frontend-app-admin-portal+frontend-app-learner-portal-enterprise+frontend-app-enterprise-checkout +analyticsapi+codejail+enterprise-subsidy+credentials+cms+cms-worker+cms_watcher+discovery+ecommerce+edx-exams+edx_notes_api+forum+frontend-app-account+frontend-app-learner-dashboard+frontend-app-learner-record+frontend-app-profile+frontend-app-authn+frontend-app-course-authoring+frontend-app-gradebook+frontend-app-ora-grading+frontend-app-learning+frontend-app-payment+frontend-app-program-console+frontend-app-publisher+insights+lms+lms-worker+lms_watcher+registrar+registrar-worker+xqueue+xqueue_consumer+enterprise-catalog+license-manager+designer+enterprise-access+frontend-app-admin-portal+frontend-app-learner-portal-enterprise+frontend-app-enterprise-checkout # Services with database migrations. # Should be a subset of $(EDX_SERVICES). diff --git a/py_configuration_files/cms.py b/py_configuration_files/cms.py index 4afa105..fb7309d 100644 --- a/py_configuration_files/cms.py +++ b/py_configuration_files/cms.py @@ -289,7 +289,6 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing # MFEs that will call this service in devstack CSRF_TRUSTED_ORIGINS = [ - 'http://localhost:3001', # frontend-app-library-authoring 'http://localhost:2001', # frontend-app-course-authoring 'http://localhost:1992', # frontend-app-ora 'http://localhost:1999', # frontend-app-authn diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 3c6a9fc..23054cb 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -310,7 +310,6 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing 'localhost:1994', # frontend-app-gradebook 'localhost:2000', # frontend-app-learning 'localhost:2001', # frontend-app-course-authoring - 'localhost:3001', # frontend-app-library-authoring 'localhost:18400', # frontend-app-publisher 'localhost:1993', # frontend-app-ora-grading 'localhost:1996', # frontend-app-learner-dashboard diff --git a/repo.sh b/repo.sh index 8467e15..e551aaf 100755 --- a/repo.sh +++ b/repo.sh @@ -47,7 +47,6 @@ non_release_repos=( "https://github.com/openedx/frontend-app-authn.git" "https://github.com/openedx/frontend-app-course-authoring.git" "https://github.com/openedx/frontend-app-learning.git" - "https://github.com/openedx/frontend-app-library-authoring.git" "https://github.com/edx/registrar.git" "https://github.com/edx/frontend-app-program-console.git" "https://github.com/openedx/frontend-app-account.git" @@ -87,7 +86,6 @@ non_release_ssh_repos=( "git@github.com:openedx/frontend-app-authn.git" "git@github.com:openedx/frontend-app-course-authoring.git" "git@github.com:openedx/frontend-app-learning.git" - "git@github.com:openedx/frontend-app-library-authoring.git" "git@github.com:edx/registrar.git" "git@github.com:edx/frontend-app-program-console.git" "git@github.com:openedx/frontend-app-account.git"