aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/sdc/templates/sdc_element_action.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/sdc/templates/sdc_element_action.json.j2')
-rw-r--r--src/onapsdk/sdc/templates/sdc_element_action.json.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/src/onapsdk/sdc/templates/sdc_element_action.json.j2 b/src/onapsdk/sdc/templates/sdc_element_action.json.j2
new file mode 100644
index 0000000..04fd946
--- /dev/null
+++ b/src/onapsdk/sdc/templates/sdc_element_action.json.j2
@@ -0,0 +1,6 @@
+{
+{% if action == const.COMMIT %}
+ "commitRequest":{"message":"ok"},
+{% endif %}
+ "action": "{{ action }}"
+}