Repository navigation
Expand file tree
/
Copy pathairflow.json
More file actions
executable file
·63 lines (63 loc) · 2 KB
/
Copy pathairflow.json
File metadata and controls
executable file
·63 lines (63 loc) · 2 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
{
"script":{
"released":"2019-02-22",
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC",
"icon":"donut_small",
"title":"Airflow Composer Example",
"description":"Demonstration that uses Airflow/Composer native, Airflow/Composer local, and StarThinker tasks in the same generated DAG.",
"documentation":"",
"from":["airflow/composer"],
"to":["airflow/composer"],
"pitches":[
"Build Airflow / Composer workflows using StarThinker.",
"Deploy any existing recipe as a DAG.",
"Refrence Service and User Credential integration.",
"Minimize manual DAG coding work."
],
"impacts":{
"spend optimization":0,
"spend growth":0,
"time savings":100,
"account health":30,
"csat improvement":100
},
"instructions": [
"Execute this using Airflow or Composer, the Colab and UI recipe is for refence only.",
"This is an example DAG that will execute and print dates and text.",
"Run it once to ensure everything works, then customize it."
],
"authors":["kenjora@google.com"]
},
"setup":{
"week":["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
"hour":[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
},
"tasks":[
{ "airflow":{
"__comment__":"Calls a native Airflow operator.",
"operators":{
"bash_operator":{
"BashOperator":{
"bash_command":"date"
}
}
}
}},
{ "starthinker.airflow":{
"__comment__":"Calls an custom operator, requires import of library.",
"operators":{
"hello":{
"Hello":{
"say":"Hi, there!"
}
}
}
}},
{ "hello":{
"__comment__":"Calls a StarThinker task.",
"auth":{"field":{ "name":"auth_read", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for reading data." }},
"say":"Hello World"
}}
]
}