summaryrefslogtreecommitdiffstats
path: root/cba/resource-resolution/Templates/hello-world-template.jinja
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2021-01-21 14:17:58 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-21 14:17:58 +0000
commit2a26e7f038190ef736a73443ee56169fea6815a9 (patch)
tree4822f88f7fc70277f6559c198ee7cb4277d4eaeb /cba/resource-resolution/Templates/hello-world-template.jinja
parent8908c43db11c2eecc2b6e730a5c99f6ec3091a95 (diff)
parente92fce768cb792f11920f45fdbb38b3af69e212f (diff)
Merge "Update to latest version"honolulu
Diffstat (limited to 'cba/resource-resolution/Templates/hello-world-template.jinja')
-rw-r--r--cba/resource-resolution/Templates/hello-world-template.jinja20
1 files changed, 20 insertions, 0 deletions
diff --git a/cba/resource-resolution/Templates/hello-world-template.jinja b/cba/resource-resolution/Templates/hello-world-template.jinja
new file mode 100644
index 0000000..27c614e
--- /dev/null
+++ b/cba/resource-resolution/Templates/hello-world-template.jinja
@@ -0,0 +1,20 @@
+{
+ "default": "{{ j_default }}",
+ "input": "{{ j_input }}",
+ "script": {
+ "python": "{{ j_python }}",
+ "kotlin": {
+ "base": "{{ j_kotlin }}"
+ "from suspend function": "{{ from_suspend_function }}"
+ }
+ },
+ "db": "{{ j_db[0].value }}",
+ "rest": {
+ "GET": "{{j_get}}",
+ "GET_ID": "{{j_get_id}}",
+ "POST": "{{j_post}}",
+ "PUT": "{{j_put}}",
+ "PATCH": "{{j_patch}}",
+ "DELETE": "{{j_del}}"
+ }
+}