aem-project-archetype icon indicating copy to clipboard operation
aem-project-archetype copied to clipboard

Add exclusion for test-site in Dispatcher configurations

Open ireasor opened this issue 4 years ago • 1 comments

Many customers end up hitting a Cloud Manager pipeline failure when they attempt to deploy dispatcher configurations that contain a URL rewrite. This is because we have a replication test that creates a page under /content/test-site, replicates the page, checks for it on the publish instance, and then deletes it. Since the path is rewritten, the page is not found, and the test fails.

To help protect customers from this issue, we should add an exclusion rule of some sort to the dispatcher configurations generated by the project archetype, with a comment that informs them that they should not remove it for the reason specified above.

Expected Behaviour

The dispatcher configurations generated by the archetype include a rewrite condition excluding content under /content/test-site.

Actual Behaviour

No such condition is included.

Platform and Version

AEM as a Cloud Service

ireasor avatar Jan 29 '21 18:01 ireasor

See also https://github.com/adobe/aem-test-samples/issues/27 to improve better reporting in case the ReplicationIT test fails.

joerghoh avatar Feb 01 '21 11:02 joerghoh