-
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]: Remove Enterprise Catalog API V1 from edx-enterprise #61
[DEPR]: Remove Enterprise Catalog API V1 from edx-enterprise #61
Comments
The replacement service for these v1 apis is: https://github.com/openedx/enterprise-catalog |
After talking to Enterprise folks here at 2U, we have determined that we have three usages that are still pointing to the old catalog endpoints, but there's only one relevant one that should be implementable on the new enterprise-catalog service. Usages: Recommended course of action:
|
@dianakhuang I made an additional research and determined that this endpoint already exists in enterprise-catalogs and some of methods exists in endpoint above. As for other methods, like course_detail, course_run_detail, program_detail the calls these methods in edx-enterprise is no longer used. Instead ecommerce, frontend-app-admin-portal, edx-enterprise-data repositories called to enterprise-catalog or discovery api. And one more question. |
@ruzniaievdm trying to summarize to make sure I've understood currectly. It sounds like you're saying the endpoint we need to create already exists in the enterprise catalog. We just need to start using it and then we can remove the version that's in the |
@feanil Yes, after my research, I came to the conclusion that this is true. |
As long as the usages of the old endpoint get updated, I'm okay with the differing API. |
@dianakhuang @feanil @ruzniaievdm: Ignore this comment if it is unrelated to this effort, but when I saw V1 catalog, it made me think of the following: https://github.com/edx/api-manager/blob/master/swagger/api.yaml#L31-L37. |
I believe @robrap's observation is valid -- the AWS API Gateway serves as a proxy to the enterprise catalog service for external consumers. As long as those proxy V1 endpoints are maintained and continue to return a valid response to consumers we can update the backend components however we wish. |
@robrap @mattdrayer who owns the api-manager? It looks like the v2 endpoints already exist, so we can either just remove the v1 endpoints when they're deleted or we can update them to proxy to the v2 API(I'm not a fan of this since it's a bit confusing). |
Who is John Galt? 😉 |
Here's how I see it:
|
@mattdrayer I think now is that point, who can do this and how long a lead time do people need given that the V2 endpoints are already available? |
Since these are existing enterprise customers it probably makes sense to coordinate with edX/2U Enterprise Customer Support and possibly the edX/2U Enterprise Product Team. |
I would expect a V1->V2 transition for all enterprise customers/integrators/vendors to take several months, if not longer. |
@mattdrayer makes sense, thanks for setting expectations. Can you also confirm that the process has started? Or connect me with the right people for starting the process? |
I've sent you a message in Open edX Slack with some contact info to start with. I don't know if the process has started at this point -- I think there was a previous attempt that stalled. |
@feanil openedx/edx-enterprise-data#345 this PR is merged and deployed. |
We are in the process of building a new service that will replace the existing enterprise catalog functionality, so we plan to deprecate and remove the existing endpoints at the point when we have the new ones up and running.
We will remove these endpoints specifically:
** course_detail: https://github.com/edx/edx-enterprise/blob/master/enterprise/api/v1/views.py#L350
** course_run_detail: https://github.com/edx/edx-enterprise/blob/master/enterprise/api/v1/views.py#L378
** program_detail: https://github.com/edx/edx-enterprise/blob/master/enterprise/api/v1/views.py#L406
See here for more details on the migration plan: https://docs.google.com/document/d/1jvmryjFR6KwLdHKbJYpNRwtvW26-gJTBhkPeD2AufEY/edit
Additional Info
Original Jira Issue: https://openedx.atlassian.net/browse/DEPR-61
The text was updated successfully, but these errors were encountered: