Update schema ingest library call schema service
[aai/aai-common.git] / aai-schema-ingest / src / test / resources / edgeRules / test_v11.json
1 {
2         "rules": [
3                 {
4                         "from": "l-interface",
5                         "to": "logical-link",
6                         "label": "tosca.relationships.network.LinksTo",
7                         "direction": "OUT",
8                         "multiplicity": "MANY2MANY",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "${direction}",
11                         "prevent-delete": "NONE",
12                         "default": "true",
13                         "description":""
14                 },
15                 {
16                         "from": "logical-link",
17                         "to": "l-interface",
18                         "label": "org.onap.relationships.inventory.Source",
19                         "direction": "OUT",
20                         "multiplicity": "ONE2MANY",
21                         "contains-other-v": "NONE",
22                         "delete-other-v": "!${direction}",
23                         "prevent-delete": "NONE",
24                         "default": "false",
25                         "description":""
26                 },
27                 {
28                         "from": "logical-link",
29                         "to": "l-interface",
30                         "label": "org.onap.relationships.inventory.Destination",
31                         "direction": "OUT",
32                         "multiplicity": "ONE2MANY",
33                         "contains-other-v": "NONE",
34                         "delete-other-v": "!${direction}",
35                         "prevent-delete": "NONE",
36                         "default": "false",
37                         "description":""
38                 },
39                 {
40                         "from": "l-interface",
41                         "to": "lag-interface",
42                         "label": "org.onap.relationships.inventory.BelongsTo",
43                         "direction": "OUT",
44                         "multiplicity": "MANY2ONE",
45                         "contains-other-v": "!${direction}",
46                         "delete-other-v": "!${direction}",
47                         "prevent-delete": "NONE",
48                         "default": "true",
49                         "description":""
50                 },
51                 {
52                         "from": "lag-interface",
53                         "to": "logical-link",
54                         "label": "org.onap.relationships.inventory.Uses",
55                         "direction": "OUT",
56                         "multiplicity": "MANY2MANY",
57                         "contains-other-v": "NONE",
58                         "delete-other-v": "${direction}",
59                         "prevent-delete": "NONE",
60                         "default": "true",
61                         "description":""
62                 },
63                 {
64                         "from": "bloop",
65                         "to": "bloop",
66                         "label": "links",
67                         "direction": "OUT",
68                         "multiplicity": "ONE2ONE",
69                         "contains-other-v": "IN",
70                         "delete-other-v": "NONE",
71                         "prevent-delete": "NONE",
72                         "default": "true",
73                         "description": "for testing same type direction flip requirement"
74                 },
75         {
76             "from": "apple",
77             "to": "orange",
78             "label": "sitsBy",
79             "direction": "OUT",
80             "multiplicity": "MANY2MANY",
81             "contains-other-v": "NONE",
82             "delete-other-v": "${direction}",
83             "prevent-delete": "NONE",
84             "default": "false",
85             "description":"for testing pairs with no default"
86         },
87         {
88             "from": "apple",
89             "to": "orange",
90             "label": "makesSaladWith",
91             "direction": "OUT",
92             "multiplicity": "MANY2MANY",
93             "contains-other-v": "NONE",
94             "delete-other-v": "${direction}",
95             "prevent-delete": "NONE",
96             "default": "false",
97             "description":"for testing pairs with no default"
98         },
99         {
100             "from": "seed",
101             "to": "plant",
102             "label": "grows",
103             "direction": "OUT",
104             "multiplicity": "MANY2MANY",
105             "contains-other-v": "NONE",
106             "delete-other-v": "NONE",
107             "prevent-delete": "NONE",
108             "default": "true",
109             "description":""
110         },
111         {
112             "from": "seed",
113             "to": "plant",
114             "label": "becomes",
115             "direction": "OUT",
116             "multiplicity": "MANY2MANY",
117             "contains-other-v": "OUT",
118             "delete-other-v": "NONE",
119             "prevent-delete": "NONE",
120             "default": "true",
121             "description":""
122         }
123         ]
124 }