fix(driver-store): show IRIS agent driver
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user