aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/labelValidationTest2.json
blob: 5743fbb9e0be9b82406a3d21510d2a8eff17deca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
	"rules": [
		{
			"from": "human",
			"to": "strange-and-interesting-plant",
			"label": "owns",
			"direction": "OUT",
			"multiplicity": "ONE2ONE",
			"contains-other-v": "OUT",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":"will be part of valid set (dup label (human owns) to stuff in file1, but different pair so ok)"
		},
		{
			"from": "badger",
			"to": "mushroom",
			"label": "onap.whatever.BindsTo",
			"direction": "OUT",
			"multiplicity": "ONE2ONE",
			"contains-other-v": "NONE",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":"will be part of invalid set - full copy in file2"
		},
		{
			"from": "floor",
			"to": "lava",
			"label": "is",
			"direction": "OUT",
			"multiplicity": "ONE2ONE",
			"contains-other-v": "NONE",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":"will be part of invalid set - dup in file2, contains and cousin, from/to flipped"
		},
		{
			"from": "human",
			"to": "toaster",
			"label": "builds",
			"direction": "OUT",
			"multiplicity": "ONE2ONE",
			"contains-other-v": "NONE",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":"will be part of valid set across both files"
		}
	]
}