From a7e04ac9a1faaa6b219cd1544269f04fa04ddd9b Mon Sep 17 00:00:00 2001 From: Mehreen Kaleem Date: Thu, 3 Dec 2020 05:51:33 +0000 Subject: Updated AAI schema and DBEdge rules for the MDONS use Case Issue-ID: AAI-3225 Signed-off-by: Mehreen Kaleem Change-Id: I207ee99270a1bf6d346e9e4fd4431bb79fda3be3 --- .../onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json | 12 ------------ .../onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json | 12 ------------ .../main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json | 4 ++-- .../onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json | 12 ------------ .../main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json | 4 ++-- 5 files changed, 4 insertions(+), 40 deletions(-) (limited to 'aai-schema/src/main/resources/onap/dbedgerules') diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json index 396d970..9f191f7 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json @@ -531,18 +531,6 @@ "prevent-delete": "NONE", "default": "true", "description":"For MDONS usecase" - }, - { - "from": "label-restriction", - "to": "bandwidth-attribute", - "label": "org.onap.relationships.inventory.BelongsTo", - "direction": "OUT", - "multiplicity": "MANY2ONE", - "contains-other-v": "!${direction}", - "delete-other-v": "!${direction}", - "prevent-delete": "NONE", - "default": "true", - "description":"For MDONS usecase" } ] } diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json index 883c6ef..2f295e7 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json @@ -532,18 +532,6 @@ "prevent-delete": "NONE", "default": "true", "description":"For MDONS usecase" - }, - { - "from": "label-restriction", - "to": "bandwidth-attribute", - "label": "org.onap.relationships.inventory.BelongsTo", - "direction": "OUT", - "multiplicity": "MANY2ONE", - "contains-other-v": "!${direction}", - "delete-other-v": "!${direction}", - "prevent-delete": "NONE", - "default": "true", - "description":"For MDONS usecase" } ] } diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json index 977af56..a2065da 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json @@ -1481,9 +1481,9 @@ "to": "logical-link", "label": "tosca.relationships.network.LinksTo", "direction": "OUT", - "multiplicity": "MANY2ONE", + "multiplicity": "MANY2MANY", "contains-other-v": "NONE", - "delete-other-v": "NONE", + "delete-other-v": "${direction}", "prevent-delete": "NONE", "default": "true", "description":"" diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json index f1dfae3..0c7e77c 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json @@ -532,18 +532,6 @@ "prevent-delete": "NONE", "default": "true", "description":"For MDONS usecase" - }, - { - "from": "label-restriction", - "to": "bandwidth-attribute", - "label": "org.onap.relationships.inventory.BelongsTo", - "direction": "OUT", - "multiplicity": "MANY2ONE", - "contains-other-v": "!${direction}", - "delete-other-v": "!${direction}", - "prevent-delete": "NONE", - "default": "true", - "description":"For MDONS usecase" } ] } diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json index 2c2c0fc..1e748e2 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json @@ -1457,9 +1457,9 @@ "to": "logical-link", "label": "tosca.relationships.network.LinksTo", "direction": "OUT", - "multiplicity": "MANY2ONE", + "multiplicity": "MANY2MANY", "contains-other-v": "NONE", - "delete-other-v": "NONE", + "delete-other-v": "${direction}", "prevent-delete": "NONE", "default": "true", "description": "" -- cgit 1.2.3-korg