diff options
author | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-08-07 19:07:35 +0000 |
---|---|---|
committer | Kevin Smokowski <ks6305@att.com> | 2018-08-08 19:33:46 +0000 |
commit | 42478b1721879ead6d595a238c45acd1c1f039c6 (patch) | |
tree | 74ff35430b2b214aadb68829fdfb76df8d7ffaf1 /template-node/provider/src/test/resources/basic.vtl | |
parent | efd6f9e3d2f770f16a6cb93efc061fe502a56979 (diff) |
add template node
add tempalte node implementation
Change-Id: Ifd3e6e7f2a7b9ff7029b523eab50274e440652cc
Issue-ID: CCSDK-440
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
Diffstat (limited to 'template-node/provider/src/test/resources/basic.vtl')
-rw-r--r-- | template-node/provider/src/test/resources/basic.vtl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/template-node/provider/src/test/resources/basic.vtl b/template-node/provider/src/test/resources/basic.vtl new file mode 100644 index 00000000..63fcc670 --- /dev/null +++ b/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 |