Граф коммитов

92 Коммитов

Автор SHA1 Сообщение Дата
Thomas Buida 651e309010 [AIRFLOW-2273] Add Discord webhook operator/hook
Add Discord webhook operator and hook to allow posting of messages
to a Discord channel via Discord incoming webhooks.
2018-04-05 17:41:32 -05:00
Kengo Seki f642242047 [AIRFLOW-2212] Fix ungenerated sensor API reference
Some community-contributed sensors are missing
from API reference.
This PR fixes docs/code.rst to refer to collect
sensor classes.

Closes #3125 from sekikn/AIRFLOW-2212
2018-03-19 22:55:51 +01:00
Tao feng 37072ab521 [AIRFLOW-2225] Update document to include DruidDbApiHook
Closes #3140 from feng-tao/airflow-2225
2018-03-19 09:41:20 +01:00
Kengo Seki 81f8abaab7 [AIRFLOW-2205] Remove unsupported args from JdbcHook doc
JdbcHook's docstring has unsupported arguments
and unimplemented feature description.
This PR fixes them and adds JdbcHook to the API reference.
2018-03-12 23:38:59 -04:00
biellls f80138486e [AIRFLOW-442] Add SFTPHook
Closes #2487 from sdiazb/sftp_hook
2018-03-10 15:12:07 +01:00
Reid Beels 3e32819d85 [AIRFLOW-2130] Add missing Operators to API Reference docs
* Fix autodoc import path for BaseSensorOperator
* Add autodoc imports for many core & contrib Operators that were missing
* Rename "Operator API" section to "Core Operators" for better contrast with the following "Community-contributed Operators" section
* Add subheadings to API Reference#Operators. Since all the Sensors were already alphabetized separately from the rest of the operators, this formalizes that distinction and moves all the Transfer operators to their own section as well.
* Alphabetize Operator class names
* Improve formatting in top-level Operators section

This also fixes the earlier and more narrowly scoped [AIRFLOW-951]
2018-02-23 00:40:15 -08:00
Reid Beels 331a1dc0fc [AIRFLOW-2131] Remove confusing AirflowImport docs 2018-02-20 17:19:58 -08:00
Kaxil Naik 3fe06e9fff [AIRFLOW-1618] Add feature to create GCS bucket
- Added `create_bucket` method to `gcs_hook` and
created corresponding operator
`GoogleCloudStorageCreateBucket`
- Added tests
- Added documentation

Closes #3044 from kaxil/AIRFLOW-1618
2018-02-19 15:21:04 +01:00
Kaxil Naik 7822887612 [AIRFLOW-2095] Add operator to create External BigQuery Table
- Added operator to create External BigQuery Table
- Added documentation
- Added tests
- Fixed documentation for GCS

Closes #3028 from kaxil/bq-external-tb-op
2018-02-10 17:24:11 +01:00
Kaxil Naik 2920d04754 [AIRFLOW-2066] Add operator to create empty BQ table
- Add operator that creates a new, empty table in
the specified BigQuery dataset, optionally with
schema.

Closes #3006 from kaxil/bq_empty_table_op
2018-02-09 10:04:18 +01:00
Kaxil Naik f4e3e352e1 [AIRFLOW-2063] Add missing docs for GCP
- Add missing operator in `code.rst` and
`integration.rst`
- Fix documentation in DataProc operator
- Minor doc fix in GCS operators

- Fixed codeblocks & links in docstrings for
BigQuery, DataProc, DataFlow, MLEngine, GCS hooks
& operators

Closes #3003 from kaxil/doc_update
2018-02-05 10:48:04 +01:00
Debdutto Chakraborty 6ee4bbd4b1 [AIRFLOW-2044] Add SparkSubmitOperator to documentation
Added community contributed SparkSubmitOperator to
API documentation

Closes #2987 from Debdutto/docs/added-spark-
submit-operator
2018-01-31 12:58:34 +01:00
Fokko Driesprong 33c7204212 [AIRFLOW-1889] Split sensors into separate files
Moving the sensors to seperate files increases
readability of the
code. Also this reduces the code in the big
core.py file.

Closes #2875 from Fokko/AIRFLOW-1889-move-sensors-
to-separate-package
2018-01-19 18:59:08 +01:00
Kaxil Naik 07c2a515ef [AIRFLOW-1946][AIRFLOW-1855] Create a BigQuery Get Data Operator
Closes #2896 from kaxil/patch-4
2018-01-03 12:48:01 -08:00
Diogo Franco b7c2f7169b [AIRFLOW-1470] Implement BashSensor operator
This sensor succeeds once a bash command/script
returns 0, and keeps poking otherwise. The
implementation is very similar to BashOperator.

Closes #2489 from diogoalexandrefranco/master
2017-12-29 19:21:01 +01:00
Andy Hadjigeorgiou d0db009590 [AIRFLOW-1942] Update Sphinx docs to remove deprecated import structure
Update Sphinx docs to use correct import
structure. Fixes improperly
mocked modules that resulted in hooks not
displaying. Fixes executors
and operators section, which weren't displaying
anything.

Closes #2894 from andyxhadji/AIRFLOW-1942
2017-12-22 13:54:19 +01:00
Jason Prodonovich 6645218092 [AIRFLOW-1932] Add GCP Pub/Sub Pull and Ack
Adds the necessary hooks to support pulling and
acknowleding Pub/Sub
messages. This is implemented by adding a
PubSubPullSensor operator
that will attempt to retrieve messages from a
specified subscription
and will meet its criteria when a message or
messages is available.
The configuration allows those messages to be
acknowledged immediately.
In addition, the messages are passed to downstream
workers via the
return value of operator's execute method.

An end-to-end example is included showing topic
and subscription
creation, parallel tasks to publish and pull
messages, and a downstream
chain to echo the contents of each message before
cleaning up.

Closes #2885 from prodonjs/airflow-1932-pr
2017-12-20 22:25:12 +01:00
Jason Prodonovich 8942d2e848 [AIRFLOW-1913] Add new GCP PubSub operators
Closes #2872 from prodonjs/master
2017-12-18 14:53:40 -08:00
Stefanie Grunwald f101ff0063
[AIRFLOW-71] Add support for private Docker images
Pulling images from private Docker registries requires authentication,
so additional parameters are added in order to perform the login step.
2017-11-02 13:46:57 +01:00
Alex Guziel 8e253c750d [AIRFLOW-1512] Add PythonVirtualenvOperator
Closes #2446 from saguziel/aguziel-virtualenv
2017-09-18 14:17:21 -07:00
Jay fe0edeaab5 [AIRFLOW-756][AIRFLOW-751] Replace ssh hook, operator & sftp operator with paramiko based
Closes #1999 from jhsenjaliya/AIRFLOW-756
2017-07-20 22:07:45 +02:00
Kengo Seki 1ae7e5b9af [AIRFLOW-1317] Fix minor issues in API reference 2017-06-20 20:16:35 -04:00
Andrew Chen 53ca508456 [AIRFLOW-1028] Databricks Operator for Airflow
Add DatabricksSubmitRun Operator

In this PR, we contribute a DatabricksSubmitRun operator and a
Databricks hook. This operator enables easy integration of Airflow
with Databricks. In addition to the operator, we have created a
databricks_default connection, an example_dag using this
DatabricksSubmitRunOperator, and matching documentation.

Closes #2202 from andrewmchen/databricks-operator-
squashed
2017-04-06 08:30:33 -07:00
Henk Griffioen f1bc5f38ac [AIRFLOW-1065] Add functionality for Azure Blob Storage over wasb://
This PR implements a hook to interface with Azure
storage over wasb://
via azure-storage; adds sensors to check for blobs
or prefixes; and
adds an operator to transfer a local file to the
Blob Storage.

Design is similar to that of the S3Hook in
airflow.operators.S3_hook.

Closes #2216 from hgrif/AIRFLOW-1065
2017-04-05 09:56:23 +02:00
Daniel van der Ende a67e4390d2 [AIRFLOW-815] Add prev/next execution dates to template variables
This patch adds the previous/next execution dates
to the default variables available in a template.

Closes #2033 from danielvdende/add-execution-dates
2017-01-29 12:41:39 +01:00
Vincent Poulain 98197d9568 [AIRFLOW-345] Add contrib ECSOperator
Closes #1894 from poulainv/ecs_operator
2016-11-23 10:49:57 -08:00
Li Xuanji f1abffa380 [AIRFLOW-402] Remove NamedHivePartitionSensor static check, add docs
Addresses the following issues:
[https://issues.apache.org/jira/browse/AIRFLOW-402](https://issues.apache.org/jira/browse/AIRFLOW-402)

Closes #1711 from zodiac/fix_named_hive_partition_sensor
2016-08-09 15:39:02 -07:00
Maxime Beauchemin 4a84a578a5 Add an Apache Incubator Disclaimer and mocking modules
Closes #1634 from mistercrunch/mock_docs

Adding an Apache Incubator Disclaimer and mocking modules
2016-06-29 13:39:15 -07:00
Alex Van Boxel 54f1c11b6f [AIRFLOW-162] Allow variable to be accessible into templates
Closes #1540 from alexvanboxel/AIRFLOW-162

AIRFLOW-162 Allow variable to be accessible into templates
2016-06-21 10:29:19 -07:00
Sumit Maheshwari dce08f68bc [AIRFLOW-155] Documentation of Qubole Operator
Dear Airflow Maintainers,

Please accept this PR that addresses the following issues:
- *https://issues.apache.org/jira/browse/AIRFLOW-155*

Thanks,
Sumit

Author: Sumit Maheshwari <sumitm@qubole.com>

Closes #1560 from msumit/AIRFLOW-155.
2016-06-01 14:57:33 -07:00
Maxime Beauchemin aeb5a07ff9 Docs tweaks while generating the docs 2016-05-03 22:13:35 -07:00
Matt Pelland 11c34c4353
Implement a Cloudant hook 2016-04-19 16:11:54 -04:00
Jeremiah Lowin 2e66205e8c Merge pull request #1283 from clickthisnick/chore-remove-trailing-spaces
CHORE - Remove Trailing Spaces
2016-04-08 17:33:34 -04:00
jgao54 9410715c81 Add HipchatOperator 2016-04-07 20:47:40 +02:00
Nick 39d64561c7 CHORE - Remove Trailing Spaces 2016-04-03 09:54:01 -04:00
Maxime Beauchemin 2a3e526a30 Improving the TriggerDagRunOperator example 2016-02-21 09:49:44 -08:00
Ruben Oostinga ccfb7c5da7 Updated documentation 2016-02-11 15:31:01 +01:00
Sunrin SHIMURA (keen) 60dcc6befe implement SSHExecuteOperator 2016-02-01 15:11:36 +09:00
asnir 2e6bf9b72f The code was taken from: https://github.com/wndhydrnt/airflow/tree/docker_operator
Credit to: @wndhydrnt

This branch, came to solve the CI problems.
2016-01-17 11:44:06 +02:00
Chris Riccomini 186b5f9dcc Add code.rst docs for GCS hook and operator. 2016-01-12 15:16:20 -08:00
Chris Riccomini 943a417efb Add BigQuery to GCS operator to code.rst docs. 2016-01-12 08:58:58 -08:00
Chris Riccomini 38550a86cf Add BigQueryOperator to code.rst 2016-01-11 11:58:07 -08:00
Chris Riccomini d6272c1cc7 Add BigQueryHook to code.rst 2015-12-18 11:49:34 -08:00
Adrian Bridgett 00ccd592fb remove duplicated definition 2015-12-17 17:53:04 +00:00
Bolke de Bruin 8c1cab52e0 Merge remote-tracking branch 'upstream/master' into ssh_ops 2015-12-04 18:52:38 +01:00
Maxime Beauchemin 22c51ffa82 Adding utility macros around ts 2015-12-01 08:30:02 -08:00
Maxime Beauchemin 9832bccd82 Improvments to documentation 2015-11-30 08:25:55 -08:00
Bolke de Bruin 6c8f449b73 Improve documentation 2015-11-30 12:51:05 +01:00
Maxime Beauchemin 0b36371e9c Adding entry in docs 2015-11-21 09:39:23 -08:00
Maxime 8fd35adb4f Adding datetil to macros and documenting macros references 2015-11-19 16:43:58 +00:00