Skip to content

Commit

Permalink
Update description about the new connection-types provider meta-data
Browse files Browse the repository at this point in the history
The ``hook-class-names`` provider's meta-data property has been deprecated and
is now replaced by ``connection-types`` property. This documents the
change.
  • Loading branch information
potiuk committed Aug 23, 2021
1 parent 3a7a65c commit be75dcd
Show file tree
Hide file tree
Showing 58 changed files with 92 additions and 64 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/airbyte/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sensors:
python-modules:
- airflow.providers.airbyte.sensors.airbyte

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.airbyte.hooks.airbyte.AirbyteHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/alibaba/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ hooks:
python-modules:
- airflow.providers.alibaba.cloud.hooks.oss

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.alibaba.cloud.hooks.oss.OSSHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ transfers:
how-to-guide: /docs/apache-airflow-providers-amazon/operators/salesforce_to_s3.rst
python-module: airflow.providers.amazon.aws.transfers.salesforce_to_s3

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.amazon.aws.hooks.s3.S3Hook
- airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook
- airflow.providers.amazon.aws.hooks.emr.EmrHook
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/cassandra/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ hooks:
python-modules:
- airflow.providers.apache.cassandra.hooks.cassandra

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.cassandra.hooks.cassandra.CassandraHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/drill/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ hooks:
python-modules:
- airflow.providers.apache.drill.hooks.drill

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.drill.hooks.drill.DrillHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/druid/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ hooks:
python-modules:
- airflow.providers.apache.druid.hooks.druid

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.druid.hooks.druid.DruidDbApiHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/hdfs/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ hooks:
python-modules:
- airflow.providers.apache.hdfs.hooks.webhdfs

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.hdfs.hooks.hdfs.HDFSHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/hive/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ transfers:
target-integration-name: Apache Hive
python-module: airflow.providers.apache.hive.transfers.mssql_to_hive

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.hive.hooks.hive.HiveCliHook
- airflow.providers.apache.hive.hooks.hive.HiveServer2Hook
- airflow.providers.apache.hive.hooks.hive.HiveMetastoreHook
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/livy/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ hooks:
python-modules:
- airflow.providers.apache.livy.hooks.livy

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.livy.hooks.livy.LivyHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/pig/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ hooks:
python-modules:
- airflow.providers.apache.pig.hooks.pig

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.pig.hooks.pig.PigCliHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/spark/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ hooks:
- airflow.providers.apache.spark.hooks.spark_sql
- airflow.providers.apache.spark.hooks.spark_submit

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.spark.hooks.spark_jdbc.SparkJDBCHook
- airflow.providers.apache.spark.hooks.spark_sql.SparkSqlHook
- airflow.providers.apache.spark.hooks.spark_submit.SparkSubmitHook
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/apache/sqoop/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.apache.sqoop.hooks.sqoop

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.apache.sqoop.hooks.sqoop.SqoopHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/asana/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hooks:
python-modules:
- airflow.providers.asana.hooks.asana

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.asana.hooks.asana.AsanaHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/cloudant/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ hooks:
python-modules:
- airflow.providers.cloudant.hooks.cloudant

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.cloudant.hooks.cloudant.CloudantHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/cncf/kubernetes/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ hooks:
python-modules:
- airflow.providers.cncf.kubernetes.hooks.kubernetes

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.cncf.kubernetes.hooks.kubernetes.KubernetesHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/databricks/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.databricks.hooks.databricks

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.databricks.hooks.databricks.DatabricksHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/dingding/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ hooks:
python-modules:
- airflow.providers.dingding.hooks.dingding

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.dingding.hooks.dingding.DingdingHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/discord/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ hooks:
python-modules:
- airflow.providers.discord.hooks.discord_webhook

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.discord.hooks.discord_webhook.DiscordWebhookHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/docker/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ hooks:
python-modules:
- airflow.providers.docker.hooks.docker

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.docker.hooks.docker.DockerHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/elasticsearch/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hooks:
python-modules:
- airflow.providers.elasticsearch.hooks.elasticsearch

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.elasticsearch.hooks.elasticsearch.ElasticsearchHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/exasol/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.exasol.hooks.exasol

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.exasol.hooks.exasol.ExasolHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/facebook/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hooks:
python-modules:
- airflow.providers.facebook.ads.hooks.ads

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.facebook.ads.hooks.ads.FacebookAdsReportingHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/ftp/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ hooks:
python-modules:
- airflow.providers.ftp.hooks.ftp

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.ftp.hooks.ftp.FTPHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ transfers:
target-integration-name: Google Cloud Storage (GCS)
python-module: airflow.providers.google.ads.transfers.ads_to_gcs

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.google.common.hooks.base_google.GoogleBaseHook
- airflow.providers.google.cloud.hooks.dataprep.GoogleDataprepHook
- airflow.providers.google.cloud.hooks.cloud_sql.CloudSQLHook
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/grpc/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ hooks:
python-modules:
- airflow.providers.grpc.hooks.grpc

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.grpc.hooks.grpc.GrpcHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/hashicorp/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hooks:
python-modules:
- airflow.providers.hashicorp.hooks.vault

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.hashicorp.hooks.vault.VaultHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/http/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ hooks:
python-modules:
- airflow.providers.http.hooks.http

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.http.hooks.http.HttpHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/imap/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ hooks:
python-modules:
- airflow.providers.imap.hooks.imap

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.imap.hooks.imap.ImapHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/jdbc/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.jdbc.hooks.jdbc

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.jdbc.hooks.jdbc.JdbcHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/jenkins/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.jenkins.hooks.jenkins

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.jenkins.hooks.jenkins.JenkinsHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/jira/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ hooks:
python-modules:
- airflow.providers.jira.hooks.jira

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.jira.hooks.jira.JiraHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/microsoft/azure/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ transfers:
how-to-guide: /docs/apache-airflow-providers-microsoft-azure/operators/azure_blob_to_gcs.rst
python-module: airflow.providers.microsoft.azure.transfers.azure_blob_to_gcs

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.microsoft.azure.hooks.base_azure.AzureBaseHook
- airflow.providers.microsoft.azure.hooks.adx.AzureDataExplorerHook
- airflow.providers.microsoft.azure.hooks.azure_batch.AzureBatchHook
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/microsoft/mssql/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.microsoft.mssql.hooks.mssql

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.microsoft.mssql.hooks.mssql.MsSqlHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/mongo/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hooks:
python-modules:
- airflow.providers.mongo.hooks.mongo

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.mongo.hooks.mongo.MongoHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/mysql/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ transfers:
target-integration-name: MySQL
python-module: airflow.providers.mysql.transfers.trino_to_mysql

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.mysql.hooks.mysql.MySqlHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/neo4j/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.neo4j.hooks.neo4j

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.neo4j.hooks.neo4j.Neo4jHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/odbc/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ hooks:
python-modules:
- airflow.providers.odbc.hooks.odbc

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.odbc.hooks.odbc.OdbcHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/opsgenie/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hooks:
python-modules:
- airflow.providers.opsgenie.hooks.opsgenie_alert

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.opsgenie.hooks.opsgenie_alert.OpsgenieAlertHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/oracle/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ transfers:
target-integration-name: Oracle
python-module: airflow.providers.oracle.transfers.oracle_to_oracle

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.oracle.hooks.oracle.OracleHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/postgres/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ hooks:
python-modules:
- airflow.providers.postgres.hooks.postgres

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.postgres.hooks.postgres.PostgresHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/presto/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hooks:
python-modules:
- airflow.providers.presto.hooks.presto

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.presto.hooks.presto.PrestoHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/qubole/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ hooks:
- airflow.providers.qubole.hooks.qubole
- airflow.providers.qubole.hooks.qubole_check

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.qubole.hooks.qubole.QuboleHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/redis/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ hooks:
python-modules:
- airflow.providers.redis.hooks.redis

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.redis.hooks.redis.RedisHook

connection-types:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/salesforce/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ hooks:
python-modules:
- airflow.providers.salesforce.hooks.salesforce

hook-class-names:
hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.salesforce.hooks.salesforce.SalesforceHook

connection-types:
Expand Down
Loading

0 comments on commit be75dcd

Please sign in to comment.