mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-27 15:38:43 +00:00
fix(ui): connection form missing for new connectors (#9084)
This commit is contained in:
parent
76773e69de
commit
ee21654342
@ -23,6 +23,7 @@ import lookerConnection from '../jsons/connectionSchemas/connections/dashboard/l
|
||||
import metabaseConnection from '../jsons/connectionSchemas/connections/dashboard/metabaseConnection.json';
|
||||
import modeConnection from '../jsons/connectionSchemas/connections/dashboard/modeConnection.json';
|
||||
import powerBIConnection from '../jsons/connectionSchemas/connections/dashboard/powerBIConnection.json';
|
||||
import quicksightConnection from '../jsons/connectionSchemas/connections/dashboard/quickSightConnection.json';
|
||||
import redashConnection from '../jsons/connectionSchemas/connections/dashboard/redashConnection.json';
|
||||
import supersetConnection from '../jsons/connectionSchemas/connections/dashboard/supersetConnection.json';
|
||||
import tableauConnection from '../jsons/connectionSchemas/connections/dashboard/tableauConnection.json';
|
||||
@ -82,6 +83,12 @@ export const getDashboardConfig = (type: DashboardServiceType) => {
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case DashboardServiceType.QuickSight: {
|
||||
schema = quicksightConnection;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return cloneDeep({ schema, uiSchema });
|
||||
|
||||
@ -19,6 +19,7 @@ import {
|
||||
} from '../generated/entity/services/messagingService';
|
||||
import customMessagingConnection from '../jsons/connectionSchemas/connections/messaging/customMessagingConnection.json';
|
||||
import kafkaConnection from '../jsons/connectionSchemas/connections/messaging/kafkaConnection.json';
|
||||
import kinesisConnection from '../jsons/connectionSchemas/connections/messaging/kinesisConnection.json';
|
||||
import redpandaConnection from '../jsons/connectionSchemas/connections/messaging/redpandaConnection.json';
|
||||
|
||||
export const getBrokers = (config: MessagingConnection['config']) => {
|
||||
@ -52,6 +53,11 @@ export const getMessagingConfig = (type: MessagingServiceType) => {
|
||||
|
||||
break;
|
||||
|
||||
case MessagingServiceType.Kinesis:
|
||||
schema = kinesisConnection;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@ -16,6 +16,7 @@ import { COMMON_UI_SCHEMA } from '../constants/Services.constant';
|
||||
import { MlModelServiceType } from '../generated/entity/services/mlmodelService';
|
||||
import customMlModelConnection from '../jsons/connectionSchemas/connections/mlmodel/customMlModelConnection.json';
|
||||
import mlflowConnection from '../jsons/connectionSchemas/connections/mlmodel/mlflowConnection.json';
|
||||
import segamakerConnection from '../jsons/connectionSchemas/connections/mlmodel/sageMakerConnection.json';
|
||||
import sklearnConnection from '../jsons/connectionSchemas/connections/mlmodel/sklearnConnection.json';
|
||||
|
||||
export const getMlmodelConfig = (type: MlModelServiceType) => {
|
||||
@ -35,6 +36,11 @@ export const getMlmodelConfig = (type: MlModelServiceType) => {
|
||||
case MlModelServiceType.CustomMlModel: {
|
||||
schema = customMlModelConnection;
|
||||
|
||||
break;
|
||||
}
|
||||
case MlModelServiceType.SageMaker: {
|
||||
schema = segamakerConnection;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user