-
Notifications
You must be signed in to change notification settings - Fork 6
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: write reversal on LC enrollment revoked event #282
base: main
Are you sure you want to change the base?
Conversation
Seems reasonable to me. |
05d820f
to
3375576
Compare
I don't know why the PII checker is barfing, but maybe related to weird openedx-events requirement (hard-coded URL with hash). Trust me tests pass. |
requirements/constraints.txt
Outdated
|
||
git+https://github.com/pwnage101/openedx-events.git@f00926ae93e84a114779a0e9c98c152e8927706d#egg=openedx_events |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] do these need to be removed from all the requiremetns files before its merged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, this PR is blocked on merging my openedx-events PR, after which point I'll update this PR to have normal requirements.
f1f8f88
to
b084558
Compare
49b82e4
to
ef53136
Compare
Handle the following event bus event: org.openedx.enterprise.learner_credit_course_enrollment.revoked.v1 under the following openedx-signal: LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED This will perform the same duties as the `write_reversals_from_enterprise_unenrollments` management command, except it operates on only one unenrollment at a time, and no longer calls the "recent unenrollments" API located at: {LMS_BASE_URL}/enterprise/api/v1/operator/enterprise-subsidy-fulfillment/unenrolled/ ENT-9213
…LATION This setting is True in all internal environments now.
ef53136
to
64f7ec7
Compare
Handle the following event bus event:
org.openedx.enterprise.learner_credit_course_enrollment.revoked.v1
under the following openedx-events signal:
LEARNER_CREDIT_COURSE_ENROLLMENT_REVOKED
This will perform the same duties as the
write_reversals_from_enterprise_unenrollments
management command, except it operates on only one unenrollment at a time, and no longer calls the "recent unenrollments" API located at:{LMS_BASE_URL}/enterprise/api/v1/operator/enterprise-subsidy-fulfillment/unenrolled/
ENT-9213