feat(argo): add argodb connection type with routine browsing
This commit is contained in:
1 parent
5eb071bc22
commit
2f71a1a8aa
34 files changed
+492
-48
No files matched your search
@@ -2052,6 +2052,10 @@ impl AgentDriverClient {
|
||||
}
|
||||
if let Some(object_types) = object_types {
|
||||
params["object_types"] = serde_json::json!(object_types);
|
||||
// Agent drivers (hive-go, oracle-go, etc.) read the object-type
|
||||
// filter from a camelCase field; keep both spellings so existing
|
||||
// agents don't need a coordinated rollout.
|
||||
params["objectTypes"] = serde_json::json!(object_types);
|
||||
}
|
||||
self.call_method_with_timeout(AgentMethod::ListTables, params, timeout_duration).await
|
||||
}
|
||||
@@ -2087,6 +2091,7 @@ impl AgentDriverClient {
|
||||
}
|
||||
if let Some(object_types) = object_types {
|
||||
params["object_types"] = serde_json::json!(object_types);
|
||||
params["objectTypes"] = serde_json::json!(object_types);
|
||||
}
|
||||
self.call_method_with_timeout(AgentMethod::ListObjects, params, timeout_duration).await
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user