-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
聿剑
committed
Apr 3, 2024
1 parent
61f880e
commit 47136c2
Showing
15 changed files
with
495 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"java.compile.nullAnalysis.mode": "automatic" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
27
providers/airflow_provider_dataworks/apache_airflow_provider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
9 changes: 9 additions & 0 deletions
9
providers/airflow_provider_dataworks/operator/dataworks_node_operator.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
7 changes: 7 additions & 0 deletions
7
providers/airflow_provider_dataworks/operator/dataworks_trigger_node.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Implementation of the DataWorks Task Provider for DolphinScheduler SPI interface. |
Oops, something went wrong.