Convert cloud region to esr edge 71/40171/1
authorKajur, Harish (vk250x) <vk250x@att.com>
Thu, 29 Mar 2018 14:06:01 +0000 (10:06 -0400)
committerKajur, Harish (vk250x) <vk250x@att.com>
Thu, 29 Mar 2018 14:06:05 +0000 (10:06 -0400)
Issue-ID: AAI-973
Change-Id: Id56186db269ccee9a96a6de25dc7e695d354026e
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json

index dc8565e..3117bc0 100644 (file)
                        "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"
index 89c6806..7bb8ad8 100644 (file)
                        "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"
index 89c6806..7bb8ad8 100644 (file)
                        "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"