mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 00:17:44 +00:00
fix(agents): recognize native Kingbase module
This commit is contained in:
@@ -14,6 +14,7 @@ DEFAULT_AGENT_JRE_KEY = "21"
|
||||
NON_JDBC_AGENT_MODULES = {"mongodb", "etcd", "zookeeper", "kafka", "rocketmq", "rabbitmq"}
|
||||
NATIVE_ONLY_AGENT_MODULES = {
|
||||
"oracle": "drivers/oracle-go",
|
||||
"kingbase": "drivers/kingbase-go",
|
||||
"xugu": "drivers/xugu",
|
||||
}
|
||||
JDBC_ARCHITECTURE_ALLOWLIST = {
|
||||
|
||||
@@ -136,9 +136,10 @@ class ValidateAgentsTest(unittest.TestCase):
|
||||
"include(*(infrastructureModules + driverModules))\n",
|
||||
encoding="utf-8",
|
||||
)
|
||||
(root / "drivers/oracle-go").mkdir(parents=True)
|
||||
for driver in ("oracle-go", "kingbase-go", "xugu"):
|
||||
(root / "drivers" / driver).mkdir(parents=True)
|
||||
(root / "versions.json").write_text(
|
||||
json.dumps({"h2": "0.1.0", "oracle": "0.1.0"}),
|
||||
json.dumps({"h2": "0.1.0", "oracle": "0.1.0", "kingbase": "0.1.0", "xugu": "0.1.0"}),
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user