Skip to content

Commit

Permalink
dataworks provider
Browse files Browse the repository at this point in the history
  • Loading branch information
聿剑 committed Apr 3, 2024
1 parent 61f880e commit 47136c2
Show file tree
Hide file tree
Showing 15 changed files with 495 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.compile.nullAnalysis.mode": "automatic"
}
2 changes: 2 additions & 0 deletions providers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Introduction to providers
Providers are a way to share code across multiple applications.
3 changes: 3 additions & 0 deletions providers/airflow_provider_dataworks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Introduction
airflow-dataworks-provider is an airflow provider for DataWorks, which provides the interaction functionality between Airflow and DataWorks.

27 changes: 27 additions & 0 deletions providers/airflow_provider_dataworks/apache_airflow_provider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"package-name": "apcahe-airflow-provider-dataworks",
"version": "1.0.0",
"description": "Apache Airflow Provider for Alibaba Cloud DataWorks",
"url": "https://github.com/apache/airflow",
"license": "Apache License 2.0",
"author": "Alibaba Cloud, Inc.",
"extra-link": [
{
"name": "apache-airflow",
"url": "https://airflow.apache.org/"
}
],
"task-decorators": [
{
"name": "dataworks_node",
"class": "airflow.providers.dataworks.decorators.DataWorksNode"
}
],
"connection-types": [],
"secret-backends": [],
"auth-backends": [],
"nodifications": [],
"executors": [],
"logging": [],
"config": []
}
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from airflow.models import BaseOperator

class DataWorksNodeOperator(BaseOperator):
region_id = None


def __init__(self):
super.__init__(BaseOperator)
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from airflow.models import BaseOperator

class DataWorksTriggerNode(BaseOperator):
def __init__(self):
pass


Empty file.
5 changes: 5 additions & 0 deletions providers/airflow_provider_dataworks/plugins/extra_link.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from airflow.models.baseoperatorlink import BaseOperatorLink

class DataWorksLink(BaseOperatorLink):
name = 'DataWorks'
operators = [DataWorksOperator]
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions providers/dolphinscheduler-dataworks-provider/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Implementation of the DataWorks Task Provider for DolphinScheduler SPI interface.
Loading

0 comments on commit 47136c2

Please sign in to comment.