-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
Empty show more show less
-
Empty show more show less
-
AuthX 24 Xmas
-
0.5
The norsu changes have caused changes to the definitions for SPA pages.
However, the Pages app for JCR and Norsu differ only in an endpoint definition, see this thread in slack (PAGES delivery implementation):
"Yes it uses the pages domain classes, and there is also a response adapter that converts the norsu format into the old (jcr) output. So the only change here should be in the endpoint defintion: from JcrDeliveryEndpointDefinition to NorsuDeliveryEndpointDefinition"
Configuration notes in this thread:
"FYI there is a pmam.yaml definition that points to a different react app (baseUrl: https://picton-mahoney-rfp.vercel.app). I will update it to baseUrl: to http://localhost:3001 (not sure if we should bother with it)
I removed the trailing / from the baseUrl, hoping that we won’t get the double slashes in the PageEditor
I also updated the rest endpoints to format the delivery response to the old (jcr) format"
For the docu, class + mapping (this post):
class: info.magnolia.rest.delivery.norsu.NorsuDeliveryEndpointDefinition nodeTypeMappings: 'mgnl:page': info.magnolia.pages.rest.norsu.PageNodeTypeResolver