Adding enterprise_uuid in course enrollment event#
Status#
Accepted
Context#
event_routing_backends application needs enterprise_uuid in order to send transformed enrollment events to the relevant enterprise customers. At present, enterprise_uuid is not included in the course enrollment events generated by edx enterprise.
Decision#
enterprise_uuid will be added in the course enrollment event generated by edx enterprise and will be added to the context of EVENT_NAME_ENROLLMENT_ACTIVATED emitted by edx platform.
Consequences#
enterprise_uuid will be present in the context of EVENT_NAME_ENROLLMENT_ACTIVATED only if the user has provided an enterprise url during enrollment.