Auto-resolve edge type
[aai/gizmo.git] / src / test / resources / rules / DbEdgeRules_test_two_v11.json
1 {
2         "rules": [
3                 {
4                         "from": "U",
5                         "to": "V",
6                         "label": "org.onap.relationships.inventory.groupsResourcesIn",
7                         "direction": "BOTH",
8                         "multiplicity": "Many2Many",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "NONE",
11                         "SVC-INFRA": "NONE",
12                         "prevent-delete": "!${direction}"
13                 },
14                 {
15                         "from": "Y",
16                         "to": "X",
17                         "label": "org.onap.relationships.inventory.groupsResourcesIn",
18                         "direction": "OUT",
19                         "multiplicity": "Many2Many",
20                         "contains-other-v": "NONE",
21                         "delete-other-v": "NONE",
22                         "SVC-INFRA": "NONE",
23                         "prevent-delete": "!${direction}"
24                 },
25       {
26                         "from": "allotted-resource",
27                         "to": "instance-group",
28                         "label": "org.onap.relationships.inventory.TestEdge",
29                         "direction": "OUT",
30                         "multiplicity": "MANY2MANY",
31                         "contains-other-v": "NONE",
32                         "delete-other-v": "NONE",
33                         "SVC-INFRA": "NONE",
34                         "prevent-delete": "NONE",
35                         "default": "true"
36                 }
37         ]
38 }