summaryrefslogtreecommitdiffstats
path: root/cba/resource-resolution/Templates/hello-world-template.vtl
diff options
context:
space:
mode:
Diffstat (limited to 'cba/resource-resolution/Templates/hello-world-template.vtl')
-rw-r--r--cba/resource-resolution/Templates/hello-world-template.vtl16
1 files changed, 16 insertions, 0 deletions
diff --git a/cba/resource-resolution/Templates/hello-world-template.vtl b/cba/resource-resolution/Templates/hello-world-template.vtl
new file mode 100644
index 0000000..f821770
--- /dev/null
+++ b/cba/resource-resolution/Templates/hello-world-template.vtl
@@ -0,0 +1,16 @@
+{
+ "default": "${v_default}",
+ "input": "${v_input}",
+ "script": {
+ "python": "${v_python}",
+ "kotlin": "${v_kotlin}"
+ },
+ "db": "${v_db.get(0).value}",
+ "rest": {
+ "GET": "${v_get}",
+ "POST": "${v_post}",
+ "PUT": "${v_put}",
+ "PATCH": "${v_patch}",
+ "DELETE": "${v_del}"
+ }
+}