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: allow clients of customer content_metadata view to skip ent customer fetches #702

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

iloveagent57
Copy link
Contributor

@iloveagent57 iloveagent57 commented Oct 25, 2023

ENT-7864 | Allows clients of the EnterpriseCustomerViewSet.content_metadata view to include an optional skip_customer_fetch query param. If present and truthy, including this param will cause the serialized content metadata to not fetch related enterprise customer details from the edx-enterprise REST API. Thus the presence of this query param means that the serialized 'content_last_modified' time will not take into account the customer modified time. Additionally, it means that no 'enrollment_url' fields will be present in the serialized response.

Ticket Link

ENT-7864

Post-review

  • Squash commits into discrete sets of changes
  • Ensure that once the changes have been deployed to stage, prod is manually deployed

@iloveagent57 iloveagent57 force-pushed the aed/skip-customer-fetch branch from 1a51d6e to ca23cac Compare October 25, 2023 16:51
…tomer fetches.

ENT-7864 | Allows clients of the EnterpriseCustomerViewSet.content_metadata
view to include an optional `skip_customer_fetch` query param.
If present and truthy, including this param will cause
the serialized content metadata to not fetch related enterprise customer
details from the edx-enterprise REST API.  Thus the presence of this
query param means that the serialized 'content_last_modified' time
will not take into account the *customer* modified time.  Additionally,
it means that no 'enrollment_url' fields will be present in the serialied
response.
@iloveagent57 iloveagent57 force-pushed the aed/skip-customer-fetch branch from ca23cac to b28d96e Compare October 25, 2023 16:51
@iloveagent57 iloveagent57 changed the title feat: all clients of customer content_metadata view to skip ent customer fetches feat: allow clients of customer content_metadata view to skip ent customer fetches Oct 25, 2023
@iloveagent57 iloveagent57 merged commit e4c43c8 into master Oct 25, 2023
5 checks passed
@iloveagent57 iloveagent57 deleted the aed/skip-customer-fetch branch October 25, 2023 17:07
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