aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-11-19 17:01:09 +1100
committerKeong Lim <keong.lim@huawei.com>2018-11-22 00:59:22 +1100
commitb5d090b5a2cd40674838318aa3e26f848acee5d2 (patch)
treed3ef422271471aaec35f5afbea74e4806a25e08d
parent63cd58a68b5b31e68832c99b63ae549f9b2b38de (diff)
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 <keong.lim@huawei.com>
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json24
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json24
2 files changed, 48 insertions, 0 deletions
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
@@ -2,6 +2,30 @@
"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",
"label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",
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
@@ -2,6 +2,30 @@
"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",
"label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",