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

[SDESK-7466] Upgrade Publish resources to async #2829

Open
wants to merge 22 commits into
base: async
Choose a base branch
from

Conversation

MarkLark86
Copy link
Contributor

Purpose

Upgrade database resources used by the publishing system to async.

What has changed

  • Upgrade content_filter, filter_condition, products, publish_queue, subscribers and sequences resources to async
  • New superdesk.publish_async module, where these resources are all registered at once
  • Implement a custom publishing cache, for use when checking items against subscribers/products/content filters
  • Add clone, clone_with to dataclass and model
  • Add on_fetched functions to the ResourceRestEndpoints (to provide similar functionality to old rest system)
  • Fix Vocabularies async resource, and implement the on_fetched function in a custom rest endpoint class
  • Update content filtering based tests to use the new async code

@MarkLark86 MarkLark86 added this to the 3.0 milestone Feb 11, 2025
@MarkLark86 MarkLark86 requested a review from eos87 February 11, 2025 05:15
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.

1 participant