-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathplaybook-TestGetDuplicatesIncidentsByMl.yml
More file actions
175 lines (175 loc) · 3.42 KB
/
playbook-TestGetDuplicatesIncidentsByMl.yml
File metadata and controls
175 lines (175 loc) · 3.42 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
id: 5dc848e5-a649-4394-8300-386770d39d75
version: -1
fromversion: 5.0.0
name: TestGetDuplicatesIncidentsByMl
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 96a1a096-4698-4eef-81f7-8235cd469894
type: start
task:
id: 96a1a096-4698-4eef-81f7-8235cd469894
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
view: |-
{
"position": {
"x": 470,
"y": -118
}
}
"1":
id: "1"
taskid: e7b91963-0d5d-4bd3-8bae-fdd359d3bca0
type: regular
task:
id: e7b91963-0d5d-4bd3-8bae-fdd359d3bca0
version: -1
name: DeleteContext
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
all:
simple: "yes"
key: {}
view: |-
{
"position": {
"x": 469,
"y": 72
}
}
"2":
id: "2"
taskid: eae73ed6-30e0-413f-8e86-b155d735a81b
type: regular
task:
id: eae73ed6-30e0-413f-8e86-b155d735a81b
version: -1
name: Create duplicate incidents
scriptName: TestCreateDuplicates
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "4"
view: |-
{
"position": {
"x": 468,
"y": 253
}
}
"3":
id: "3"
taskid: b8661fa4-a94c-4d47-82c9-447ad30f5381
type: regular
task:
id: b8661fa4-a94c-4d47-82c9-447ad30f5381
version: -1
name: VerifyCandidate
scriptName: VerifyContext
type: regular
iscommand: false
brand: ""
scriptarguments:
expectedValue:
simple: '"ThisIsATestForDuplicate"'
fields: {}
path:
simple: duplicate_candidate.name
view: |-
{
"position": {
"x": 244,
"y": 654
}
}
"4":
id: "4"
taskid: c352a8bd-4f3b-4c9d-877d-1d2eb5d813ac
type: regular
task:
id: c352a8bd-4f3b-4c9d-877d-1d2eb5d813ac
version: -1
name: Check for duplicates
scriptName: GetDuplicatesMl
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "3"
- "5"
scriptarguments:
UseLocalEnvDuplicatesInLastDays: {}
compareEmailLabels: {}
compareIncidentTimeDiff: {}
compareIndicators: {}
compareOtherLabels: {}
ignoreClosedIncidents: {}
maxNumberOfIncidents: {}
threshold: {}
timeFrameDays: {}
results:
- found_duplicates
- duplicate_candidate
- duplicate_candidates_list
view: |-
{
"position": {
"x": 470,
"y": 419
}
}
"5":
id: "5"
taskid: d843786d-bc09-45cc-8181-3d5d1a517d02
type: regular
task:
id: d843786d-bc09-45cc-8181-3d5d1a517d02
version: -1
name: VerifyFoundDuplicates
scriptName: VerifyContext
type: regular
iscommand: false
brand: ""
scriptarguments:
expectedValue:
simple: "true"
fields: {}
path:
simple: found_duplicates
view: |-
{
"position": {
"x": 932,
"y": 654
}
}
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 867,
"width": 1068,
"x": 244,
"y": -118
}
}
}
inputs: []
outputs: []