feat: add XuguDB agent support
This commit is contained in:
1 parent
6ec8115984
commit
81e50cadb5
22 files changed
+265
-194
No files matched your search
@@ -190,6 +190,7 @@ pub enum DatabaseType {
|
||||
Kylin,
|
||||
Sundb,
|
||||
Tdengine,
|
||||
Xugu,
|
||||
#[serde(rename = "iris")]
|
||||
Iris,
|
||||
Jdbc,
|
||||
@@ -377,6 +378,7 @@ impl ConnectionConfig {
|
||||
DatabaseType::Kylin => format!("kylin://{host}:{port}{db_part}"),
|
||||
DatabaseType::Sundb => format!("sundb://{host}:{port}{db_part}"),
|
||||
DatabaseType::Tdengine => format!("tdengine://{host}:{port}{db_part}"),
|
||||
DatabaseType::Xugu => format!("xugu://{host}:{port}{db_part}"),
|
||||
DatabaseType::Iris => format!("iris://{host}:{port}{db_part}"),
|
||||
DatabaseType::Jdbc => "jdbc:<redacted>".to_string(),
|
||||
}
|
||||
@@ -538,6 +540,9 @@ impl ConnectionConfig {
|
||||
DatabaseType::Tdengine => {
|
||||
format!("tdengine://{}:{}@{host}:{port}{db_part}", username, password)
|
||||
}
|
||||
DatabaseType::Xugu => {
|
||||
format!("xugu://{}:{}@{host}:{port}{db_part}", username, password)
|
||||
}
|
||||
DatabaseType::Iris => {
|
||||
format!("iris://{}:{}@{host}:{port}{db_part}", username, password)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user