0031d1f0a9f7cc9ca25a13104fc8be55e2f0b0d9
[aai/aai-common.git] / aai-core / src / test / resources / dbedgerules / DbEdgeRules_test.json
1 {
2         "rules": [
3                 {
4                         "from": "foo",
5                         "to": "bar",
6                         "label": "eats",
7                         "direction": "OUT",
8                         "multiplicity": "One2Many",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "${direction}",
11                         "SVC-INFRA": "NONE",
12                         "prevent-delete": "NONE"
13                 },
14                 {
15                         "from": "foo",
16                         "to": "baz",
17                         "label": "isVeryHappyAbout",
18                         "direction": "OUT",
19                         "multiplicity": "One2Many",
20                         "contains-other-v": "${direction}",
21                         "delete-other-v": "${direction}",
22                         "SVC-INFRA": "NONE",
23                         "prevent-delete": "NONE"
24                 },
25                 {
26                         "from": "quux",
27                         "to": "foo",
28                         "label": "dancesWith",
29                         "direction": "IN",
30                         "multiplicity": "One2Many",
31                         "contains-other-v": "!${direction}",
32                         "delete-other-v": "${direction}",
33                         "SVC-INFRA": "NONE",
34                         "prevent-delete": "NONE"
35                 }
36         ]
37 }