[MGNLRESTCL-9] Add Rest templating function Created: 08/Jun/15  Updated: 04/Aug/15  Resolved: 15/Jun/15

Status: Closed
Project: REST Client
Component/s: resteasy
Affects Version/s: None
Fix Version/s: 1.0.4

Type: New Feature Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File rest-rendering-ctx-attr.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Comments   
Comment by Roman Kovařík [ 09/Jun/15 ]

Resolved:

  1. The number comes from free marker comes as BigInteger. This means that method with Integer declaration would not work. We could do same conversion but this would make code obfuscating thus primitive types would probably never work. We should write future services to meat the needs of restfn (Use BigIntegers or rather Strings for numbers).
  2. info.magnolia.rendering.module.setup.InstallRendererContextAttributeTask was copied since it's only available in 5.4 and should be probably ported also to 5.3
Comment by Jan Haderka [ 12/Jun/15 ]

NPE when params are null.
Also the naming of function is probably not super intuitive/easy-to-remember
and it might be better to provide function to obtain service and then be able to perform multiple calls against same service variable rather then having to specify client and service interface again and again for each call

Comment by Roman Kovařík [ 02/Jul/15 ]

Missing optional dependency to rendering:
https://jira.magnolia-cms.com/secure/bbb.gp.gitviewer.Commit.jspa?commitId=1581be976a99bc9f7275224a640394376c3bae60&repoId=284&path=

Generated at Mon Feb 12 10:42:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.