aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources
diff options
context:
space:
mode:
authorThreefoot, Jane (jt6620) <jt6620@att.com>2017-11-28 14:02:53 -0500
committerThreefoot, Jane (jt6620) <jt6620@att.com>2017-11-28 15:06:53 -0500
commit8dcb9900cae95a17ca6d029a665d512b3e7b11a2 (patch)
tree49de3c6bda8582b24ccf708bc05405256cd71669 /aai-core/src/test/resources
parentd65ec2eb24496c2eb901e7c18826c48041ca2c74 (diff)
contains-other-v no longer implies delete-other-v
Deletion of other vertices is now only determined by the delete-other-v property. For containment relationships, this property is now explicitly set instead of being implied by the containment property. ie Deletion now only checks delete-other-v not containment, and containment relationships have been updated to still function the same as before. Issue-ID: AAI-517 Change-Id: I808752c286c621f82b521590b1a51cf996031557 Signed-off-by: Threefoot, Jane (jt6620) <jt6620@att.com>
Diffstat (limited to 'aai-core/src/test/resources')
-rw-r--r--aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
index 0031d1f0..957129b2 100644
--- a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
+++ b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
@@ -32,6 +32,39 @@
"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