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

refactor: Resume-able Apple migration mgmt cmds #31954

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

moeez96
Copy link
Contributor

@moeez96 moeez96 commented Mar 17, 2023

Description

This PR is in continuation to #31861.
Since the management commands (generate_and_store_apple_transfer_ids, generate_and_store_new_apple_ids) to generate Apple identifiers include network requests to Apple API, the command can take quite a while to complete.
This PR enables the management command to:

  1. Refresh access token once it expires
  2. Make the command resume-able i.e. if it ends due to edxapp worker life, and run again, the command will resume from where it left off.

Supporting information

Link to Jira tickets:

Deadline

20-22 March 2023

@moeez96 moeez96 merged commit a0eeb35 into master Mar 20, 2023
@moeez96 moeez96 deleted the LEARNER-8790 branch March 20, 2023 08:03
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants