Move the aai-schema, annotations and
[aai/schema-service.git] / aai-schema-gen / src / test / resources / dbedgerules / DbEdgeRules_TraversalQueryTest.json
1 {
2         "rules": [
3                 {
4                         "from": "generic-vnf",
5                         "to": "vnfc",
6                         "label": "uses",
7                         "direction": "OUT",
8                         "multiplicity": "ONE2MANY",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "${direction}",
11                         "prevent-delete": "NONE",
12                         "default": "true",
13                         "description": "Hard to describe"
14                 },
15                 {
16                         "from": "vnfc",
17                         "to": "generic-vnf",
18                         "label": "re-uses",
19                         "direction": "OUT",
20                         "multiplicity": "ONE2MANY",
21                         "contains-other-v": "NONE",
22                         "delete-other-v": "${direction}",
23                         "prevent-delete": "NONE",
24                         "description": "Hard to describe"
25                 },
26                 {
27                         "from": "vce",
28                         "to": "vnfc",
29                         "label": "vce-vnfc",
30                         "direction": "OUT",
31                         "multiplicity": "ONE2MANY",
32                         "contains-other-v": "NONE",
33                         "delete-other-v": "${direction}",
34                         "prevent-delete": "NONE",
35                         "default": "true",
36                         "description": "Hard to describe"
37                 },
38                 {
39                         "from": "pserver",
40                         "to": "vce",
41                         "label": "pserver-vce",
42                         "direction": "OUT",
43                         "multiplicity": "ONE2MANY",
44                         "contains-other-v": "NONE",
45                         "delete-other-v": "${direction}",
46                         "prevent-delete": "NONE",
47                         "default": "true",
48                         "description": "Hard to describe"
49                 },
50                 {
51                         "from": "generic-vnf",
52                         "to": "pserver",
53                         "label": "generic-vnf-pserver-A",
54                         "direction": "OUT",
55                         "multiplicity": "ONE2MANY",
56                         "contains-other-v": "NONE",
57                         "delete-other-v": "${direction}",
58                         "prevent-delete": "NONE",
59                         "default": "true",
60                         "description": "Hard to describe"
61                 },
62                 {
63                         "from": "generic-vnf",
64                         "to": "pserver",
65                         "label": "generic-vnf-pserver-B",
66                         "direction": "OUT",
67                         "multiplicity": "ONE2MANY",
68                         "contains-other-v": "NONE",
69                         "delete-other-v": "${direction}",
70                         "prevent-delete": "NONE",
71                         "description": "Hard to describe"
72                 },
73                 {
74                         "from": "complex",
75                         "to": "generic-vnf",
76                         "label": "complex-generic-vnf-A",
77                         "direction": "OUT",
78                         "multiplicity": "ONE2MANY",
79                         "contains-other-v": "NONE",
80                         "delete-other-v": "${direction}",
81                         "prevent-delete": "NONE",
82                         "default": "true",
83                         "description": "Hard to describe"
84                 },
85                 {
86                         "from": "complex",
87                         "to": "generic-vnf",
88                         "label": "complex-generic-vnf-B",
89                         "direction": "OUT",
90                         "multiplicity": "ONE2MANY",
91                         "contains-other-v": "NONE",
92                         "delete-other-v": "${direction}",
93                         "prevent-delete": "NONE",
94                         "description": "Hard to describe"
95                 },
96                 {
97                         "from": "l-interface",
98                         "to": "logical-link",
99                         "label": "usesLogicalLink",
100                         "direction": "OUT",
101                         "multiplicity": "MANY2MANY",
102                         "contains-other-v": "NONE",
103                         "delete-other-v": "${direction}",
104                         "prevent-delete": "NONE",
105                         "default": "true",
106                         "description": "Hard to describe"
107                 },
108                 {
109                         "from": "l-interface",
110                         "to": "logical-link",
111                         "label": "sourceLInterface",
112                         "direction": "OUT",
113                         "multiplicity": "MANY2MANY",
114                         "contains-other-v": "NONE",
115                         "delete-other-v": "${direction}",
116                         "prevent-delete": "NONE",
117                         "default": "false",
118                         "description": "Hard to describe"
119                 },
120                 {
121                         "from": "l-interface",
122                         "to": "logical-link",
123                         "label": "targetLInterface",
124                         "direction": "OUT",
125                         "multiplicity": "MANY2MANY",
126                         "contains-other-v": "NONE",
127                         "delete-other-v": "${direction}",
128                         "prevent-delete": "NONE",
129                         "default": "false",
130                         "description": "Hard to describe"
131                 },      
132                 {
133                         "from": "pserver",
134                         "to": "vnfc",
135                         "label": "uses",
136                         "direction": "OUT",
137                         "multiplicity": "ONE2MANY",
138                         "contains-other-v": "NONE",
139                         "delete-other-v": "${direction}",
140                         "prevent-delete": "NONE",
141                         "default": "true",
142                         "description": "Hard to describe"
143                 },
144                 {
145                         "from": "l-interface",
146                         "to": "p-interface",
147                         "label": "tosca.relationships.network.BindsTo",
148                         "direction": "OUT",
149                         "multiplicity": "MANY2ONE",
150                         "contains-other-v": "!${direction}",
151                         "delete-other-v": "!${direction}",
152                         "prevent-delete": "NONE",
153                         "default": "true"
154                 }
155         ]
156 }