fix(driver-store): show IRIS agent driver

This commit is contained in:
t8y2
2026-06-01 12:16:41 +08:00
parent 44a8471f05
commit f8501bcaf1
3 changed files with 13 additions and 2 deletions
@@ -461,6 +461,17 @@
"skipTcpProbe": true,
"defaultPort": 5138
},
{
"dbType": "iris",
"label": "InterSystems IRIS",
"runtimeMode": "agent",
"mcpMode": "bridge",
"agentKey": "iris",
"singleConnectionPool": true,
"metadataConnectionScoped": false,
"skipTcpProbe": true,
"defaultPort": 1972
},
{
"dbType": "jdbc",
"label": "JDBC",
+1 -1
View File
@@ -225,7 +225,7 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
db_type: DatabaseType::Iris,
key: "iris",
label: "InterSystems IRIS",
store_visible: false,
store_visible: true,
profiles: &[],
},
];
@@ -203,7 +203,7 @@ fn catalog_marks_runtime_only_agent_entries_explicitly() {
let runtime_only: Vec<&str> =
agent_catalog::entries().iter().filter(|entry| !entry.store_visible).map(|entry| entry.key).collect();
assert_eq!(runtime_only, vec!["iris"]);
assert!(runtime_only.is_empty());
assert!(is_agent_type(&DatabaseType::Iris));
assert_eq!(agent_key(&DatabaseType::Iris, None), Some("iris"));
}