summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2021-07-06 07:34:49 -0400
committerMunir Ahmad <munir.ahmad@bell.ca>2021-07-06 14:10:40 +0000
commited3eb6edde0bc6103423105d930e9f3b40313d80 (patch)
treeecb69af1d1a57e5369da169774ce0e4c9af9b086 /aai-schema/src/main/resources/onap/dbedgerules
parent30fb062485008c5006a480c8c4fe2fcc7dbe5961 (diff)
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 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I9dcf213015e2e5ae19bb4ca11496d5d93e6fea44
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules')
-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",