summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
diff options
context:
space:
mode:
Diffstat (limited to 'aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json')
-rw-r--r--aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
new file mode 100644
index 00000000..d4b7f7f3
--- /dev/null
+++ b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
@@ -0,0 +1,35 @@
+{
+ "rules": [
+ {
+ "from": "foo",
+ "to": "bar",
+ "label": "eats",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "NONE"
+ },
+ {
+ "from": "foo",
+ "to": "baz",
+ "label": "isVeryHappyAbout",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "${direction}",
+ "delete-other-v": "${direction}",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "NONE"
+ },
+ {
+ "from": "quux",
+ "to": "foo",
+ "label": "dancesWith",
+ "direction": "IN",
+ "multiplicity": "One2Many",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE"
+ }
+ ]
+} \ No newline at end of file