From be18b07288f94cca0378c4bbcd2b6429899273dd Mon Sep 17 00:00:00 2001 From: Eugene Dyudyunov Date: Tue, 9 Jul 2024 14:22:24 +0300 Subject: [PATCH] fix: Drop reference to mailings retirement Retire mailings step uses LMS API that was removed starting from Ironwood release so it was removed. Co-authored-by: Florian Haas --- CHANGELOG.md | 1 + tutorretirement/patches/openedx-lms-common-settings | 3 --- .../retirement/build/retirement/pipeline_config/config.yml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d693a3f..8477354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Unreleased * [Bug fix] Complete the removal of (not-ever-working) support for the Ecommerce service, by also removing references to that service from the `openedx-lms-common-settings` patch. +* [Bug fix] Remove references to the mailing API (which in turn was removed from the LMS in Ironwood). * [Bug fix] Remove references to the (not-ever-working) Discovery service. ## Version 3.3.1 (2024-07-03) diff --git a/tutorretirement/patches/openedx-lms-common-settings b/tutorretirement/patches/openedx-lms-common-settings index 3ad8504..0393685 100644 --- a/tutorretirement/patches/openedx-lms-common-settings +++ b/tutorretirement/patches/openedx-lms-common-settings @@ -6,9 +6,6 @@ RETIREMENT_STATES = [ 'LOCKING_ACCOUNT', 'LOCKING_COMPLETE', - 'RETIRING_EMAIL_LISTS', - 'EMAIL_LISTS_COMPLETE', - 'RETIRING_ENROLLMENTS', 'ENROLLMENTS_COMPLETE', diff --git a/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml b/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml index da9f7da..38fa6cf 100644 --- a/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml +++ b/tutorretirement/templates/retirement/build/retirement/pipeline_config/config.yml @@ -8,7 +8,6 @@ base_urls: retirement_pipeline: {% if FORUM_VERSION is defined %}- [ 'RETIRING_FORUMS', 'FORUMS_COMPLETE', 'LMS', 'retirement_retire_forum' ]{% endif %} {% if NOTES_HOST is defined %}- [ 'RETIRING_NOTES', 'NOTES_COMPLETE', 'LMS', 'retirement_retire_notes' ]{% endif %} - - [ 'RETIRING_EMAIL_LISTS', 'EMAIL_LISTS_COMPLETE', 'LMS', 'retirement_retire_mailings' ] - [ 'RETIRING_ENROLLMENTS', 'ENROLLMENTS_COMPLETE', 'LMS', 'retirement_unenroll' ] - [ 'RETIRING_LMS_MISC', 'LMS_MISC_COMPLETE', 'LMS', 'retirement_lms_retire_misc' ] - [ 'RETIRING_LMS', 'LMS_COMPLETE', 'LMS', 'retirement_lms_retire' ]