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

feat: script for local, large-scale license assignment #565

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

iloveagent57
Copy link
Contributor

ENT-8270 | Adds a script to read an input file of email addresses and make synchronous calls to the license-assignment endpoint to assign licenses for those email addresses within a particular plan.

Link to the associated ticket: https://openedx.atlassian.net/browse/ENT-8270

Testing considerations

  • I've manually-tested this against my local environment, and it works.
  • I don't plan on adding unit tests for this script. Will instead test against appropriate subscription plan and license records in stage and prod.

Post-review

Squash commits into discrete sets of changes

@iloveagent57 iloveagent57 force-pushed the aed/local-assignment-script branch 5 times, most recently from dd32d04 to 14dfb54 Compare February 1, 2024 14:53
ENT-8270 | Adds a script to read an input file of email
addresses and make synchronous calls to the license-assignment
endpoint to assign licenses for those email addresses within
a particular plan.

fetch jwt from client id/secret before assignment request
@iloveagent57 iloveagent57 force-pushed the aed/local-assignment-script branch from 14dfb54 to 0c0ae3d Compare February 2, 2024 19:04
@iloveagent57 iloveagent57 merged commit 79e3bfd into master Feb 2, 2024
7 checks passed
@iloveagent57 iloveagent57 deleted the aed/local-assignment-script branch February 2, 2024 19:29
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.

2 participants