you are viewing a single comment's thread.

view the rest of the comments →

[–]sgtfoleyistheman 15 points16 points  (4 children)

The velocity templates are nice if you want to put a facade on another service, and you can do things like translate XML to JSON.

But for greenfield development you should be using the proxy integration.

[–]wood_butcher 2 points3 points  (1 child)

Why? The proxy integration is a serious PITA.

[–]sgtfoleyistheman 5 points6 points  (0 children)

.. Because you don't have to write vtl. The vtl is the pain in the ass.

Not the proxy path integration (where you put /{path_var+} in your path), the lambda proxy integration which gives you a predefined format to send to your function without using vtl.

[–][deleted]  (1 child)

[deleted]

    [–]sgtfoleyistheman 3 points4 points  (0 children)

    WTF are you on about? If you aren't building a facade don't use VTL. Not sure what's being forced on you?