Commit 80341f3
feat: add contentSourcePath to deliveryConfig schema (#1520)
JIRA: https://jira.corp.adobe.com/browse/SITES-41284
## Problem
- Multiple AEM CS sites can share the same Cloud Manager program and
environment (e.g. insureshield.com, about.ups.com, parcelpro.com on
p55671/e392469).
- The existing lookup by programId+environmentId returns an arbitrary
first match, causing Preflight to resolve the wrong site.
## Fix
- Add `contentSourcePath` (the AEM content root, e.g. /content/aboutus)
to the `deliveryConfig` schema, TypeScript interface, and documentation
so it can serve as an additional discriminator.
Thanks for contributing!
Co-authored-by: Radhika Gupta <radhikagupta@Radhikas-MacBook-Pro-2.local>1 parent 59e44f8 commit 80341f3
3 files changed
Lines changed: 3 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
0 commit comments