feat(jdbc): add managed Apache Phoenix profile
This commit is contained in:
1 parent
c835deb3f9
commit
69f4450aee
38 files changed
+1651
-77
No files matched your search
@@ -19,4 +19,15 @@ describe("DatabaseIcon", () => {
|
||||
expect(container.querySelector("img")?.getAttribute("src")).toBe("/icons/database/oceanbase.svg");
|
||||
app.unmount();
|
||||
});
|
||||
|
||||
it("uses the Apache Phoenix asset for the Phoenix JDBC profile", async () => {
|
||||
const container = document.createElement("div");
|
||||
document.body.appendChild(container);
|
||||
const app = createApp(DatabaseIcon, { dbType: "phoenix" });
|
||||
app.mount(container);
|
||||
await nextTick();
|
||||
|
||||
expect(container.querySelector("img")?.getAttribute("src")).toBe("/icons/database/phoenix.svg");
|
||||
app.unmount();
|
||||
});
|
||||
});
|
||||
@@ -55,6 +55,7 @@ const assetIcons: Record<string, string> = {
|
||||
prestosql: "presto",
|
||||
hive: "hive",
|
||||
hbase: "hbase",
|
||||
phoenix: "phoenix",
|
||||
spark: "spark-logo.png",
|
||||
apache_kylin: "apache_kylin",
|
||||
sundb: "sundb",
|
||||
|
||||
Reference in new issue
Block a user