summaryrefslogtreecommitdiffstats
path: root/plugins/template-node/provider/src/test/resources/basic.vtl
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
commit96a9aafdff7813324bc8a8ba1e743683e251dde6 (patch)
tree644c6837ab58ed21fb05f4bf988dc392875b9f8d /plugins/template-node/provider/src/test/resources/basic.vtl
parenta0e97e71a49a8b54fddf8fb004b32f202f114011 (diff)
Migrate files from sli-plugins
Migrate sli-plugins repo into new directory "plugins". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'plugins/template-node/provider/src/test/resources/basic.vtl')
-rw-r--r--plugins/template-node/provider/src/test/resources/basic.vtl12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/template-node/provider/src/test/resources/basic.vtl b/plugins/template-node/provider/src/test/resources/basic.vtl
new file mode 100644
index 000000000..63fcc670a
--- /dev/null
+++ b/plugins/template-node/provider/src/test/resources/basic.vtl
@@ -0,0 +1,12 @@
+{
+ "input": {
+ "sdnc-request-header": {
+ "svc-request-id": "$ctx.getAttribute("input.svc-request-id")",
+ "svc-action": "$ctx.getAttribute("action").toUpperCase()"
+ },
+ "service-information": {
+ "service-type": "$params.get("service-type")",
+ "service-instance-id": "$ctx.getAttribute("input.unique-key")"
+ }
+ }
+} \ No newline at end of file