mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
Added Tableau and Redash on UI (#478)
This commit is contained in:
parent
ba9eaceb5e
commit
36c3e22336
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
@ -28,10 +28,12 @@ import postgres from '../assets/img/service-icon-post.png';
|
|||||||
import presto from '../assets/img/service-icon-presto.png';
|
import presto from '../assets/img/service-icon-presto.png';
|
||||||
import pulsar from '../assets/img/service-icon-pulsar.png';
|
import pulsar from '../assets/img/service-icon-pulsar.png';
|
||||||
import query from '../assets/img/service-icon-query.png';
|
import query from '../assets/img/service-icon-query.png';
|
||||||
|
import redash from '../assets/img/service-icon-redash.png';
|
||||||
import redshift from '../assets/img/service-icon-redshift.png';
|
import redshift from '../assets/img/service-icon-redshift.png';
|
||||||
import snowflakes from '../assets/img/service-icon-snowflakes.png';
|
import snowflakes from '../assets/img/service-icon-snowflakes.png';
|
||||||
import mysql from '../assets/img/service-icon-sql.png';
|
import mysql from '../assets/img/service-icon-sql.png';
|
||||||
import superset from '../assets/img/service-icon-superset.png';
|
import superset from '../assets/img/service-icon-superset.png';
|
||||||
|
import tableau from '../assets/img/service-icon-tableau.png';
|
||||||
import plus from '../assets/svg/plus.svg';
|
import plus from '../assets/svg/plus.svg';
|
||||||
import { ServiceCategory } from '../enums/service.enum';
|
import { ServiceCategory } from '../enums/service.enum';
|
||||||
|
|
||||||
@ -49,6 +51,8 @@ export const KAFKA = kafka;
|
|||||||
export const PULSAR = pulsar;
|
export const PULSAR = pulsar;
|
||||||
export const SUPERSET = superset;
|
export const SUPERSET = superset;
|
||||||
export const LOOKER = looker;
|
export const LOOKER = looker;
|
||||||
|
export const TABLEAU = tableau;
|
||||||
|
export const REDASH = redash;
|
||||||
export const SERVICE_DEFAULT = serviceDefault;
|
export const SERVICE_DEFAULT = serviceDefault;
|
||||||
|
|
||||||
export const PLUS = plus;
|
export const PLUS = plus;
|
||||||
@ -68,7 +72,7 @@ export const serviceTypes: Record<ServiceTypes, Array<string>> = {
|
|||||||
'Presto',
|
'Presto',
|
||||||
],
|
],
|
||||||
messagingServices: ['Kafka', 'Pulsar'],
|
messagingServices: ['Kafka', 'Pulsar'],
|
||||||
dashboardServices: ['Superset', 'Looker'],
|
dashboardServices: ['Superset', 'Looker', 'Tableau', 'Redash'],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const arrServiceTypes: Array<ServiceTypes> = [
|
export const arrServiceTypes: Array<ServiceTypes> = [
|
||||||
|
@ -42,4 +42,6 @@ export enum MessagingServiceType {
|
|||||||
export enum DashboardServiceType {
|
export enum DashboardServiceType {
|
||||||
SUPERSET = 'Superset',
|
SUPERSET = 'Superset',
|
||||||
LOOKER = 'Looker',
|
LOOKER = 'Looker',
|
||||||
|
TABLEAU = 'Tableau',
|
||||||
|
REDASH = 'Redash',
|
||||||
}
|
}
|
||||||
|
@ -14,11 +14,13 @@ import {
|
|||||||
POSTGRES,
|
POSTGRES,
|
||||||
PRESTO,
|
PRESTO,
|
||||||
PULSAR,
|
PULSAR,
|
||||||
|
REDASH,
|
||||||
REDSHIFT,
|
REDSHIFT,
|
||||||
serviceTypes,
|
serviceTypes,
|
||||||
SERVICE_DEFAULT,
|
SERVICE_DEFAULT,
|
||||||
SNOWFLAKE,
|
SNOWFLAKE,
|
||||||
SUPERSET,
|
SUPERSET,
|
||||||
|
TABLEAU,
|
||||||
} from '../constants/services.const';
|
} from '../constants/services.const';
|
||||||
import {
|
import {
|
||||||
DashboardServiceType,
|
DashboardServiceType,
|
||||||
@ -71,6 +73,12 @@ export const serviceTypeLogo = (type: string) => {
|
|||||||
case DashboardServiceType.LOOKER:
|
case DashboardServiceType.LOOKER:
|
||||||
return LOOKER;
|
return LOOKER;
|
||||||
|
|
||||||
|
case DashboardServiceType.TABLEAU:
|
||||||
|
return TABLEAU;
|
||||||
|
|
||||||
|
case DashboardServiceType.REDASH:
|
||||||
|
return REDASH;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return SERVICE_DEFAULT;
|
return SERVICE_DEFAULT;
|
||||||
}
|
}
|
||||||
@ -197,6 +205,8 @@ export const getEntityCountByService = (buckets: Array<Bucket>) => {
|
|||||||
break;
|
break;
|
||||||
case DashboardServiceType.SUPERSET:
|
case DashboardServiceType.SUPERSET:
|
||||||
case DashboardServiceType.LOOKER:
|
case DashboardServiceType.LOOKER:
|
||||||
|
case DashboardServiceType.TABLEAU:
|
||||||
|
case DashboardServiceType.REDASH:
|
||||||
entityCounts.dashboardCount += bucket.doc_count;
|
entityCounts.dashboardCount += bucket.doc_count;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user