From b0ea23a79903a1a97c822779236f5675b10bfbfd Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Wed, 24 Jul 2024 13:00:13 +0200 Subject: [PATCH] Document new CQ_MODIFIED_CREATED_OR_CURRENT comparisonDate --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9a399f..3ec14ce 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The following options are supported apart from the default settings mentioned in Option | Mandatory | Description | Default Value | Since Version --- | --- | --- | --- | --- -`includedNodePathPatternsAndTypes` | no | Comma-separated list of node types, where each item has the format outlined below. | `.*/settings/wcm/templates/[^/]*[nt:Template], .*/settings/wcm/templates/[^/]*/structure[cq:Page], .*/settings/wcm/templates/[^/]*/policies[cq:Page], .*/settings/wcm/policies/.*[wcm/core/components/policy/policy], .*/settings/dam/cfm/models/.*[dam/cfm/models/console/components/data/entity/default], /(apps\|conf)/.*/(sling:configs\|settings/cloudconfigs)/.*[cq:Page]), /(apps\|conf)/.*/jcr:content[cq/contexthub/components/segment-page]` | 1.0.0 +`includedNodePathPatternsAndTypes` | no | Comma-separated list of node types, where each item has the format outlined below. | `.*/settings/wcm/templates/[^/]*[nt:Template], .*/settings/wcm/templates/[^/]*/structure[cq:Page], .*/settings/wcm/templates/[^/]*/policies[cq:Page], .*/settings/wcm/policies/.*[wcm/core/components/policy/policy], .*/settings/dam/cfm/models/.*[dam/cfm/models/console/components/data/entity/default];comparisonDate=CQ_MODIFIED_CREATED_OR_CURRENT, /(apps\|conf)/.*/(sling:configs\|settings/cloudconfigs)/.*[cq:Page]), /(apps\|conf)/.*/jcr:content[cq/contexthub/components/segment-page]` | 1.0.0 `excludedNodePathPatternsAndTypes` | no | Comma-separated list of node types, where each item has the format outlined below. | `.\*/settings/wcm/templates/[^/]*/initial[cq:Page]` | 1.3.0 `strictLastModificationDateCheck` | no | `true` means that nodes without a last modification property should always lead to validation errors. Otherwise they are handled in a lenient fashion like AEM behaves (i.e. assumption is that the modification date is -1 which is older than all replication dates). | `false` | 1.0.0 `agentNames` | no | Comma-separated list of replication/distribution agent names whose replication metadata should be checked. Only relevant for AEMaaCS where it should be set to `publish,preview` in case the [Preview tier][preview-tier] is used next to the regular publish service. | `publish` | 1.1.0 @@ -58,7 +58,7 @@ Since version 1.4.0 you can additionally specify attributes per each node type. Attribute Name | Allowed Attribute Values | Description | Since Version --- | --- | --- | --- -`comparisonDate` | `MODIFIED` or `MODIFIED_CREATED_OR_CURRENT`. `MODIFIED` compares the replication date with either property `cq:lastModified` or `jcr:lastModified`. `MODIFIED_CREATED_OR_CURRENT` compares the replication date with property `cq:lastModified`, `jcr:lastModified` or `jcr:created` and falls back to the current date (if none of the previous properties are found). Default = `MODIFIED` | Determines the date property which should be compared with the `cq:lastReplicated` date. | 1.4.0 +`comparisonDate` | `MODIFIED`, `MODIFIED_CREATED_OR_CURRENT` or `CQ_MODIFIED_CREATED_OR_CURRENT`. `MODIFIED` compares the replication date with either property `cq:lastModified` or `jcr:lastModified`. `MODIFIED_CREATED_OR_CURRENT` compares the replication date with property `cq:lastModified`, `jcr:lastModified` or `jcr:created` and falls back to the current date (if none of the previous properties are found). `CQ_MODIFIED_CREATED_OR_CURRENT` compares the replication date with property `cq:lastModified` or `cq:created` and falls back to the current date (if none of the previous properties are found). Default = `MODIFIED` | Determines the date property which should be compared with the `cq:lastReplicated` date. | 1.4.0 # Fix Violations