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

Replicate with Options WF - Support finer replication granularity #2740

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wildone
Copy link
Contributor

@wildone wildone commented Nov 10, 2021

The idea behind these extensions is to allow replicating parts of a page without replicating the whole page to the publisher and invalidate the page path with the dispatcher. This allows updates of metadata on a page without updating whole page.

An example is if you have jcr:content/seo metadata that needs to be updated without replicating the whole page.

This extended version will test if the current payload has a valid child that needs to be replicated if the not current path will be replicated. If flush dispatcher has been enabled this will also replicate this or parent path as payload. Parent payload path is found by resource type that is specified.

@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)

### Fixed

- #2740 - Add additional options to Replicate With Options workflow process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add to line 13ff, 5.0.4 has been released already.

public ReplicationOptions getReplicationOptionsDispatcher(Resource content) {
ReplicationOptions replicationOptionsDispatcher = new ReplicationOptions();
replicationOptionsDispatcher.setSynchronous(
replicationOptionsDispatcher.isSynchronous()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get this line here? Is source and target really both the new object replicationOptionsDispatcher?

@davidjgonzalez davidjgonzalez changed the title add additional options. Replicate with Options WF - Support finer replication granularity Dec 14, 2021
@davidjgonzalez davidjgonzalez added this to the 5.1.2 milestone Dec 14, 2021
@kwin kwin removed this from the 5.1.2 milestone Jan 21, 2022
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.

None yet

3 participants