added new aai-schema-ingest library
[aai/aai-common.git] / aai-schema-ingest / src / test / resources / edgeRules / test3.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 }