From b5d090b5a2cd40674838318aa3e26f848acee5d2 Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Mon, 19 Nov 2018 17:01:09 +1100 Subject: [PATCH] AAI-1925 Fix EdgeRules for Casablanca Issue-ID: AAI-1925 Fix EdgeRules for Casablanca Restore what was accidentally lost in a previous transformation. Remove the SVC-INFRA property. Change-Id: I89080a1ea7636bbbeffea6d2fde12a31b2b8d2dd Signed-off-by: Keong Lim --- .../onap/dbedgerules/v13/DbEdgeRules_v13.json | 24 ++++++++++++++++++++++ .../onap/dbedgerules/v14/DbEdgeRules_v14.json | 24 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json index df28f23d..2eeff31d 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json @@ -1,5 +1,29 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "allotted-resource", + "label": "tosca.relationships.network.BindsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, + { + "from": "allotted-resource", + "to": "p-interface", + "label": "org.onap.relationships.inventory.Uses", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, { "from": "allotted-resource", "to": "generic-vnf", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json index fe258453..96c38cba 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json @@ -1,5 +1,29 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "allotted-resource", + "label": "tosca.relationships.network.BindsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, + { + "from": "allotted-resource", + "to": "p-interface", + "label": "org.onap.relationships.inventory.Uses", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, { "from": "allotted-resource", "to": "generic-vnf", -- 2.16.6