From 2a38123ac4785278289dc029308f115286210bd4 Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Thu, 29 Mar 2018 10:06:01 -0400 Subject: Convert cloud region to esr edge Issue-ID: AAI-973 Change-Id: Id56186db269ccee9a96a6de25dc7e695d354026e Signed-off-by: Kajur, Harish (vk250x) --- aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json | 12 ++++++------ aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json | 12 ++++++------ aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'aai-core/src/main') diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json index dc8565ee..3117bc0e 100644 --- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json +++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json @@ -49,13 +49,13 @@ "default": "true" }, { - "from": "cloud-region", - "to": "esr-system-info", - "label": "has", + "from": "esr-system-info", + "to": "cloud-region", + "label": "org.onap.relationships.inventory.BelongsTo", "direction": "OUT", - "multiplicity": "One2Many", - "contains-other-v": "${direction}", - "delete-other-v": "${direction}", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", "SVC-INFRA": "NONE", "prevent-delete": "NONE", "default": "true" diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json index 89c68068..7bb8ad88 100644 --- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json +++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json @@ -49,13 +49,13 @@ "default": "true" }, { - "from": "cloud-region", - "to": "esr-system-info", - "label": "has", + "from": "esr-system-info", + "to": "cloud-region", + "label": "org.onap.relationships.inventory.BelongsTo", "direction": "OUT", - "multiplicity": "One2Many", - "contains-other-v": "${direction}", - "delete-other-v": "${direction}", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", "SVC-INFRA": "NONE", "prevent-delete": "NONE", "default": "true" diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json index 89c68068..7bb8ad88 100644 --- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json +++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json @@ -49,13 +49,13 @@ "default": "true" }, { - "from": "cloud-region", - "to": "esr-system-info", - "label": "has", + "from": "esr-system-info", + "to": "cloud-region", + "label": "org.onap.relationships.inventory.BelongsTo", "direction": "OUT", - "multiplicity": "One2Many", - "contains-other-v": "${direction}", - "delete-other-v": "${direction}", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", "SVC-INFRA": "NONE", "prevent-delete": "NONE", "default": "true" -- cgit 1.2.3-korg