-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathingestionPipeline.json
More file actions
267 lines (267 loc) · 10.1 KB
/
ingestionPipeline.json
File metadata and controls
267 lines (267 loc) · 10.1 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
{
"$id": "https://open-metadata.org/schema/entity/services/ingestionPipelines/ingestionPipeline.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "IngestionPipeline",
"description": "Ingestion Pipeline Config is used to set up a DAG and deploy. This entity is used to setup metadata/quality pipelines on Apache Airflow.",
"type": "object",
"javaType": "org.openmetadata.schema.entity.services.ingestionPipelines.IngestionPipeline",
"javaInterfaces": ["org.openmetadata.schema.EntityInterface"],
"definitions": {
"pipelineType": {
"description": "Type of Pipeline - metadata, usage",
"type": "string",
"javaType": "org.openmetadata.schema.entity.services.ingestionPipelines.PipelineType",
"enum": ["metadata", "usage", "lineage", "profiler", "autoClassification", "TestSuite", "dataInsight", "elasticSearchReindex", "dbt", "application"]
},
"pipelineStatus": {
"type": "object",
"javaType": "org.openmetadata.schema.entity.services.ingestionPipelines.PipelineStatus",
"description": "This defines runtime status of Pipeline.",
"properties": {
"runId": {
"description": "Pipeline unique run ID.",
"type": "string"
},
"pipelineState": {
"description": "Pipeline status denotes if its failed or succeeded.",
"type": "string",
"javaType": "org.openmetadata.schema.entity.services.ingestionPipelines.PipelineStatusType",
"enum": ["queued","success","failed","running","partialSuccess","stopped"]
},
"startDate": {
"description": "startDate of the pipeline run for this particular execution.",
"$ref": "../../../type/basic.json#/definitions/timestamp"
},
"timestamp": {
"description": "executionDate of the pipeline run for this particular execution.",
"$ref": "../../../type/basic.json#/definitions/timestamp"
},
"endDate": {
"description": "endDate of the pipeline run for this particular execution.",
"$ref": "../../../type/basic.json#/definitions/timestamp"
},
"status": {
"description": "Ingestion Pipeline summary status. Informed at the end of the execution.",
"$ref": "status.json#/definitions/ingestionStatus"
},
"config": {
"description": "Pipeline configuration for this particular execution.",
"$ref": "../../../type/basic.json#/definitions/map"
},
"metadata": {
"description": "Metadata for the pipeline status.",
"$ref": "../../../type/basic.json#/definitions/map"
}
},
"additionalProperties": false
},
"airflowConfig": {
"description": "Properties to configure the Airflow pipeline that will run the workflow.",
"type": "object",
"javaType": "org.openmetadata.schema.entity.services.ingestionPipelines.AirflowConfig",
"properties": {
"pausePipeline": {
"description": "pause the pipeline from running once the deploy is finished successfully.",
"type": "boolean",
"default": false
},
"concurrency": {
"description": "Concurrency of the Pipeline.",
"type": "integer",
"default": 1
},
"startDate": {
"description": "Start date of the pipeline.",
"$ref": "../../../type/basic.json#/definitions/dateTime"
},
"endDate": {
"description": "End Date of the pipeline.",
"$ref": "../../../type/basic.json#/definitions/dateTime"
},
"pipelineTimezone": {
"description": "Timezone in which pipeline going to be scheduled.",
"type": "string",
"default": "UTC"
},
"retries": {
"description": "Retry pipeline in case of failure.",
"type": "integer",
"default": 0
},
"retryDelay": {
"description": "Delay between retries in seconds.",
"type": "integer",
"default": 300
},
"pipelineCatchup": {
"description": "Run past executions if the start date is in the past.",
"type": "boolean",
"default": false
},
"scheduleInterval": {
"description": "Scheduler Interval for the pipeline in cron format.",
"type": "string"
},
"maxActiveRuns": {
"description": "Maximum Number of active runs.",
"type": "integer",
"default": 1
},
"workflowTimeout": {
"description": "Timeout for the workflow in seconds.",
"type": "integer",
"default": null
},
"workflowDefaultView": {
"description": "Default view in Airflow.",
"type": "string",
"default": "tree"
},
"workflowDefaultViewOrientation": {
"description": "Default view Orientation in Airflow.",
"type": "string",
"default": "LR"
},
"email": {
"description": "Email to notify workflow status.",
"$ref": "../../../type/basic.json#/definitions/email"
}
},
"additionalProperties": false
}
},
"properties": {
"id": {
"description": "Unique identifier that identifies this pipeline.",
"$ref": "../../../type/basic.json#/definitions/uuid"
},
"name": {
"description": "Name that identifies this pipeline instance uniquely.",
"$ref": "../../../type/basic.json#/definitions/entityName"
},
"displayName": {
"description": "Display Name that identifies this Pipeline.",
"type": "string"
},
"description": {
"description": "Description of the Pipeline.",
"$ref": "../../../type/basic.json#/definitions/markdown"
},
"pipelineType": {
"$ref": "#/definitions/pipelineType"
},
"owners": {
"description": "Owners of this Pipeline.",
"$ref": "../../../type/entityReferenceList.json",
"default": null
},
"fullyQualifiedName": {
"description": "Name that uniquely identifies a Pipeline.",
"$ref": "../../../type/basic.json#/definitions/fullyQualifiedEntityName"
},
"sourceConfig": {
"$ref": "../../../metadataIngestion/workflow.json#/definitions/sourceConfig"
},
"openMetadataServerConnection": {
"$ref": "../connections/metadata/openMetadataConnection.json"
},
"airflowConfig": {
"$ref": "#/definitions/airflowConfig"
},
"service": {
"description": "Link to the service (such as database, messaging, storage services, etc. for which this ingestion pipeline ingests the metadata from.",
"$ref": "../../../type/entityReference.json"
},
"pipelineStatuses": {
"description": "Last of executions and status for the Pipeline.",
"$ref": "#/definitions/pipelineStatus"
},
"loggerLevel": {
"description": "Set the logging level for the workflow.",
"$ref": "../../../metadataIngestion/workflow.json#/definitions/logLevels"
},
"raiseOnError": {
"description": "Control if we want to flag the workflow as failed if we encounter any processing errors.",
"type": "boolean",
"default": true
},
"deployed": {
"description": "Indicates if the workflow has been successfully deployed to Airflow.",
"type": "boolean",
"default": false
},
"enabled": {
"description": "True if the pipeline is ready to be run in the next schedule. False if it is paused.",
"type": "boolean",
"default": true
},
"enableStreamableLogs": {
"description": "Enable real-time log streaming to the OpenMetadata server. When enabled, ingestion logs will be automatically shipped to the server's configured log storage backend (S3 or compatible).",
"type": "boolean",
"default": false
},
"href": {
"description": "Link to this ingestion pipeline resource.",
"$ref": "../../../type/basic.json#/definitions/href"
},
"version": {
"description": "Metadata version of the entity.",
"$ref": "../../../type/entityHistory.json#/definitions/entityVersion"
},
"updatedAt": {
"description": "Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.",
"$ref": "../../../type/basic.json#/definitions/timestamp"
},
"updatedBy": {
"description": "User who made the update.",
"type": "string"
},
"impersonatedBy": {
"description": "Bot user that performed the action on behalf of the actual user.",
"$ref": "../../../type/basic.json#/definitions/impersonatedBy"
},
"changeDescription": {
"description": "Change that led to this version of the entity.",
"$ref": "../../../type/entityHistory.json#/definitions/changeDescription"
},
"incrementalChangeDescription": {
"description": "Change that lead to this version of the entity.",
"$ref": "../../../type/entityHistory.json#/definitions/changeDescription"
},
"followers": {
"description": "Followers of this entity.",
"$ref": "../../../type/entityReferenceList.json"
},
"deleted": {
"description": "When `true` indicates the entity has been soft deleted.",
"type": "boolean",
"default": false
},
"provider" : {
"$ref": "../../../type/basic.json#/definitions/providerType"
},
"domains" : {
"description": "Domains the asset belongs to. When not set, the asset inherits the domain from the parent it belongs to.",
"$ref": "../../../type/entityReferenceList.json"
},
"applicationType": {
"description": "Type of the application when pipelineType is 'application'.",
"type": "string"
},
"ingestionRunner" : {
"description": "The ingestion agent responsible for executing the ingestion pipeline.",
"$ref": "../../../type/entityReference.json"
},
"processingEngine": {
"description": "The processing engine responsible for executing the ingestion pipeline logic.",
"$ref": "../../../type/entityReference.json"
}
},
"required": [
"name",
"pipelineType",
"sourceConfig",
"airflowConfig"
],
"additionalProperties": false
}