aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j2')
-rw-r--r--src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j2 b/src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j2
new file mode 100644
index 0000000..46bd527
--- /dev/null
+++ b/src/onapsdk/sdc/templates/sdc_resource_component_set_property_value.json.j2
@@ -0,0 +1,13 @@
+[
+ {
+ "name":"{{ property.name }}",
+ "parentUniqueId":"{{ component.actual_component_uid }}",
+ "type":"{{ property.property_type }}",
+ "uniqueId":"{{ component.actual_component_uid }}.{{ property.name }}",
+ "value":"{{ value }}",
+ "definition":false,
+ "toscaPresentation":{
+ "ownerId":"{{ component.actual_component_uid }}"
+ }
+ }
+] \ No newline at end of file