[MGNLSITE-165] Ensure that Multisite works with Norsu-pages on SaaS Created: 19/Oct/22 Updated: 18/Apr/23 Resolved: 10/Nov/22 |
|
| Status: | Closed |
| Project: | Magnolia Site Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Dai Ha |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 2d 1h | Time Spent: | 3h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||||||||||||
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: | ||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||
| Epic Link: | Site on 6.3 and SaaS | |||||||||||||||||||||||||
| Sprint: | DevX 23 | |||||||||||||||||||||||||
| Story Points: | 3 | |||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Description |
|
Verify that Multisite works with Norsu-pages on SaaS Try it out, see if it works. If it doesnt, then fix it. Document any steps necessary or issues discovered. - This is the scenario that we want to test: https://docs.magnolia-cms.com/headless/spa-development/SPA-hosting.html Using "siteSpa" and the template Prototype to provide a `baseUrl` and `routeTemplate`. In pages app we should have 2 root pages, which are the 2 sites. Each root page should have a child page. Each of these 2 sites should be able to point to a different "frontend" using a different `baseUrl`. |
| Comments |
| Comment by Christopher Zimmermann [ 20/Oct/22 ] |
|
jsimak or mdivilek do you have any input or sample of how the site definition should look like in order to match the different root nodes based on name? |
| Comment by Dai Ha [ 26/Oct/22 ] |
|
Blocked by https://jira.magnolia-cms.com/browse/PAGES-870, templates from both jcr & spa could not load, I will try to bootstrap some page under norsu to continue. |
| Comment by Christopher Zimmermann [ 08/Nov/22 ] |
|
Can you please check if a subpage of the sites work as well? Or did you already? |
| Comment by Christopher Zimmermann [ 08/Nov/22 ] |
|
dai.ha or oanh.thai can you point to the site definitions used for testing? Or add them inline to the description or in a comment? Thanks! |
| Comment by Christopher Zimmermann [ 08/Nov/22 ] |
|
oanh.thai I'm just realizing now that the video does not really show me if the siteSpa is working - it shows me that the page editor is working. Did we test that 2 sites with different `baseUrl` s were correctly resolved for the two pages in the pages app? We can have a call. |
| Comment by Oanh Thai Hoang [ 09/Nov/22 ] |
|
Hi sorry for making you confused czimmermann . I used following repo inspired from Dai. You can find site definition here. And the templates here. I set permission again so you can open it now I did test with subpage as well. Now sportstations will run in port 3002, and travel will run with 3000 as below imgs
sub page travel/contact with port 3000
|
| Comment by Dai Ha [ 09/Nov/22 ] |
|
czimmermann, you can find one sample here: https://git.magnolia-cms.com/projects/CLOUD/repos/hello-saas/commits?until=refs%2Fheads%2Fdev%2Fsite-support |
| Comment by Christopher Zimmermann [ 09/Nov/22 ] |
|
Great thanks. Looks good! |