Data Source
Model​
- Typescript
- Python
watchmen-web-client/src/services/data/tuples/data-source-types.ts
export enum DataSourceType {
MYSQL = 'mysql',
ORACLE = 'oracle',
MONGODB = 'mongodb'
}
export interface DataSourceParam {
name: string;
value: string;
}
export type DataSourceId = string;
export interface DataSource extends Tuple {
dataSourceId: DataSourceId;
dataSourceCode: string;
dataSourceType: DataSourceType;
host: string;
port: string;
name: string;
username: string;
password: string;
url: string;
params: Array<DataSourceParam>;
tenantId?: TenantId;
}
(under construction)