-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add enterprise signal for learner credit fulfillment revokation (…
…#380) * feat: Add enterprise signal for learner credit fulfillment revokation ENT-9213 * docs: add some model links ENT-9213 * docs: Add more thorough model docs ENT-9213
- Loading branch information
Showing
5 changed files
with
277 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
more information about the project. | ||
""" | ||
|
||
__version__ = "9.11.0" | ||
__version__ = "9.12.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
...ts/schemas/org+openedx+enterprise+learner_credit_course_enrollment+revoked+v1_schema.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "learner_credit_course_enrollment", | ||
"type": { | ||
"name": "LearnerCreditEnterpriseCourseEnrollment", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "created", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "modified", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "fulfillment_type", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "enterprise_course_entitlement_uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "enterprise_course_enrollment", | ||
"type": { | ||
"name": "EnterpriseCourseEnrollment", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "id", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "created", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "modified", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "enterprise_customer_user", | ||
"type": { | ||
"name": "EnterpriseCustomerUser", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "id", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "created", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "modified", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "enterprise_customer_uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "user_id", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "active", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "linked", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "is_relinkable", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "invite_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "should_inactivate_other_customers", | ||
"type": "boolean" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "course_id", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "saved_for_later", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "source_slug", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "unenrolled", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "unenrolled_at", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "is_revoked", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "transaction_id", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.enterprise.learner_credit_course_enrollment.revoked.v1" | ||
} |