Some of Hooks provide connection ability, however quite a few of them do not provide any documentation and/or connection type (missing in the UI). It would be nice if we add missing parts which might help Airflow users.
Hooks Class Attributes reference:
conn_type: Unique connection type, should be also listed in providers.yaml
conn_name_attr: Name of connection attribute, mainly uses for test connections
default_conn_name: Name of default connection, it doesn't do anything if you do not set it directly to conn_name_attr, see as reference SlackHook
hook_name, connection name in dropdown list in the UI
List of Providers and missing/inconsistent hooks class attributes or/and documentation:
[!NOTE]
If someone would like to work on one (or many) just let us know in comments or create PR with reference to this Issue.
[ ] AnalyticDBSparkHook (conn_type = "adb_spark", conn_name_attr = "alibabacloud_conn_id" this one Inconsistent with actual hook attribute "oss_conn_id", hook_name = "AnalyticDB Spark")
[ ] OSSHook (conn_type = "oss", conn_name_attr = "alibabacloud_conn_id" this one Inconsistent with actual hook attribute "oss_conn_id", hook_name = "OSS")
microsoft.winrm
I'm not familiar with WinRM Protocol, but seems like it actually doesn't use SSH Connection, however connection attribute is ssh_conn_id which might confuse end users.
Body
Some of Hooks provide connection ability, however quite a few of them do not provide any documentation and/or connection type (missing in the UI). It would be nice if we add missing parts which might help Airflow users.
Hooks Class Attributes reference:
conn_type
: Unique connection type, should be also listed in providers.yamlconn_name_attr
: Name of connection attribute, mainly uses for test connectionsdefault_conn_name
: Name of default connection, it doesn't do anything if you do not set it directly toconn_name_attr
, see as reference SlackHookhook_name
, connection name in dropdown list in the UIList of Providers and missing/inconsistent hooks class attributes or/and documentation:
alibaba Mixin connections documentation in the single page
apache.druid
apache.hdfs ~Mixin connections documentation in the single page~
apache.kylin
apache.livy
apache.pig
apache.pinot
apache.spark Mixin connections documentation in the single page.
apache.sqoop
datadog
dingding
discord Discord built in top of HTTP Connection with specific settings, which only described in docstring
exasol
facebook
google
hashicorp
cloudant
atlassian.jira
microsoft.azure
microsoft.psrp
microsoft.winrm I'm not familiar with WinRM Protocol, but seems like it actually doesn't use SSH Connection, however connection attribute is
ssh_conn_id
which might confuse end users.openfaas
opsgenie
pagerduty
presto
~qubole~
redis
samba
segment
telegram
vertica
zendesk
Committer