contains-other-v no longer implies delete-other-v
[aai/aai-common.git] / aai-core / src / test / resources / dbedgerules / DbEdgeRules_test.json
index 0031d1f..957129b 100644 (file)
                        "delete-other-v": "${direction}",
                        "SVC-INFRA": "NONE",
                        "prevent-delete": "NONE"
+               },
+               {
+                       "from": "test-parent",
+                       "to": "test-child",
+                       "label": "has",
+                       "direction": "OUT",
+                       "multiplicity": "One2Many",
+                       "contains-other-v": "${direction}",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE"
+               },
+               {
+                       "from": "test-cousin",
+                       "to": "test-child",
+                       "label": "annoys",
+                       "direction": "OUT",
+                       "multiplicity": "One2Many",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "${direction}",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE"
+               },
+               {
+                       "from": "test-child",
+                       "to": "test-grandchild",
+                       "label": "has",
+                       "direction": "OUT",
+                       "multiplicity": "One2Many",
+                       "contains-other-v": "${direction}",
+                       "delete-other-v": "${direction}",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE"
                }
        ]
 }
\ No newline at end of file