ashb commented on a change in pull request #9067:
URL: https://github.com/apache/airflow/pull/9067#discussion_r445427971



##########
File path: airflow/models/connection.py
##########
@@ -156,6 +156,62 @@ class Connection(Base, LoggingMixin):
     is_extra_encrypted = Column(Boolean, unique=False, default=False)
     _extra = Column('extra', String(5000))
 
+    _types = [
+        ('docker', 'Docker Registry'),
+        ('elasticsearch', 'Elasticsearch'),
+        ('exasol', 'Exasol'),
+        ('facebook_social', 'Facebook Social'),
+        ('fs', 'File (path)'),
+        ('ftp', 'FTP'),
+        ('google_cloud_platform', 'Google Cloud Platform'),
+        ('hdfs', 'HDFS'),
+        ('http', 'HTTP'),
+        ('pig_cli', 'Pig Client Wrapper'),
+        ('hive_cli', 'Hive Client Wrapper'),
+        ('hive_metastore', 'Hive Metastore Thrift'),
+        ('hiveserver2', 'Hive Server 2 Thrift'),
+        ('jdbc', 'JDBC Connection'),
+        ('odbc', 'ODBC Connection'),
+        ('jenkins', 'Jenkins'),
+        ('mysql', 'MySQL'),
+        ('postgres', 'Postgres'),
+        ('oracle', 'Oracle'),
+        ('vertica', 'Vertica'),
+        ('presto', 'Presto'),
+        ('s3', 'S3'),
+        ('samba', 'Samba'),
+        ('sqlite', 'Sqlite'),
+        ('ssh', 'SSH'),
+        ('cloudant', 'IBM Cloudant'),
+        ('mssql', 'Microsoft SQL Server'),
+        ('mesos_framework-id', 'Mesos Framework ID'),
+        ('jira', 'JIRA'),
+        ('redis', 'Redis'),
+        ('wasb', 'Azure Blob Storage'),
+        ('databricks', 'Databricks'),
+        ('aws', 'Amazon Web Services'),
+        ('emr', 'Elastic MapReduce'),
+        ('snowflake', 'Snowflake'),
+        ('segment', 'Segment'),
+        ('sqoop', 'Sqoop'),
+        ('azure_batch', 'Azure Batch Service'),
+        ('azure_data_lake', 'Azure Data Lake'),
+        ('azure_container_instances', 'Azure Container Instances'),
+        ('azure_cosmos', 'Azure CosmosDB'),
+        ('azure_data_explorer', 'Azure Data Explorer'),
+        ('cassandra', 'Cassandra'),
+        ('qubole', 'Qubole'),
+        ('mongo', 'MongoDB'),
+        ('gcpcloudsql', 'Google Cloud SQL'),
+        ('grpc', 'GRPC Connection'),
+        ('yandexcloud', 'Yandex Cloud'),
+        ('livy', 'Apache Livy'),
+        ('tableau', 'Tableau'),
+        ('kubernetes', 'Kubernetes cluster Connection'),
+        ('spark', 'Spark'),
+        ('imap', 'IMAP')
+    ]
+

Review comment:
       Are these used anywhere? It doesn't appear to be, if so please don't add 
them in this PR.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to