-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEPR]: Oscar Ecommerce Stack Deprecation #22
Comments
[2023 UPDATE: This project described here has been cancelled. See @MaferMazu 's comment below for the work we are doing instead -Kyle] Ecommerce Service Deprecation and ReplacementINTROedX's monolithic Ecommerce Service was meant to be a full-featured product catalog, discounting, and order management service and has grown in complexity for many years until it has become very hard to maintain, let alone evolve. In that time, more and better hosted services have become available for solving many of these problems, and complex use cases have evolved that make flexibility vital for Open edX operators, including edx.org. We are building a new system that should be flexible and adaptable enough to support any ecommerce product of choice. By uncoupling openedx from a specific ecommerce product, we will enable more contributors and deployments, and remove edX as a blocker for others’ ecommerce. COMMERCE COORDINATORAt the center of the new system is the Commerce Coordinator, a highly modular Django web service written in Python. Coordinator will provide a framework for configuring ecommerce capabilities. Individual Django apps will act as plugins to implement specific functionality, for example a webhook for a payment service provider to call when a purchase is successful, that plugin can then signal one that performs the fulfillment in the LMS. The core of the Coordinator will allow commerce workflows to be tailored by combining plugins and routing signals, and will eventually include tools for validating configurations and tracing signal flows. ROADMAPWe have completed some upfront design and proof-of-concept work and are now bringing it to the community for awareness, review, and support. The next steps will be to flesh out the Coordinator Core while we begin building decoupling Coordinator Plugins to bridge legacy ecommerce. During this process, edX will also begin building plugins to bridge our ecommerce vendor of choice. We intend to officially deprecate legacy ecommerce by April 1st 2022. When the legacy ecommerce service has been fully decoupled from the platform, it will be removed from openedx or transferred to a new maintainer. Please comment on the deprecation ticket by April 30th 2022 if you would be interested in taking over maintenance. COMMUNITY SUPPORTThe community can support this development effort in three main ways:
Please reach out if you are interested in collaborating on any of these. Coordinator will be rapidly evolving and may need some time to stabilize before being included in named releases. Once stabilized, the core should require relatively few changes, and anyone can write their own plugins to suit their needs and sideload them as desired. COMMUNICATIONTight and transparent communication with the community will be critical to success. To keep the community informed of our progress, edX will provide monthly updates to Discourse. ADDITIONAL REFERENCESLegacy Ecommerce Deprecation Announcement |
The ecommerce and ecommerce-worker repositories have been marked as deprecated; they will be in maintenance-only operation while we work on the replacement. |
We are going to close the ecommerce basket page -> micro-frontend DEPR ticket in favor of this ticket. |
[inform] openedx-unsupported/ecommerce#3943 will drop ecommerce's custom |
Hello!!! :D There is a WooCommerce Integration Project that aims to integrate the Open edX platform with a 3rd party commerce platform. This Integration primarily focuses on workflows that are streamlined:
More info: WooCommerce Discovery The current state of this project:
What's left?
What's next? |
I'm moving this back to Proposed since (a) there was never an official announcement or comment period and (b) the original Commerce Coordinator replacement never happened. I know that WooCommerce plugin exists as a replacement for many use cases, but I don't have the knowledge to say whether or not that's a sufficient replacement. Regardless, if we want to remove ecommerce before Sumac or Teak, we will need to announce it with a 2+ week comment period, and explain what feature will/won't be available in any replacement. |
For what it's worth there's another means of wiring up Open edX with WooCommerce, which is much more loosely-coupled. |
Nice, thanks Florian. |
Created overhangio/tutor-ecommerce#83 for tutor-ecommerce deprecation. |
Given that there were no major objections, this deprecation has been accepted. To give everyone ample time, we'll be adding node 20 support and letting these repos get released as a part of Sumac and then we will archive them. |
The repositories have all been archived and this DEPR is now considered complete. |
@feanil Hi. Weren't these supposed to be part of sumac and then they would have been deprecated (your comment #22 (comment)). If they have been archived, I suspect there won't be any sumac.1 tag for these, right? |
@DawoudSheraz see https://discuss.openedx.org/t/oscar-based-ecommerce-stack-deprecation/13760/10?u=feanil there were some questions about that but the final decision was to not have them be in the sumac release officially. |
Proposal Date
22 Feb 2022
Ticket Acceptance Date
06 Sep 2024
Technology Removal Date
TBD
First Open edX Named Release Without This Functionality
Teak
Rationale
The ecommerce service is based on Django Oscar, which is dropping support for MySQL. On top of that, the ecommerce system is extremely costly to maintain. A search for maintainers for the whole stack has not succeeded.
Removal
The ecommerce application, repository, and configuration will be removed. Hooks and supporting code in other Open edX systems may be deprecated if they do not support a more general-purpose use case. More details will be included in the specific tasks of this epic.
Repositories that we will archive:
The relevant code in the systems that remain and will be removed as a separate task.
Replacement
A new system is in very early design that will serve as a platform for managing the shopping cart, payment, order history, and financial reporting flows. Where it makes sense some current Ecommerce functionality may be moved to other existing systems such as LMS or Discovery. High level architecture documents for the new system are expected to be available for review in October 2021.2023 UPDATE: Rather than rebuilding ecommerce as another bespoke Open-edX application, we propose instead that edx-platform provide APIs and extension points so that it can easily integrate with third-party commerce systems. See @MaferMazu 's WooCommerce comment for work that has been done already).
2024 Update: Along with the WooCommerce plugin, there are other ways to integrate the Open edX Platform with commerce systems. eg. https://github.com/hastexo/webhook-receiver
Target Dates
This is a large project with many moving pieces and impacts on several systems and processes. Current thinking is that replacement will take place in several phases and result in final deprecation of ecommerce in early to mid 2023. As scope and timing become more clear this ticket will be updated.The repositories will be archived on Sept 9th
The code removal from edx-platform and other systems will take a little longer and will be done in future releases and will have their own DEPR announcements.
Additional Context
The current Django Oscar based Ecommerce application has long been a pain point in the Open edX ecosystem, causing issues with performance, compliance, and reporting. It is a large maintenance burden and very difficult to configure and administer. Our desire is to
move to a much smaller pluggable framework that will offertransition towards APIs that support third-party solutions that will hopefully offer operators and developers more flexibility and ease deployment and maintenance burdens.Deprecation
No response
Migration
No response
Additional Info
Original Jira Ticket: https://openedx.atlassian.net/browse/DEPR-169
Tutor Plugin Deprecation Ticket: overhangio/tutor-ecommerce#83
DEPR Announcement: https://discuss.openedx.org/t/oscar-based-ecommerce-stack-deprecation/13760
The text was updated successfully, but these errors were encountered: