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

71 Коммитов

Автор SHA1 Сообщение Дата
Antoni Smoliński 5c17948184 [AIRFLOW-3960] Adds Google Cloud Speech operators (#4780) 2019-04-01 20:42:52 +01:00
Kamil Breguła 157f7bff83 [AIRFLOW-3996] Add view source link to included fragments 2019-03-29 23:31:49 +01:00
Jiajie Zhong 61485095ba [AIRFLOW-1526] Add dingding hook and operator (#4895)
Dingding is popular team collaboration tools talk
just like Slack. This PR is add it to master, could
help us easy send message to Dingding.

Add how to operator dingding section tell users
how to send different kind of dingding message or
how to use dingding as callback funtion in DAG
and add example to show how to use.

Set operator UI color as dingding icon color
2019-03-29 16:50:35 +00:00
Kamil Breguła e27950a75c [AIRFLOW-3811] automatic generation of API Reference in docs (#4788)
Co-authored-by: Jarek Potiuk <jarek.potiuk@polidea.com>
2019-03-26 18:06:14 +00:00
Jiajie Zhong ffe1412d5e [AIRFLOW-4062] Improve docs on install extra package commands (#4966)
Some command for installing extra packages like
`pip install apache-airflow[devel]` cause error
in special situation/shell, We should clear them
by add quotation like
`pip install 'apache-airflow[devel]'`
2019-03-25 12:14:43 +00:00
Ryan Yuan e92f09b565 [AIRFLOW-3987] Unify GCP's Connection IDs (#4818) 2019-03-25 11:03:26 +00:00
Ash Berlin-Taylor c159e8e391
Revert "[AIRFLOW-4062] Improve docs on install extra package commands (#4897)" (#4965)
This reverts commit d4655c506e as it causes doc test warnings/failures.
2019-03-24 12:05:23 +00:00
Jiajie Zhong d4655c506e [AIRFLOW-4062] Improve docs on install extra package commands (#4897)
Some command for installing extra packages are
`pip install apache-airflow[devel]` we should
clear install extra package command to
`pip install 'apache-airflow[devel]'`

[ci skip]
2019-03-24 11:34:59 +00:00
Kamil Breguła 4c6a591a90 [AIRFLOW-3659] Create Google Cloud Transfer Service Operators (#4792)
Co-authored-by: Antoni Smolinski <antoni.smolinski@polidea.com>
2019-03-23 22:52:26 +00:00
Kamil Breguła 707d6f2a50 [AIRFLOW-3908] Add more Google Cloud Vision operators (#4791) 2019-03-21 10:49:57 +00:00
Jarek Potiuk 93e15b5fc5 [AIRFLOW-3939] Add Google Cloud Translate operator (#4755) 2019-03-14 10:13:44 +00:00
morgendave 8d5d46022b [AIRFLOW-3272] Add base grpc hook (#4101)
* [AIRFLOW-3272] add base grpc hook

* [AIRFLOW-3272] fix based on comments and add more docs

* [AIRFLOW-3272] add extra fields to www_rabc view in connection model

* [AIRFLOW-3272] change url for grpc, fix some bugs

* [AIRFLOW-3272] Add mcck for grpc

* [AIRFLOW-3272] add unit tests for grpc hook

* [AIRFLOW-3272] add gRPC connection howto doc
2019-03-12 18:54:47 -07:00
Jyothsna Kullatira ddec6bbeb3 [AIRFLOW-XXX] Improvements to formatted content in documentation (#4835)
* [AIRFLOW-XXX] Improvements to documentation templates
2019-03-12 18:41:44 -07:00
Kamil Breguła 02fc327347 [AIRFLOW-XXX] Split guide for operators to multiple files (#4814) 2019-03-06 20:11:35 +01:00
Kamil Breguła 55ab5db82c [AIRFLOW-XXX] Split connection guide to multiple files (#4824) 2019-03-04 14:51:38 +01:00
Kamil Breguła a84fb73627 [AIRFLOW-3867] Rename GCP's subpackage (#4690) 2019-02-27 15:21:57 +01:00
zhongjiajie 6c64b1da69 [AIRFLOW-3741] Add extra config to Oracle hook (#4584)
Add extra config to Oracle hook including encoding, mode, threaded etc
2019-02-22 16:12:21 +00:00
Szymon Przedwojski ce499bb277 [AIRFLOW-3701] Add Google Cloud Vision Product Search operators (#4665) 2019-02-22 14:56:53 +00:00
Ryan Yuan 5c170f0594 [AIRFLOW-3933] Fix various typos (#4747)
Fix typos
2019-02-21 11:50:05 +01:00
Kamil Breguła d80e945f40 [AIRFLOW-3616][AIRFLOW-1215] Add aliases for schema with underscore (#4523) 2019-02-19 16:25:38 +01:00
Davor Cubranic 021d396b61 [AIRFLOW-3898] Show example connection string when using Psycopg2 (#4718) 2019-02-15 15:31:06 -08:00
Antoni Smoliński 21a38f1603 [AIRFLOW-3821] Add replicas logic to GCP SQL example DAG (#4662) 2019-02-12 22:46:20 +00:00
Kamil Breguła dbeb6a8b0f [AIRFLOW-XXX] Add backreference in docs between operator and integration (#4671) 2019-02-08 10:22:48 +00:00
Kamil Breguła 6b38649fa6 [AIRFLOW-XXX] Improve linking to classes (#4655) 2019-02-07 11:57:32 +00:00
Andrew Stahlman 2dadee7a24 [AIRFLOW-3813] Add CLI commands to manage roles (#4658)
* [AIRFLOW-3813] Add CLI commands to manage roles

Here is the help text of the new command `airflow roles`:

    usage: airflow roles [-h] [-c] [-l] [role [role ...]]

    positional arguments:
      role          The name of a role

    optional arguments:
      -h, --help    show this help message and exit
      -c, --create  Create a new role
      -l, --list    List roles

Create is reentrant, i.e., it only adds a new role if it does not exist.

* Update docs on role creation
2019-02-06 20:34:50 -08:00
Kamil Breguła 6f122f4fc5 [AIRFLOW-XXX] Extract reverse proxy info to a separate file (#4657) 2019-02-06 18:45:46 +00:00
Kamil Breguła 1ab659f4cb [AIRFLOW-XXX] Remove almost all warnings from building docs (#4588) 2019-01-27 11:32:10 +00:00
Tao Feng c2f48ed6c8
[AIRFLOW-3745] Fix viewer not able to view dag details (#4569) 2019-01-25 09:41:26 -08:00
Kamil Breguła 993779f93d [AIRFLOW-XXX] Reduction of the number of warnings in the documentation (#4585) 2019-01-25 09:59:40 +00:00
Andrew Stahlman 9f8ca32da4 [AIRFLOW-3752] Add/remove user from role via CLI (#4572)
* [AIRFLOW-3752] Add/remove user from role via the CLI

Update the `users` subcommand to enable 2 new actions:

- `--add-role`: Make the user a member of the given role
- `--remove-role`: Remove the user's membership in the given role

For installations that use an external identity provider (e.g., Google
OAuth) the username is typically a long ID string. For the sake of
convenience, we allow the CLI operator to reference the target user
via either their `username` or their `email` (but not both).

* Update argparse spec

Accidentally left off this update to the argparse spec in the last
commit.

* Add unit tests

* Fix lint failures
2019-01-22 14:29:15 -08:00
Dana Ma 89dd877d93 [AIRFLOW-3698] Add documentation for AWS Connection (#4514) 2019-01-22 17:23:48 +00:00
Joshua Carp bd74ddaf34 [AIRFLOW-3383] Rotate fernet keys. (#4225)
Add the ability to change the encryption key of all encrypted variables and
connections
2019-01-21 11:12:38 +00:00
Jarek Potiuk 383ec374ea [AIRFLOW-3713] Updated documentation for GCP optional project_id (#4541) 2019-01-17 09:37:07 -08:00
Vivek 3cc9f75da9 [AIRFLOW-XXX] Fix a typo of config (#4544) 2019-01-16 21:57:42 -08:00
Jarek Potiuk fc440dc3c8 [AIRFLOW-3681] All GCP operators have now optional GCP Project ID (#4500) 2019-01-15 00:54:02 +00:00
Jarek Potiuk 238b725e2c [AIRFLOW-3680] Consistency update in tests for All GCP-related operators (#4493)
This commit performs consistency change for tests for all GCP-related operators.
The operators were evolving over time and the approach to implement those
have changed over time. After some 30+ operators implemented, it's time
to introduce some consistency across all the operators. Those are:

* Separating out System test cases from Unit test cases
* Consistent names of variables that are used in system test cases
* Updated documentation to be consistent across the operators
* Updated examples to be better readable and runnable as System Tests
* Added helper methods that allow to make setUp/tearDown for System Tests
2019-01-12 12:44:01 +00:00
Jarek Potiuk 49ba1aeb67 [AIRFLOW-3679] Added Google Cloud Base Hook to documentation (#4487) 2019-01-12 01:01:49 +00:00
Xiaodong 24bc74bc5f [AIRFLOW-3504] Refine the functionality of "/health" endpoint (#4309)
Extend the functionality of "/health" endpoint by:
1. Checking if database backend can be connected;
2. Checking the latest scheduler heartbeat

The response will be in format:
  {
    "metadatabase":{
      "status":"healthy"
    },
    "scheduler":{
      "status":"healthy",
      "latest_scheduler_heartbeat":"2018-12-26 17:15:11+00:00"
    }
  }

This is done for both /www and /www_rbac.

No authentication is required to access this endpoint (no
sensitive information will be exposed through it).

Tests & documentation are added accordingly.

(Deleted an unnecessary line in airflow/www/views.py as well)
2019-01-09 22:58:29 -08:00
Jarek Potiuk c31c2bde25 [AIRFLOW-3480] Add GCP Spanner Database Operators (#4353) 2019-01-05 12:06:56 +00:00
Dariusz Aniszewski d0233ba643 [AIRFLOW-3446] Add Google Cloud BigTable operators (#4354) 2019-01-04 13:50:15 +00:00
Tao Feng 02106e77ca
[AIRFLOW-XXX] Add a doc on how to add a new role in RBAC UI (#4426) 2019-01-03 11:34:49 -08:00
Szymon Przedwojski 16d69a272b [AIRFLOW-3398] Google Cloud Spanner instance database query operator (#4314) 2018-12-19 21:41:53 +00:00
Felix c68ec18a6b [AIRFLOW-XXX] Add missing remote logging field (#4333) 2018-12-17 18:05:21 +00:00
Szymon Przedwojski a8386233aa [AIRFLOW-3310] Google Cloud Spanner deploy / delete operators (#4286) 2018-12-13 01:15:43 +00:00
Kaxil Naik 9dce1f0740 [AIRFLOW-3408] Remove outdated info from Systemd Instructions (#4269) 2018-12-05 12:50:16 -08:00
Jarek Potiuk 4cde579d12 [AIRFLOW-XXX] GCP operators documentation clarifications (#4273) 2018-12-05 20:35:29 +00:00
Szymon Przedwojski 6fda8f4ff1 [AIRFLOW-2440] Google Cloud SQL import/export operator (#4251) 2018-12-05 20:33:00 +00:00
Kaxil Naik 53a365365a
[AIRFLOW-3410] Add feature to allow Host Key Change for SSH Op (#4249) 2018-11-28 16:52:15 +00:00
Gabriel Nicolas Avellaneda e56e625152 [AIRFLOW-XXX] Better instructions for airflow flower (#4214)
* Better instructions for airflow flower

It is not clear in the documentation that you need to have flower installed to successful run airflow flower. If you don't have flower installed, running airflow flower will show the following error which is not of much help:

airflow flower                                                                                       
[2018-11-20 17:01:14,836] {__init__.py:51} INFO - Using executor SequentialExecutor                                                      
Traceback (most recent call last):                                                                                                       
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/bin/airflow", line 32, in <module>                     
    args.func(args)                                                                                                                      
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/site-packages/airflow/utils/cli.py", line
 74, in wrapper                                                                                                                          
    return f(*args, **kwargs)                                                                                                            
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/site-packages/airflow/bin/cli.py", line 1
221, in flower                                                                                                                           
    broka, address, port, api, flower_conf, url_prefix])                                                                                 
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 559, in execvp              
    _execvpe(file, args)                                                                                                                 
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 604, in _execvpe            
    raise last_exc.with_traceback(tb)                                                                                                    
  File "/mnt/secondary/workspace/f4/typo-backend/pipelines/model-pipeline/airflow/lib/python3.6/os.py", line 594, in _execvpe            
    exec_func(fullname, *argrest)                                                                                                        FileNotFoundError: [Errno 2] No such file or directory

* Update use-celery.rst
2018-11-20 15:13:02 -08:00
Szymon Przedwojski 0f7eca2b60 [AIRFLOW-3345] Add Google Cloud Storage (GCS) operators for ACL (#4192)
Add 2 operators for adding ACL entries to GCS buckets and objects:
- GoogleCloudStorageBucketCreateAclEntryOperator
- GoogleCloudStorageObjectCreateAclEntryOperator
2018-11-15 20:27:37 +00:00