[MGNLREST-537] [Norsu] Remove workspace and root path on @path metadata Created: 20/Oct/22  Updated: 15/Feb/23  Resolved: 20/Dec/22

Status: Closed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0, 3.0.1

Type: Improvement Priority: Neutral
Reporter: Canh Nguyen Assignee: Rishab Dhar
Resolution: Fixed Votes: 0
Labels: needs-pm
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Relates
relation
is related to PAGES-942 [Norsu] Remove workspace from templat... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLREST-538 Implementation Sub-task Closed Rishab Dhar  
MGNLREST-539 Review Sub-task Completed Canh Nguyen  
MGNLREST-540 Pre-Integration QA Sub-task Completed Robert Šiška  
MGNLREST-541 QA Sub-task Completed Javier Benito  
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: Norsu delivery endpoint (phase 1)
Sprint: DevX 25, DevX 26
Story Points: 3
Team: DeveloperX

 Description   

Update: Decision is made - we can now proceed on this ticket.
(Please consider that we would like to have path manipulation code related to 'workspace' consolidated in one location. Not sure if that needs to be in this ticket or perhaps a future one.)

TODO:

When querying norsu nodes, it will append workspace and root path to the query and return the full path to `@path` metadata. When SPA apps use this info and query to the endpoint with the full path that will not work.

Please note that on Norsu delivery endpiont we will no longer support the 'rootPath' parameter.

Workspace property should be a single word, not a path, no slashes.

 

Note: We also need to do the same for Norsu pages app. Currently, the pages app shows full paths.


Generated at Mon Feb 12 07:00:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.