summaryrefslogtreecommitdiffstats
path: root/docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl
diff options
context:
space:
mode:
authorRene_Robert <rene.robert@orange.com>2019-11-28 11:26:39 +0100
committerEric Debeau <eric.debeau@orange.com>2019-11-29 15:08:18 +0000
commit0551898080e85a2af6bb9442459ee548e58bd21b (patch)
tree0bde2d833c576e968bf990f65b198f33e0bf1bf6 /docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl
parent4de8b081b1d461e5435fea66705789d141d93ad4 (diff)
major update for simplest and working example
Issue-ID: DOC-569 with Andreas remarks modify parameter mapping image rst correction Signed-off-by: Rene_Robert <rene.robert@orange.com> Change-Id: I852c75c6dd4619bb1c2e96ea9e257a5319917dad
Diffstat (limited to 'docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl')
-rwxr-xr-xdocs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl b/docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl
new file mode 100755
index 000000000..209d78023
--- /dev/null
+++ b/docs/guides/onap-user/design/parameter_resolution/ubuntu_example/cba-before-enrichment/Templates/ubuntuCDS-template.vtl
@@ -0,0 +1,37 @@
+{
+ "resource-accumulator-resolved-data": [
+ {
+ "param-name": "service-instance-id",
+ "param-value": "${service-instance-id}"
+ },
+ {
+ "param-name": "vnf_id",
+ "param-value": "${vnf-id}"
+ },
+ {
+ "param-name": "vnf_name",
+ "param-value": "${vnf_name}"
+ }
+ ],
+ "capability-data": [
+ {
+ "capability-name": "aai-vnf-put",
+ "key-mapping": [
+ {
+ "payload": [
+ {
+ "param-name": "generic-vnf",
+ "param-value": "generic-vnf"
+ }
+ ],
+ "output-key-mapping": [
+ {
+ "resource-name": "aai-vnf-put",
+ "resource-value": "${status}"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file