adobe / adobe/aem-project-archetype
Add exclusion for test-site in Dispatcher configurations
- Dominant language
- JavaScript
- Stars
- 596
- Forks
- 431
- Avg merge
- 10d 6h
- Merged PRs (30d)
- 1
Description
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
Contributor guide
Research direction
Start by locating the archetype templates that generate dispatcher configurations and the entry point for the replication test described in the issue. Verify that generated configurations exclude /content/test-site and include a comment explaining why the exclusion must remain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100