mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-19 06:49:08 +00:00
34 lines
980 B
TypeScript
34 lines
980 B
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
import { HTTPInputValues } from "./HTTPInputValues.dto";
|
|
import { JDBCInputvalues } from "./JDBCInputValues.dto";
|
|
import { S3InputValues } from "./s3InputValues.dto";
|
|
import { SalesforceInputValuesDTO } from "./salesforceInputValues.dto";
|
|
|
|
|
|
export class testConnectionDTO{
|
|
|
|
@ApiProperty({
|
|
description:"Input Plugin Name",
|
|
example:"mysql"
|
|
})
|
|
plugin:string;
|
|
|
|
|
|
@ApiProperty({
|
|
description:"Plugin name",
|
|
example:{
|
|
plugin: "mysql",
|
|
values: {
|
|
jdbc_user: "test",
|
|
jdbc_password: "test1234",
|
|
database: "users",
|
|
endpoint: "dadosfera.test123.us-east-1.rds.amazonaws.com",
|
|
schema: "user",
|
|
port: "5432",
|
|
engine: "mysql"
|
|
}
|
|
}
|
|
})
|
|
|
|
values:HTTPInputValues|SalesforceInputValuesDTO|S3InputValues|JDBCInputvalues
|
|
} |