From ed3eb6edde0bc6103423105d930e9f3b40313d80 Mon Sep 17 00:00:00 2001 From: Munir Ahmad Date: Tue, 6 Jul 2021 07:34:49 -0400 Subject: 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 Change-Id: I9dcf213015e2e5ae19bb4ca11496d5d93e6fea44 --- .../onap/dbedgerules/v24/DbEdgeRules_v24.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'aai-schema/src/main/resources/onap/dbedgerules') 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", -- cgit 1.2.3-korg