Skip to content
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]: EdxRestApiClient #37

Closed
13 of 14 tasks
feanil opened this issue Mar 8, 2022 · 5 comments
Closed
13 of 14 tasks

[DEPR]: EdxRestApiClient #37

feanil opened this issue Mar 8, 2022 · 5 comments
Assignees
Labels
depr Proposal for deprecation & removal per OEP-21 FC-0001

Comments

@feanil
Copy link

feanil commented Mar 8, 2022

Proposal Date

2 April 2019

Ticket Acceptance Date

2 May 2019

Technology Removal Date

30 May 2019

First Open edX Named Release Without This Functionality

Olive

Rationale

EdxRestApiClient is no longer supported, as you may have been able to tell from the many, many deprecation warnings.

In Progress or already done

Ready for Removal

Repos where we're still using EdxRestApiClient:

Currently Private, can't move forward yet

Replacement

As an alternative, use OAuthAPIClient instead: https:/edx/edx-rest-api-client/blob/master/edx_rest_api_client/client.py#L88

We will be switching usages of the old client to OAuthAPIClient as part of this removal.

Deprecation

No response

Migration

No response

Additional Info

Original Jira Issue: https://openedx.atlassian.net/browse/DEPR-21

@feanil feanil added the depr Proposal for deprecation & removal per OEP-21 label Mar 8, 2022
@e0d
Copy link

e0d commented Mar 22, 2022

Discovery items:

  • Is there an underlying application token we can use with the new library
  • In some cases the request is on the behalf of the user and we are passing JOTs around. We will still need to do this, but the current client doesn’t have an interface for supporting JOTs.
  • Need a proposed design for supporting JOTs
  • Inventory of which uses are of each type, server to server versus

@dianakhuang
Copy link

Found a lingering instance of the EdxRestApiClient in openedx/taxonomy-connector: https:/openedx/taxonomy-connector/blob/e196006978e56c75dda56553e324cfbd06da50fb/taxonomy/emsi/client.py

@feanil feanil self-assigned this Jul 19, 2022
@feanil
Copy link
Author

feanil commented Jul 19, 2022

We need to do one last search to confirm that there isn't any usage of the old code and then we can remove the class from the library and release a new breaking version.

@dianakhuang
Copy link

dianakhuang commented Aug 2, 2022

I checked in edx.org New Relic, and there aren't any active usages on edx.org left.

We will want to check again before merging the changes to the old library to verify that this is the case.

@feanil feanil closed this as completed Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depr Proposal for deprecation & removal per OEP-21 FC-0001
Projects
Archived in project
Development

No branches or pull requests

4 participants