aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/etc
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/etc')
-rw-r--r--onap-client/etc/payloads/add_resource_relationship.jinja17
-rw-r--r--onap-client/etc/payloads/generic_payload.jinja1
-rw-r--r--onap-client/etc/payloads/software_product_update.jinja1
-rw-r--r--onap-client/etc/payloads/update_resource_instance.jinja1
4 files changed, 20 insertions, 0 deletions
diff --git a/onap-client/etc/payloads/add_resource_relationship.jinja b/onap-client/etc/payloads/add_resource_relationship.jinja
new file mode 100644
index 0000000..38c8bf5
--- /dev/null
+++ b/onap-client/etc/payloads/add_resource_relationship.jinja
@@ -0,0 +1,17 @@
+{
+ "fromNode": "{{from_node_resource_id}}",
+ "toNode": "{{to_node_resource_id}}",
+ "relationships": [{
+ "relation": {
+ "relationship": {
+ "type": "{{relationship_type}}"
+ },
+ "capability": "{{capability_name}}",
+ "capabilityOwnerId": "{{capability_owner_id}}",
+ "capabilityUid": "{{capability_id}}",
+ "requirement": "{{requirement_name}}",
+ "requirementOwnerId": "{{from_node_resource_id}}",
+ "requirementUid": "{{requirement_id}}"
+ }
+ }]
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/generic_payload.jinja b/onap-client/etc/payloads/generic_payload.jinja
new file mode 100644
index 0000000..4c6075f
--- /dev/null
+++ b/onap-client/etc/payloads/generic_payload.jinja
@@ -0,0 +1 @@
+{{payload_data}} \ No newline at end of file
diff --git a/onap-client/etc/payloads/software_product_update.jinja b/onap-client/etc/payloads/software_product_update.jinja
new file mode 100644
index 0000000..50e97ff
--- /dev/null
+++ b/onap-client/etc/payloads/software_product_update.jinja
@@ -0,0 +1 @@
+{"description":"{{description}}","creationMethod":"major"} \ No newline at end of file
diff --git a/onap-client/etc/payloads/update_resource_instance.jinja b/onap-client/etc/payloads/update_resource_instance.jinja
new file mode 100644
index 0000000..d19c33d
--- /dev/null
+++ b/onap-client/etc/payloads/update_resource_instance.jinja
@@ -0,0 +1 @@
+{"componentUid":"{{component_id}}"} \ No newline at end of file