|
@@ -21,7 +21,7 @@
|
|
|
from desktop.auth.backend import is_admin, is_hue_admin
|
|
from desktop.auth.backend import is_admin, is_hue_admin
|
|
|
from desktop.conf import APP_SWITCHER_ALTUS_BASE_URL, APP_SWITCHER_MOW_BASE_URL, CUSTOM_DASHBOARD_URL, \
|
|
from desktop.conf import APP_SWITCHER_ALTUS_BASE_URL, APP_SWITCHER_MOW_BASE_URL, CUSTOM_DASHBOARD_URL, \
|
|
|
DISPLAY_APP_SWITCHER, IS_K8S_ONLY, IS_MULTICLUSTER_ONLY, USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, \
|
|
DISPLAY_APP_SWITCHER, IS_K8S_ONLY, IS_MULTICLUSTER_ONLY, USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, \
|
|
|
- VCS, ENABLE_GIST, ENABLE_LINK_SHARING, has_channels
|
|
|
|
|
|
|
+ VCS, ENABLE_GIST, ENABLE_LINK_SHARING, has_channels, has_connectors
|
|
|
from desktop.models import hue_version, _get_apps, get_cluster_config
|
|
from desktop.models import hue_version, _get_apps, get_cluster_config
|
|
|
|
|
|
|
|
from beeswax.conf import DOWNLOAD_BYTES_LIMIT, DOWNLOAD_ROW_LIMIT, LIST_PARTITIONS_LIMIT, CLOSE_SESSIONS
|
|
from beeswax.conf import DOWNLOAD_BYTES_LIMIT, DOWNLOAD_ROW_LIMIT, LIST_PARTITIONS_LIMIT, CLOSE_SESSIONS
|
|
@@ -112,7 +112,7 @@
|
|
|
window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
|
|
window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
|
|
|
|
|
|
|
|
window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
|
|
window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
|
|
|
- window.HAS_LINK_SHARING = '${ ENABLE_LINK_SHARING.get() }' === 'True';
|
|
|
|
|
|
|
+ window.HAS_CONNECTORS = '${ has_connectors() }' === 'True';
|
|
|
|
|
|
|
|
## In the past was has_workload_analytics()
|
|
## In the past was has_workload_analytics()
|
|
|
window.HAS_WORKLOAD_ANALYTICS = '${ ENABLE_QUERY_ANALYSIS.get() }' === 'True';
|
|
window.HAS_WORKLOAD_ANALYTICS = '${ ENABLE_QUERY_ANALYSIS.get() }' === 'True';
|