aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules/v24
diff options
context:
space:
mode:
authorWilliam Reehil <william.reehil@att.com>2021-07-29 14:56:20 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-29 14:56:20 +0000
commitae3821e7fafc31781d3e3eb16a3525c340bcca08 (patch)
treef1610814fb49f64e7ad3e10e81145011dd36f409 /aai-schema/src/main/resources/onap/dbedgerules/v24
parente4156ab1214268e88716d6153cd7216ef918d1eb (diff)
parented3eb6edde0bc6103423105d930e9f3b40313d80 (diff)
Merge "aai-schema introduce composed-resource to build parent child relationship between service instances this allows us to identify which object is parent and which is child service Issue-ID: AAI-3104"
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v24')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json b/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json
index 62ac5a7..6826a78 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json
@@ -1779,6 +1779,30 @@
"default": "true",
"description": ""
},
+ {
+ "from": "composed-resource",
+ "to": "service-instance",
+ "label": "org.onap.relationships.inventory.ComposedOf",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": ""
+ },
+ {
+ "from": "service-instance",
+ "to": "composed-resource",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "ONE2ONE",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": ""
+ },
{
"from": "service-instance",
"to": "instance-group",