Problem/Motivation

We are planning to send the rendered entity to content hub in a custom CDF - see #3563794: Add a custom CDF object

This gives us the ability to break dependency chains and limit content-model growth in the transformation subscriber site.

There is however the need to re-queue content when cache tags are invalidated.

For example if the rendered version of a node contains an image from a media entity and that media entity is updated, we need to requeue sending that node

Steps to reproduce

Proposed resolution

Create a custom table to track association between content hub tracked nodes and cache tags.

Create a custom service tagged with cache_tags_invalidator

Have the invalidator read from the custom table and re-queue sending any entities that would be invalidated by the passed tags

Add a service that can store the tags for a given entity type and UUID

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork govcms_ca3-3566268

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

larowlan created an issue. See original summary.

larowlan’s picture

Status: Active » Needs review

joshi.rohit100’s picture

Status: Needs review » Fixed

Changing status given MR is merged

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.