-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconductor_multi_source.json
More file actions
87 lines (87 loc) · 2.46 KB
/
Copy pathconductor_multi_source.json
File metadata and controls
87 lines (87 loc) · 2.46 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
{
"name": "log_analyzer_multi_source",
"description": "Parent fan-out: run the log_analyzer_soc_pipeline (v4) as a sub-workflow for several log sources in parallel, then join. One trigger, one nested execution per log source in the Orkes UI.",
"version": 1,
"schemaVersion": 2,
"ownerEmail": "shahromil71321@gmail.com",
"timeoutSeconds": 0,
"inputParameters": [
"soc_url",
"soc_api_key",
"log_ssh",
"log_web",
"log_mixed"
],
"tasks": [
{
"name": "source_fork",
"taskReferenceName": "source_fork_ref",
"type": "FORK_JOIN",
"forkTasks": [
[
{
"name": "log_analyzer_soc_pipeline",
"taskReferenceName": "ssh_ref",
"type": "SUB_WORKFLOW",
"subWorkflowParam": {
"name": "log_analyzer_soc_pipeline",
"version": 5
},
"inputParameters": {
"log_path": "${workflow.input.log_ssh}",
"soc_url": "${workflow.input.soc_url}",
"soc_api_key": "${workflow.input.soc_api_key}"
}
}
],
[
{
"name": "log_analyzer_soc_pipeline",
"taskReferenceName": "web_ref",
"type": "SUB_WORKFLOW",
"subWorkflowParam": {
"name": "log_analyzer_soc_pipeline",
"version": 5
},
"inputParameters": {
"log_path": "${workflow.input.log_web}",
"soc_url": "${workflow.input.soc_url}",
"soc_api_key": "${workflow.input.soc_api_key}"
}
}
],
[
{
"name": "log_analyzer_soc_pipeline",
"taskReferenceName": "mixed_ref",
"type": "SUB_WORKFLOW",
"subWorkflowParam": {
"name": "log_analyzer_soc_pipeline",
"version": 5
},
"inputParameters": {
"log_path": "${workflow.input.log_mixed}",
"soc_url": "${workflow.input.soc_url}",
"soc_api_key": "${workflow.input.soc_api_key}"
}
}
]
]
},
{
"name": "source_join",
"taskReferenceName": "source_join_ref",
"type": "JOIN",
"joinOn": [
"ssh_ref",
"web_ref",
"mixed_ref"
]
}
],
"outputParameters": {
"ssh": "${ssh_ref.output.counts}",
"web": "${web_ref.output.counts}",
"mixed": "${mixed_ref.output.counts}"
}
}