AAI-1925 Fix EdgeRules for Casablanca 02/73002/3
authorKeong Lim <keong.lim@huawei.com>
Mon, 19 Nov 2018 06:01:09 +0000 (17:01 +1100)
committerKeong Lim <keong.lim@huawei.com>
Wed, 21 Nov 2018 13:59:22 +0000 (00:59 +1100)
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>
aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json
aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json

index df28f23..2eeff31 100644 (file)
@@ -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",
index fe25845..96c38cb 100644 (file)
@@ -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",