From 8a91f32b353a049d0f6a59ffae6a023a3a43c79c Mon Sep 17 00:00:00 2001 From: Niharika Sharma Date: Mon, 9 Aug 2021 14:31:50 -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-3366 Signed-off-by: Niharika Sharma Change-Id: Ic98353c35902610792de8680effd0aa1b7ce36a6 --- .../onap/dbedgerules/v24/DbEdgeRules_v24.json | 48 +++++++++++----------- .../main/resources/onap/oxm/v24/aai_oxm_v24.xml | 24 ++--------- 2 files changed, 27 insertions(+), 45 deletions(-) (limited to 'aai-schema/src/main/resources/onap') 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 6826a78..1735909 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,30 +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": "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", diff --git a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml index 6c730a3..6591ec1 100644 --- a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml +++ b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml @@ -9837,7 +9837,7 @@ - + @@ -9863,23 +9863,6 @@ - - - - - - - - - - - - - - - - - @@ -9961,14 +9944,13 @@ - - + - + -- cgit 1.2.3-korg