aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/etc/payloads/add_resource_relationship.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/etc/payloads/add_resource_relationship.jinja')
-rw-r--r--onap-client/etc/payloads/add_resource_relationship.jinja17
1 files changed, 17 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