|
|
@@ -85,7 +85,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Impala",
|
|
|
+ 'nice_name': 'Impala',
|
|
|
'dialect': 'impala',
|
|
|
'interface': 'hiveserver2',
|
|
|
'settings': [
|
|
|
@@ -113,7 +113,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Druid",
|
|
|
+ 'nice_name': 'Druid',
|
|
|
'dialect': 'druid',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -141,7 +141,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "ksqlDB",
|
|
|
+ 'nice_name': 'ksqlDB',
|
|
|
'dialect': 'ksql',
|
|
|
'interface': 'ksql',
|
|
|
'settings': [
|
|
|
@@ -169,7 +169,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Flink SQL",
|
|
|
+ 'nice_name': 'Flink SQL',
|
|
|
'dialect': 'flink',
|
|
|
'interface': 'flink',
|
|
|
'settings': [
|
|
|
@@ -197,7 +197,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "SparkSQL",
|
|
|
+ 'nice_name': 'SparkSQL',
|
|
|
'dialect': 'sparksql',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -225,7 +225,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "SparkSQL",
|
|
|
+ 'nice_name': 'SparkSQL',
|
|
|
'dialect': 'sparksql',
|
|
|
'interface': 'hiveserver2',
|
|
|
'settings': [
|
|
|
@@ -255,7 +255,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "SparkSQL",
|
|
|
+ 'nice_name': 'SparkSQL',
|
|
|
'dialect': 'sparksql',
|
|
|
'interface': 'livy',
|
|
|
'settings': [
|
|
|
@@ -283,7 +283,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Phoenix SQL",
|
|
|
+ 'nice_name': 'Phoenix SQL',
|
|
|
'dialect': 'phoenix',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -311,7 +311,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "MySQL",
|
|
|
+ 'nice_name': 'MySQL',
|
|
|
'dialect': 'mysql',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -339,7 +339,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "PostgreSQL",
|
|
|
+ 'nice_name': 'PostgreSQL',
|
|
|
'dialect': 'postgresql',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -367,7 +367,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Presto",
|
|
|
+ 'nice_name': 'Presto',
|
|
|
'dialect': 'presto',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -424,7 +424,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Elasticsearch SQL",
|
|
|
+ 'nice_name': 'Elasticsearch SQL',
|
|
|
'dialect': 'elasticsearch',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -452,7 +452,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Calcite",
|
|
|
+ 'nice_name': 'Calcite',
|
|
|
'dialect': 'calcite',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -481,7 +481,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Athena",
|
|
|
+ 'nice_name': 'Athena',
|
|
|
'dialect': 'athena',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -511,7 +511,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Redshift",
|
|
|
+ 'nice_name': 'Redshift',
|
|
|
'dialect': 'redshift',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -537,7 +537,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Snowflake",
|
|
|
+ 'nice_name': 'Snowflake',
|
|
|
'dialect': 'snowflake',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -563,7 +563,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Big Query",
|
|
|
+ 'nice_name': 'Big Query',
|
|
|
'dialect': 'bigquery',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -590,7 +590,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Oracle",
|
|
|
+ 'nice_name': 'Oracle',
|
|
|
'dialect': 'oracle',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -618,7 +618,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Solr SQL",
|
|
|
+ 'nice_name': 'Solr SQL',
|
|
|
'dialect': 'solr',
|
|
|
'interface': 'solr',
|
|
|
'settings': [
|
|
|
@@ -646,7 +646,7 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "SQL Database",
|
|
|
+ 'nice_name': 'SQL Database',
|
|
|
'dialect': 'sql',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
@@ -674,14 +674,14 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "SQL Database (JDBC)",
|
|
|
+ 'nice_name': 'SQL Database (JDBC)',
|
|
|
'dialect': 'sql',
|
|
|
'interface': 'sqlalchemy',
|
|
|
'settings': [
|
|
|
{'name': 'url', 'value': 'jdbc:db2://localhost:50000/SQOOP'},
|
|
|
{'name': 'driver', 'value': 'com.ibm.db2.jcc.DB2Driver'},
|
|
|
{'name': 'user', 'value': 'hue'},
|
|
|
- {'name': 'password', 'value': "hue"},
|
|
|
+ {'name': 'password', 'value': 'hue'},
|
|
|
{'name': 'has_ssh', 'value': False},
|
|
|
{'name': 'ssh_server_host', 'value': '127.0.0.1'},
|
|
|
],
|
|
|
@@ -705,26 +705,26 @@ CONNECTOR_TYPES = [
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- {'nice_name': "PySpark", 'dialect': 'pyspark', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "Spark", 'dialect': 'spark', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "Pig", 'dialect': 'pig', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "Java", 'dialect': 'java', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'PySpark', 'dialect': 'pyspark', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Spark', 'dialect': 'spark', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Pig', 'dialect': 'pig', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Java', 'dialect': 'java', 'settings': [], 'category': 'editor', 'description': '', 'properties': {}},
|
|
|
|
|
|
- {'nice_name': "HDFS", 'dialect': 'hdfs', 'interface': 'rest',
|
|
|
+ {'nice_name': 'HDFS', 'dialect': 'hdfs', 'interface': 'rest',
|
|
|
'settings': [
|
|
|
{'name': 'server_url', 'value': 'http://localhost:9870/webhdfs/v1'},
|
|
|
{'name': 'default_fs', 'value': 'fs_defaultfs=hdfs://localhost:8020'}
|
|
|
],
|
|
|
'category': 'browsers', 'description': '', 'properties': {}
|
|
|
},
|
|
|
- {'nice_name': "YARN", 'dialect': 'yarn', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "S3", 'dialect': 's3', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "ADLS", 'dialect': 'adls-v1', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'YARN', 'dialect': 'yarn', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'S3', 'dialect': 's3', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'ADLS', 'dialect': 'adls-v1', 'settings': [], 'category': 'browsers', 'description': '', 'properties': {}},
|
|
|
# HBase
|
|
|
# Solr
|
|
|
|
|
|
{
|
|
|
- 'nice_name': "Hive Metastore",
|
|
|
+ 'nice_name': 'Hive Metastore',
|
|
|
'dialect': 'hms',
|
|
|
'interface': 'hiveserver2',
|
|
|
'settings': [{'name': 'server_host', 'value': ''}, {'name': 'server_port', 'value': ''},],
|
|
|
@@ -733,19 +733,19 @@ CONNECTOR_TYPES = [
|
|
|
'properties': {}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Atlas", 'dialect': 'atlas', 'interface': 'rest', 'settings': [], 'category': 'catalogs', 'description': '',
|
|
|
+ 'nice_name': 'Atlas', 'dialect': 'atlas', 'interface': 'rest', 'settings': [], 'category': 'catalogs', 'description': '',
|
|
|
'properties': {}
|
|
|
},
|
|
|
{
|
|
|
- 'nice_name': "Navigator", 'dialect': 'navigator', 'interface': 'rest', 'settings': [], 'category': 'catalogs',
|
|
|
+ 'nice_name': 'Navigator', 'dialect': 'navigator', 'interface': 'rest', 'settings': [], 'category': 'catalogs',
|
|
|
'description': '',
|
|
|
'properties': {}
|
|
|
},
|
|
|
|
|
|
- {'nice_name': "Optimizer", 'dialect': 'optimizer', 'settings': [], 'category': 'optimizers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Optimizer', 'dialect': 'optimizer', 'settings': [], 'category': 'optimizers', 'description': '', 'properties': {}},
|
|
|
|
|
|
- {'nice_name': "Oozie", 'dialect': 'oozie', 'settings': [], 'category': 'schedulers', 'description': '', 'properties': {}},
|
|
|
- {'nice_name': "Celery", 'dialect': 'celery', 'settings': [], 'category': 'schedulers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Oozie', 'dialect': 'oozie', 'settings': [], 'category': 'schedulers', 'description': '', 'properties': {}},
|
|
|
+ {'nice_name': 'Celery', 'dialect': 'celery', 'settings': [], 'category': 'schedulers', 'description': '', 'properties': {}},
|
|
|
]
|
|
|
|
|
|
CONNECTOR_TYPES = [connector for connector in CONNECTOR_TYPES if connector['dialect'] not in CONNECTORS_BLACKLIST.get()]
|
|
|
@@ -755,12 +755,12 @@ if CONNECTORS_WHITELIST.get():
|
|
|
|
|
|
|
|
|
CATEGORIES = [
|
|
|
- {"name": "Editor", 'type': 'editor', 'description': ''},
|
|
|
- {"name": "Browsers", 'type': 'browsers', 'description': ''},
|
|
|
- {"name": "Catalogs", 'type': 'catalogs', 'description': ''},
|
|
|
- {"name": "Optimizers", 'type': 'optimizers', 'description': ''},
|
|
|
- {"name": "Schedulers", 'type': 'schedulers', 'description': ''},
|
|
|
- {"name": "Plugins", 'type': 'plugins', 'description': ''},
|
|
|
+ {"name": 'Editor', 'type': 'editor', 'description': ''},
|
|
|
+ {"name": 'Browsers', 'type': 'browsers', 'description': ''},
|
|
|
+ {"name": 'Catalogs', 'type': 'catalogs', 'description': ''},
|
|
|
+ {"name": 'Optimizers', 'type': 'optimizers', 'description': ''},
|
|
|
+ {"name": 'Schedulers', 'type': 'schedulers', 'description': ''},
|
|
|
+ {"name": 'Plugins', 'type': 'plugins', 'description': ''},
|
|
|
]
|
|
|
|
|
|
|