[PAGES-676] [SaaS] Reimplement TemplateAnnotationEndpoint on top of Norsu Created: 08/Jul/22  Updated: 12/Jul/22  Resolved: 12/Jul/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0

Type: Story Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Andrei Ichimescu
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones PAGES-687 Port templating annotations endpoint ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: TPR SaaS Norsu Pages
Team: AuthorX

 Description   

Please see the feature branches:
https://git.magnolia-cms.com/projects/MODULES/repos/frontend-helpers/browse?at=refs%2Fheads%2Ffeature%2Fnorsu-patches

The current TemplateAnnotationEndpoint has the free marker templating engine embedded into it in order to generate the comments. See if we can simplify the logic by replacing the engine with a simple String concatenation.

Please see: `info.magnolia.templating.elements.AbstractContentTemplatingElement#renderComments`

cross check with devX if we need to render all the attributes and make sure we include (and output) the correct values


Generated at Mon Feb 12 06:21:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.