Hubspot certificate object#3604
Draft
cp-at-mit wants to merge 5 commits into
Draft
Conversation
Switch certificate syncing from contact properties to dedicated HubSpot custom objects. Adds API helpers to upsert course-run and program certificate objects (unique_app_id handling, association helpers, and schema defs), Celery tasks to enqueue certificate syncs, a management command to create/inspect certificate schemas and print objectType/association IDs, and signal handlers to enqueue tasks on certificate creation. Removes certificate fields from the contact serializer and updates contact sync logic (skip_certificates is now a deprecated no-op). Adds settings for object types and association IDs and updates/extends tests accordingly.
OpenAPI ChangesShow/hide ## Changes for v0.yaml:Unexpected changes? Ensure your branch is up-to-date with |
for more information, see https://pre-commit.ci
| log.debug( | ||
| "Adding property %s for %s", | ||
| obj_property.get("name"), | ||
| ecommerce_object_type, |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are the relevant tickets?
https://github.com/mitodl/hq/issues/11345
Description (What does it do?)
Screenshots (if appropriate):
How can this be tested?
Additional Context