-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathExample-CopyJob-Rules.json
More file actions
58 lines (58 loc) · 1.25 KB
/
Example-CopyJob-Rules.json
File metadata and controls
58 lines (58 loc) · 1.25 KB
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
53
54
55
56
57
58
{
"rules": [
{
"id": "CHECK_COPYJOB_JOBMODE",
"name": "Iterate through each CopyJob definition file and check that the JobMode is Batch.",
"itemType": "CopyJob",
"part": "copyjob-content.json",
"test": [
{
"var": "properties.jobMode"
},
"Batch"
]
},
{
"id": "CHECK_COPYJOB_JOBMODE2",
"name": "Check that the JobMode is Batch in the first CopyJob definition file.",
"itemType": "CopyJob",
"test": [
{
"query": [
{
"part": "copyjob-content.json"
},
{
"var": "0.properties.jobMode"
}
]
},
"Batch"
]
},
{
"id": "CHECK_COPYJOB_JOBMODE3",
"name": "Check that all CopyJob definitions have JobMode set to Batch.",
"itemType": "CopyJob",
"disabled": true,
"test": [
{
"all": [
{
"query": [
{
"part": "copyjob-content.json"
},
{
"path": "$.*.properties.jobMode"
}
]
},
"Batch"
]
},
true
]
}
]
}